google-code-export / tatami

Automatically exported from code.google.com/p/tatami
1 stars 1 forks source link

[ERROR] Uncaught exception escaped com.google.gwt.core.client.JavaScriptException: (TypeError): 'dojo' is undefined #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Am trying to use DoJo in my GWT application but am unable to initialize 
the dojo.js file

below is the html file am using:
<html>
    <head>

        <!--                                           -->
        <!-- Any title is fine                         -->
        <!--                                           -->
        <title>Wrapper HTML for PaymentSearch</title>

        <!--                                           -->
        <!-- The module reference below is the link    -->
        <!-- between html and your Web Toolkit module  -->  

        <!--                                           -->
        <meta name='gwt:module' 
content='com.citi.payment.PaymentSearch'/>

        <!--                                           -->
        <!-- Link CSS file                             -->
        <!--                                           -->
        <link type="text/css" rel='stylesheet' 
href='PaymentSearch.css'/>
        <!-- Begin ExtJS library files -->
        <link rel="stylesheet" type="text/css" 
href="js/ext/resources/css/ext-all.css"/>
        <script type="text/javascript" 
src="js/ext/adapter/ext/ext-base.js"></script>
        <script type="text/javascript" src="js/ext/ext-
all.js"></script>
        <script type="text/javascript" src="dojo-release-1.0.0-
src/dojo/dojo.js"></script>
        <!-- End ExtJS library files -->

        <style type="text/css">
        @import "dojo-release-1.0.0-src/dijit/themes/tundra/tundra.css";
        @import "dojo-release-1.0.0-src/dojo/resources/dojo.css"
        </style>

    </head>

    <!--                                           -->
    <!-- The body can have arbitrary html, or      -->
    <!-- we leave the body empty because we want   -->
    <!-- to create a completely dynamic ui         -->
    <!--                                           -->
    <body>

        <!--                                            -->
        <!-- This script is required bootstrap stuff.   -->
        <!-- You can put it in the HEAD, but startup    -->
        <!-- is slightly faster if you include it here. -->
        <!--                                            -->
        <script language="javascript" 
src="com.citi.payment.PaymentSearch.nocache.js"></script>
        <script language="javascript" src="dojo-release-1.0.0-
src/dojo/dojo.js"></script>

        <!-- OPTIONAL: include this if you want history 
support -->
        <iframe id="__gwt_historyFrame" 
style="width:0;height:0;border:0"></iframe>

    </body>
</html>

Original issue reported on code.google.com by dhinakar...@gmail.com on 16 Apr 2009 at 5:32