Thursday, December 19, 2013

Re: Multi Modules

If i don't inherit the module however the class doesn't run!! 

Then you have missed something. Maybe you have a typo somewhere (check if your <script> tag in your HTML pages are correct). In general its not problem to have 2 HTML pages each initializing a different, single GWT EntryPoint. 

As soon as you inherit GWT modules that each have entry points then all entry points will be started by GWT in an undefined order. So make sure your entry point modules do not inherit from each other. If you want to share code, then create a new GWT module without an entry point and inherit it everywhere you need it.

Feel free to post your *.gwt.xml and *.html files if you think they are correct but it is still not working.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment