Perhaps,

but

1. It isn't until (the javascript) run-time that id="panelSlot" is
resolved.

2. The compiler may not necessarily not know which html page is
calling this js code, or if its needs to be a static html page that
will call this js code.

3. In my opinion, the error is in the html page, not the js code...

On Jan 22, 4:21 am, Russ <r...@epcinternet.com> wrote:
> Im my HTML file I have:
> <td id="PanelSlot"></td>
>
> In my project .java file I have:
> RootPanel.get("panelSlot").add(hp);
>
> (Note the difference: The 'P' in "PanelSlot is upper-cae in the HTML
> file, and lower-case in the .java file)
>
> GWT 1.7.1 comiled this with no errors, and the deployment worked in
> IE, but not in Firefox. Firebug complained that it didn't know what
> lower-case "panelSlot" was (so it resolved to null). Therefore,
> Firefox would not run the app (although IE would).
>
> Shouldn't the compiler have caught this?
>
> -Russ

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