Hello,
I have this small example. I am on the user page. In the constructor the
UserInfo object is set. If something happens I want to redirect back to the
login page, which I do like in the example below. Is there a possibility to
display a message back on the login page like "An error eccurred bla bla
bla. Please log in again." ?
Thanks in advance.
public UserPanel() {
setUserInfo();
if (userInfo == null) {
Window.Location.replace(GWT.getHostPageBaseURL());
}
container = new MaterialContainer();
container.setFontSize("1em");
Widget mainMenu = createMenu();
initWidget(mainMenu);
}
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.