Hi - We have a GWT app that works with Google Maps using the gwt-maps 'official' API.
This app is running in WebLogic Portal. We have a requirement to run several copies of the map app, each as a portlet running on the same WLP page. WLP gives each portlet instance on the page a unique identifier. The trick is how to get that id into the app, so that you can keep the portlet instances separated in terms up updating the map, and doing the normal GWT stuff. Setting a .js var is unreliable, since you can't really control when a given piece of .js will run...it might run twice, setting the portlet ID to the 2nd portlet ID before GWT even gets fired up enough to see it. Likewise, anything I do at the .jsp level still has to get translated into JavaScript before GWT can see it. My thought was to add a param to the end of the GWT .js include itself, e.g. nocache.html?id=0890983 . I can also tag the <div> that GWT takes over with that ID via the .jsp. But I've not discovered a good way to read that ID off of the include URL. Any thoughts on how best to accomplish this? Thanks, Tim --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
