use of org.apache.openmeetings.web.util.NonClosableMessageDialog in project openmeetings by apache.
the class RegisterDialog method onInitialize.
@Override
protected void onInitialize() {
getTitle().setObject(getString("113"));
cancelBtn = new DialogButton("cancel", getString("lbl.cancel"));
registerBtn = new DialogButton("register", getString("121")) {
private static final long serialVersionUID = 1L;
@Override
public boolean isIndicating() {
return true;
}
};
confirmRegistration = new NonClosableMessageDialog("confirmRegistration", getString("235"), getString("warn.notverified")) {
private static final long serialVersionUID = 1L;
@Override
public void onClose(IPartialPageRequestHandler handler, DialogButton button) {
s.open(handler);
}
};
add(confirmRegistration);
reset(null);
super.onInitialize();
}
use of org.apache.openmeetings.web.util.NonClosableMessageDialog in project openmeetings by apache.
the class ResetPasswordDialog method onInitialize.
@Override
protected void onInitialize() {
getTitle().setObject(getString("325"));
resetBtn = new DialogButton("reset", getString("327"));
add(form);
confirmReset = new NonClosableMessageDialog("confirmReset", getString("325"), getString("332")) {
private static final long serialVersionUID = 1L;
@Override
public void onClose(IPartialPageRequestHandler handler, DialogButton button) {
setResponsePage(Application.get().getSignInPageClass());
}
};
add(confirmReset);
super.onInitialize();
}
use of org.apache.openmeetings.web.util.NonClosableMessageDialog in project openmeetings by apache.
the class ForgetPasswordDialog method onInitialize.
@Override
protected void onInitialize() {
setTitle(Model.of(getString("312")));
send = new DialogButton("send", getString("317"));
cancel = new DialogButton("cancel", getString("lbl.cancel"));
add(form);
confirmDialog = new NonClosableMessageDialog("confirmDialog", getString("312"), getString("321")) {
private static final long serialVersionUID = 1L;
@Override
public void onClose(IPartialPageRequestHandler handler, DialogButton button) {
s.open(handler);
}
};
add(confirmDialog);
super.onInitialize();
}
Aggregations