Sri already gave you good suggestions. Note that you can avoid the RPC calls if you include the permission data inside your HTML host page.
I did this in a previous application by adding a javascript variable inside the host page, and accessing it through the dictionary class. More information here: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/i18n/client/Dictionary.html Another solution, if the permission data is complex, would be to serialize this data, put it in your host page, and use it like a RPC payload. This is described here: http://www.techhui.com/profiles/blogs/simpler-and-speedier-gwt-with I discussed it in more details in this thread: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c932eec126195a8f Regards, -Etienne --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
