If the entrypoint module is reachable thro /MakeAGoodGuess/
Employer.jsp,
then the url you could use is /MakeAGoodGuess/Employer.jsp/pg3.
Presuming
- you know how to parse the subpath of request url from the request
object of the jsp page,
- you know how to use java code in a jsp,
- you are familiar with json
construct a javascript tag enclosure and define a var as dictated by
javadoc of gwt Dictionary class. That var would be a json structure
contain all the info you wish to pass to the entrypoint module. But if
you won't need to pass a whole load of params, you don't need a json
structure but just
var pg = 3;
At the entry point onModuleLoad, use Dictionary to extract that var.
Then just use TabLayoutPanel selectTab method to select tab 3.
If you have a whole load of params to pass from jsp used to load the
module to the entrypoint module, you might as well define a var
assigned to a json structure.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment