use of com.googlecode.wicket.jquery.ui.widget.dialog.DialogButton in project openmeetings by apache.
the class ChangePasswordDialog method onInitialize.
@Override
protected void onInitialize() {
getTitle().setObject(getString("327"));
update = new DialogButton("update", Model.of(getString("327"))) {
private static final long serialVersionUID = 1L;
@Override
public boolean isIndicating() {
return true;
}
};
cancel = new DialogButton("cancel", Model.of(getString("lbl.cancel")));
passValidator = new StrongPasswordValidator(getMinPasswdLength(cfgDao), userDao.get(getUserId()));
add(form.add(current.setLabel(Model.of(getString("current.password"))).setRequired(true), pass.setLabel(Model.of(getString("328"))).add(passValidator), pass2.setLabel(Model.of(getString("116"))), feedback.setOutputMarkupId(true)));
super.onInitialize();
}
use of com.googlecode.wicket.jquery.ui.widget.dialog.DialogButton in project openmeetings by apache.
the class PasswordDialog method onInitialize.
@Override
protected void onInitialize() {
setTitle(Model.of(getString("537")));
ok = new DialogButton("ok", getString("54"));
cancel = new DialogButton("cancel", getString("lbl.cancel"));
add(form.add(feedback, pass.setRequired(false).setLabel(Model.of(getString("110"))).setOutputMarkupPlaceholderTag(true).setOutputMarkupId(true)));
super.onInitialize();
}
use of com.googlecode.wicket.jquery.ui.widget.dialog.DialogButton in project openmeetings by apache.
the class UsersPanel method onInitialize.
@Override
protected void onInitialize() {
final MessageDialog warning = new MessageDialog("warning", getString("797"), getString("warn.nogroup"), DialogButtons.OK, DialogIcon.WARN) {
private static final long serialVersionUID = 1L;
@Override
public void onClose(IPartialPageRequestHandler handler, DialogButton button) {
// no-op
}
};
form = new UserForm("form", listContainer, userDao.getNewUserInstance(userDao.get(getUserId())), warning);
form.showNewRecord();
add(form, warning);
super.onInitialize();
}
use of com.googlecode.wicket.jquery.ui.widget.dialog.DialogButton in project openmeetings by apache.
the class NicknameDialog method onInitialize.
@Override
protected void onInitialize() {
getTitle().setObject(getString("1287"));
ok = new DialogButton("ok", getString("54"));
form.add(feedback);
form.add(new RequiredTextField<String>("firstname").setLabel(Model.of(getString("135"))).add(minimumLength(4)));
form.add(new RequiredTextField<String>("lastname").setLabel(Model.of(getString("136"))).add(minimumLength(4)));
form.add(new RequiredTextField<String>("address.email").setLabel(Model.of(getString("119"))).add(RfcCompliantEmailAddressValidator.getInstance()));
super.onInitialize();
}
use of com.googlecode.wicket.jquery.ui.widget.dialog.DialogButton in project openmeetings by apache.
the class InvitationDialog method onInitialize.
@Override
protected void onInitialize() {
getTitle().setObject(getString("213"));
generate = new DialogButton("generate", getString("1526"));
send = new DialogButton("send", getString("218"));
cancel = new DialogButton("cancel", getString("lbl.cancel"));
super.onInitialize();
}
Aggregations