Has anybody come across this kind of error? If so can you please share what the problem was? thanks V
On Tue, Feb 15, 2011 at 12:35 PM, SVR <[email protected]> wrote: > Hi > On Debugging I found the problem occurs in > > initWidget(binder.createAndBindUi(this)); > > (I am using uibinder). The code works in firefox, however in IE I get the > following exception: > > Failed to create an instance of 'com.google.gwt.user.client.ui.Button' via > deferred binding -- exception: JavaScriptException > > java.lang.RuntimeException: Deferred binding failed for > 'com.google.gwt.user.client.ui.Button' (did you forget to inherit a required > module?) > > Here are my gwt.xml and ui.xml files: > > <module rename-to='prototype'> > <!-- Inherit the core Web Toolkit stuff. --> > <inherits name="com.google.gwt.core.Core"/> > <inherits name='com.google.gwt.user.User'/> > <inherits name="com.google.gwt.logging.Logging"/> > <inherits name="com.google.gwt.user.datepicker.DatePicker"/> > <inherits name="com.google.gwt.i18n.I18N"/> > <inherits name="com.google.gwt.i18n.CldrLocales"/> > <inherits name="com.google.gwt.user.theme.standard.StandardResources"/> > > .... > > <ui:UiBinder > xmlns:ui='urn:ui:com.google.gwt.uibinder' > xmlns:g='urn:import:com.google.gwt.user.client.ui' > xmlns:dp='urn:import:com.google.gwt.user.datepicker.client' > ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat' > ui:generateKeys="com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator" > ui:generateLocales="default"> > ...................... > <g:Button ui:field="btnBirthDate" > styleName="{style.button}" tabIndex="-1">Date</g:Button> > ...................... > ...................... > </ui:UiBinder> > > Any idea on how to resolve this IE problem? > > Thanks > > > > > > On Mon, Feb 14, 2011 at 5:39 PM, Sebastian Rothbucher < > [email protected]> wrote: > >> Hi SVR, >> >> that's indeed a challenge - if nothing else does help any more, try >> pinning down the problem by inserting debug statements (e.g. alerts) >> closely (and even more closely as you move along) around the spot >> where you fail. Maybe it helps to look into the source but most >> probably you won't see so much - probably you recognize the problem... >> >> Hope this helps a little - good luck! >> >> Sebastian Rothbucher >> >> On 14 Feb., 19:34, SVR <[email protected]> wrote: >> > Hi >> > I have my GWT module working in FF, I am trying to launch the same in IE >> and >> > get the following error: >> > In general, I would like to know how to approach/debug problems of this >> > nature in IE? >> > Thanks >> > >> > Webpage error details >> > >> > User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; >> Trident/4.0; >> > GTB6.6; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; >> .NET >> > CLR 3.5.30729) >> > Timestamp: >> > >> > Message: Object doesn't support this property or method >> > Line: 714 >> > Char: 3 >> > Code: 0 >> > URI: >> http://localhost:9080/DashboardWeb/gwt/51F5EB69C1BCD1B2A8D104D2BCD28C... >> >> -- >> 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. >> >> > -- 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.
