Search in sources :

Example 1 with NonClosableMessageDialog

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();
}
Also used : DialogButton(com.googlecode.wicket.jquery.ui.widget.dialog.DialogButton) NonClosableMessageDialog(org.apache.openmeetings.web.util.NonClosableMessageDialog) IPartialPageRequestHandler(org.apache.wicket.core.request.handler.IPartialPageRequestHandler)

Example 2 with NonClosableMessageDialog

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();
}
Also used : DialogButton(com.googlecode.wicket.jquery.ui.widget.dialog.DialogButton) NonClosableMessageDialog(org.apache.openmeetings.web.util.NonClosableMessageDialog) IPartialPageRequestHandler(org.apache.wicket.core.request.handler.IPartialPageRequestHandler)

Example 3 with NonClosableMessageDialog

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();
}
Also used : DialogButton(com.googlecode.wicket.jquery.ui.widget.dialog.DialogButton) NonClosableMessageDialog(org.apache.openmeetings.web.util.NonClosableMessageDialog) IPartialPageRequestHandler(org.apache.wicket.core.request.handler.IPartialPageRequestHandler)

Aggregations

DialogButton (com.googlecode.wicket.jquery.ui.widget.dialog.DialogButton)3 NonClosableMessageDialog (org.apache.openmeetings.web.util.NonClosableMessageDialog)3 IPartialPageRequestHandler (org.apache.wicket.core.request.handler.IPartialPageRequestHandler)3