I have already created a login system on my GWT application that works
fine, but I have a problem: when the users login I recieve a session
number and a "user" from the database with custom options as the
privileges and the preferred language and I would like to redirect the
application with the locale value in the URL. I think this shoud be
something like:
... get user from database after login....
UrlBuilder builder = Window.Location.createUrlBuilder();
builder.setPath("AgendaApp.html");
builder.setParameter("locale", user.getOptions().getLocale());
Window.Location.assign(builder.buildString());
this is the entry point for the Agenda.html and now the URL is
correctly set with the user locale and redirected to AgendaApp.html
but I have no idea how to link AgendaApp.htlm with the next EntryPoint
(I have the sessionID in the cookies, so I can get the user again on
the next module with an RPC call).
--
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.