Thursday, June 23, 2016

Re: java script file linking with gwt java file

You need to provide more info for a definitive answer, but it is likely a race condition,either in the semantics of your html or just because of the manner in which GWT loads.  You will likely want to add some sort of check that the function exists and do a deferred scheduling until the point where the function exists. You will also need to make sure that you are referencing the function correctly via JSNI using the $wnd., IE $wnd.MakeTextBoxUrduEnabled(). You could also provide a Interface wrapper for the class.

Options for checking loaded:

1. manual checks
2. Instead of adding the js via html, you can use scriptInjector which provides a callback interface.

On Thursday, June 23, 2016 at 4:43:02 AM UTC-7, Syed Shahkar Raza wrote:
Hey there,
i m working on GWT Urdu Editor application. i have managed to write javascript file to convert data in unicode. but in my entrypoint class i m unable to call the function which is being used in .js file i m attaching files . please kindly help me out.

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment