Hi all,

Since a few days I've been developing a GWT-Web application (so I'm
still pretty much a newbie). This application only (for now) runs only
client sided. After compiling and running under Firefox & Opera my
application just runs fine. When running under Internet Explorer I'm
getting an error though. I'm wondering if anyone knows the solution to
get rid of this error?

Thanks in advance.


---------------------------- Error ----------------------------
Line: 3
Char: 143
Error: 'Undefined' is null or not an object
Code: 0
----------------------------

When searching with grep -r undefined *, I get this result (check the
last line):

---------------------------- Cause ----------------------------
war/verenweb/59DC383528440B72ACE9B58545B6AA9A.cache.html:
_=DF.prototype=new b$();_.gC=eG;_.tI=0;function jG(){return function
(d,g){var
h=window,e=h.onbeforeunload,f=h.onunload;h.onbeforeunload=function(a)
{var c,b;try{c=d()}finally{b=e&&e(a)}if(c!=null){return c}if(b!=null)
{return b}};h.onunload=function(a){try{g()}finally{f&&f
(a);h.onresize=null;h.onscroll=null;h.onbeforeunload=null;h.onunload=null}};h.__gwt_initWindowCloseHandler=undefined}.toString
()}
----------------------------

Which shows undefined (textual) is used only once in all my files and
appears to be autogenerated.


My main-class (Entry-Point) is specified by:
---------------------------- Entry-Point ----------------------------
@Override
        public void onModuleLoad() {
                // TODO Auto-generated method stub
                RootPanel.get("VerenWeb").add(mainPanel);

        }

DocoPanel mainPanel = new DocoPanel();
----------------------------

DocoPanel is an AbsolutePanel, which contains other AbsolutePanels,
ListBoxes, TextBoxes and Labels.
I tried using a windowCloseHandler, but this failed as it did not
update h.__gwt_initWindowCloseHandler=undefined

My XML and WebPage are specified by:
---------------------------- VerenWeb.html
----------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set     -->
<!-- the browser's rendering engine into           -->
<!-- "Quirks Mode". Replacing this declaration     -->
<!-- with a "Standards Mode" doctype is supported, -->
<!-- but may lead to some differences in layout.   -->

<html>
  <head>
    <meta http-equiv="content-type" content="text/html;
charset=UTF-8">

    <!--
-->
    <!-- Consider inlining CSS to reduce the number of requested files
-->
    <!--
-->
    <link type="text/css" rel="stylesheet" href="VerenWeb.css">
    <title>Doco Web Project</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="verenweb/
verenweb.nocache.js"></script>
  </head>

  <!--                                           -->
  <!-- The body can have arbitrary html, or      -->
  <!-- you can leave the body empty if you want  -->
  <!-- to create a completely dynamic UI.        -->
  <!--                                           -->
  <body>

    <!-- 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>

    <h1>Doco Web Project</h1>

        <div id="VerenWeb"></div>

  </body>
</html>

----------------------------

---------------------------- DocoMain.gwt.xml
----------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.6.4//
EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.6.4/distro-
source/core/src/gwt-module.dtd">
<module rename-to='verenweb'>
  <!-- Inherit the core Web Toolkit stuff.                        -->
  <inherits name='com.google.gwt.user.User'/>
  <inherits name='snikrot.standard.debug'/>
  <inherits name='snikrot.standard.core.debug'/>
  <inherits name='snikrot.standard.core.observer'/>
  <inherits name='snikrot.standard.core.stdObjectCalculations'/>
  <inherits name='snikrot.standard.gwt.stdGUI'/>
  <!-- Inherit the default GWT style sheet.  You can change       -->
  <!-- the theme of your GWT application by uncommenting          -->
  <!-- any one of the following lines.                            -->
  <inherits name='com.google.gwt.user.theme.standard.Standard'/>
  <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
  <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/>     -->

  <!-- Other module inherits                                      -->

  <!-- Specify the app entry point class.                         -->
  <entry-point class='veren.web.client.docoMain.DocoMain'/>
</module>
----------------------------

--~--~---------~--~----~------------~-------~--~----~
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-Toolkit@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