Being fairly new with GWT (1.7.0), I'm struggling with compiling many
EntryPoint objects into a single JS file and in the HTML host page
selecting precisely which EntryPoint I want to execute for that host
page. I'm under the impression that this can work, but maybe I'm
misinterpreting the various blogs and docs I've read that touch on
this topic. Just so you know, I am not restricted to switching my
rendering logic by this method; if there is a more elegant technique
(i.e. not using the path of the host page) for achieving this switch
in a single EntryPoint, I'm open to that as well.
Here is my GWT.XML configuration:
<module rename-to='one'>
<inherits name='com.google.gwt.user.User' />
<inherits name='com.extjs.gxt.ui.GXT' />
<inherits name="com.google.gwt.maps.GoogleMaps" />
<entry-point class="one.client.Entry1" />
<entry-point class="one.client.Entry2" />
</module>
I don't really know the structure of the <meta> tag in the host page
to choose between these EntryPoints.
<meta name="gwt:module" content="???">
I've seen some examples of what this should be, but I can't get them
to work. Depending upon what I'm reading they take the form of:
<meta name="gwt:module" content="one=one.client.Entry1">
or
<meta name="gwt:module" content="one.client.Entry1=one.client.Entry1">
Any suggestions? Thanks for the 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
-~----------~----~----~----~------~----~------~--~---