Also, it looks like you're loading your GWT app twice (I see two <script>
tags that pull in MyApp.nocache.js). Can you get rid of one of the
references (the one in the body) and see what happens?

On Tue, Dec 15, 2009 at 12:33 PM, Rajeev Dayal <rda...@google.com> wrote:

> Which browser are you using?
>
>
> On Tue, Dec 15, 2009 at 2:56 AM, Chris <uk.org.micros...@googlemail.com>wrote:
>
>> > Have you tried deleting the war/MyApp directory, and performing an
>> > unconditional reload of MyApp.html  (hold down SHIFT and hit reload) in
>> your
>> > browser?
>>
>> I tried this and a new war/MyApp directory structure was created, this
>> time with just the gwt directory and the files clear.cache.js,
>> hosted.html and MyApp.nocache.js.
>>
>> I also noticed that I wasn't inheriting GWTCanvas's module (I guess I
>> forgot to commit this change to the repo I checked this code out of!).
>> Once I added this back,
>> I still get the same behaviour in the browser (i.e., the static HTML
>> is displayed, but not the GWT portion), but now the Development Mode
>> pane in Eclipse gives me a warning that I'm referencing a deprecated
>> class 'com.google.gwt.client.impl.DocumentRootImpl', which comes from
>> the the jar for the GWT 1.7 version of GWTCanvas I'm using.
>>
>> > Do you mind posting the contents of your MyApp.html page?
>>
>> See below; thanks for your continued assistance.
>>
>> —Chris
>>
>>
>>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
>>
>>  <head>
>>        <!-- Use Google Chrome Frame under IE if possible. -->
>>        <meta http-equiv="X-UA-Compatible" content="chrome=1"/>
>>
>>    <meta http-equiv="content-type" content="text/html;
>> charset=UTF-8" />
>>
>>                <!-- Favicon. -->
>>                <link rel="SHORTCUT ICON" href="
>> http://www.manchester.ac.uk/
>> medialibrary/images/corporate/favicon.ico<http://www.manchester.ac.uk/medialibrary/images/corporate/favicon.ico>"
>> />
>>
>>    <!-- Our GWT styles. -->
>>    <link type="text/css" rel="stylesheet" href="MyApp.css" />
>>        <link rel="stylesheet" href="standard.css" />
>>
>>                <!-- University of Manchester styles. -->
>>                <link href="
>> http://www.manchester.ac.uk/medialibrary/css/corporate/
>> _base.css" type="text/css" rel="stylesheet" media="screen" />
>>                <style type="text/css" media="screen">@import url("http://
>> www.manchester.ac.uk/medialibrary/css/corporate/_layout.css");</style>
>>                <style type="text/css" media="screen">@import url("http://
>> www.manchester.ac.uk/medialibrary/css/corporate/_layoutleader.css
>> ");</style>
>>                <style type="text/css" media="screen">@import url("http://
>> www.manchester.ac.uk/medialibrary/css/corporate/_navigation.css
>> ");</style>
>>                <style type="text/css" media="screen">@import url("http://
>> www.manchester.ac.uk/medialibrary/css/corporate/_boxes.css");</style>
>>                <style type="text/css" media="screen">@import url("http://
>> www.manchester.ac.uk/medialibrary/css/corporate/_colourpalettes.css
>> ");</style>
>>                <style type="text/css" media="screen">@import url("http://
>> www.manchester.ac.uk/medialibrary/css/corporate/home/_colourhome.css
>> ");</style>
>>                <style type="text/css" media="screen">@import url("http://
>> www.manchester.ac.uk/medialibrary/css/corporate/home/_layouthome.css
>> ");</style>
>>                <style type="text/css" media="screen">@import url("http://
>> www.manchester.ac.uk/medialibrary/css/corporate/home/_customhome.css
>> ");</style>
>>                <style type="text/css" media="screen">@import url("http://
>> www.manchester.ac.uk/medialibrary/css/corporate/_rae.css");</style>
>>                <!--[if lt IE 7]>
>>                <style type="text/css" media="screen">@import url("http://
>> www.manchester.ac.uk/medialibrary/css/corporate/home/_customhome_ie6.css
>> ");</style>
>>                <![endif]-->
>>
>>                <!-- Places the Manchester logo on the left by the BII
>> logo. -->
>>                <style type="text/css" media="screen">body { background:
>> url('http://
>> www.mhs.manchester.ac.uk/includes/tabs/v1_2/images/logomanchesterleft.gif
>> ')
>> no-repeat 0px 66px; }</style>
>>
>>    <title>MyApp</title>
>>
>>        <!--                                           -->
>>    <!-- This script loads your compiled module.   -->
>>    <!-- If you add any GWT meta tags, they must   -->
>>    <!-- be added before this line.                -->
>>    <!--                                           -->
>>    <script type="text/javascript" language="javascript" src="MyApp/
>> MyApp.nocache.js"></script>
>>
>>  </head>
>>
>>                <body class="homedesign1">
>>
>>                <div><a name="pagetop" id="pagetop"></a></div>
>>
>>                <div id="header">
>>
>>                <div class="logo">
>>                <a href="/"><img src="
>> http://www.bii.manchester.ac.uk/images/
>> BII_logo2.jpg <http://www.bii.manchester.ac.uk/images/BII_logo2.jpg>"
>> alt="Biomedical Imaging Institute" width="170"
>> height="66" border="0" /></a>
>>                </div>
>>
>>                </div>
>>
>>                <div class="clean">&nbsp;</div>
>>
>>                <div id="middle">
>>                <div id="tabbedbar">
>>                <div class="tab">
>>                    <ul style="width: 950px;">
>>
>>                      <li id="menu-id1"><a href="MyApp.html" title="Use
>> MyApp">Use
>> MyApp</a></li>
>>                      <li id="menu-id2"><a href="GettingStarted.html"
>> title="Getting
>> Started">Getting Started</a></li>
>>                      <li id="menu-id3"><a href="RelatedWork.html"
>> title="Related
>> Work">Related Work</a></li>
>>                      <li id="menu-id4"><a href="HelpAndSupport.html"
>> title="Help
>> &amp; Support">Help &amp; Support</a></li>
>>
>>                    </ul>
>>                  </div>
>>                </div>
>>
>>                <div class="clean">&nbsp;</div>
>>
>>                <div id="page_container" style="width: 950px;">
>>                <h1>MyApp.com&mdash;</h1>
>>
>>                <!-- GWT Application container. -->
>>                <!-- <div id="MyAppApplication"></div> -->
>>
>>                <!-- GWT 2.0 Application container. -->
>>                <script type="text/javascript" language='javascript'
>> src='MyApp/
>> MyApp.nocache.js'></script>
>>
>>            <!-- OPTIONAL: include this if you want history support -->
>>            <!--<iframe src="javascript:''" id="__gwt_historyFrame"
>> tabindex='-1' style="position:absolute;width:0;height:0;border:0"></
>> iframe>-->
>>
>>                <!-- The following DIV allows us to easily dim the page for
>> PopupPanels. -->
>>                <div id="fade" class="black-overlay"></div>
>>
>>
>>                </div>
>>
>>                <div class="feedback" style="width: 950px;">
>>                <p>Imaging Sciences Research Group, Research School of
>> Cancer and
>> Imaging Sciences, Faculty of Medical and Human Sciences, The
>> University of Manchester, M13 9PL, UK.</p>
>>                <br />
>>                <p>MyApp.com was developed with the support of the <a
>> href="http://
>> www.bbsrc.ac.uk/">Biotechnology and Biological Sciences Research
>> Council</a>.</p>
>>                </div>
>>                </div>
>>
>>  </body>
>> </html>
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>>
>

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to