I'm seeing the same problem, with the same (or very similar)
circumstances:
- events stop propagating in IE7 with "Object Required" error, not
reproducible in FF or hosted mode
- after upgrading from 1.5.3 to 1.6.4
- mine is reproducible after show()-ing a DialogBox
The javascript in question looks like (when built with DETAILED
output):
function
com_google_gwt_dom_client_Element_is__Lcom_google_gwt_core_client_JavaScriptObject_2
(o){
if (o.nodeType) {
return o.nodeType == 1;
}
return false;
}
Where the error is provoked by argument 'o' being null. This
javascript corresponds to
com.google.gwt.dom.client.Element.is(JavaScriptObject o) which is
public static, so
it's not easy tracking down who's calling it in this case.
If I edit the generated code by hand to check for null, it seems to
run OK. Anyone
have a resolution or workaround for this? I also found this thread
about the same problem,
which seems not to have been resolved either:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/d652987fd6643ba0
On Apr 10, 4:48 am, Gilles B <[email protected]> wrote:
> Hello,
>
> In my application, I close a dialog and my window freezes. I need a
> refresh to restart. It occurs 1 time to 2 ou 3 !
> Browser : IE6 or IE7 and GWT 1.6.4
> It seems to work fine with Firefox, Opera or hosted mode. I don't
> notice the problem with GWT 1.5 and my previous app. version before
> code migration (mainly listener)
>
> The dialog display fields with TextBox, Label and Listbox, pushbutton
> to cancel or validate, Horizontal and Vertical Panels to build a form.
> The problem occurs on the close function without updating or something
> strange, just calling "hide()"
>
> Error :
> function pAd(a){if(a.nodeType){return a.nodeType==1}return false}
> Char 17, Object required
>
> It look like "a" si null.
>
> When I remove the 'setEnabled(true) / setEnabled(false)' used to
> define inputable fields, in the constructor the bug disappear !!!
>
> Thanks for your help,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---