Search in sources :

Example 26 with DialogButton

use of com.googlecode.wicket.jquery.ui.widget.dialog.DialogButton in project openmeetings by apache.

the class VoteDialog method onInitialize.

@Override
protected void onInitialize() {
    getTitle().setObject(getString("18"));
    add(form = new PollAnswerForm("form", new CompoundPropertyModel<>(new RoomPollAnswer())));
    vote = new DialogButton("vote", getString("32"));
    cancel = new DialogButton("cancel", getString("lbl.cancel"));
    super.onInitialize();
}
Also used : DialogButton(com.googlecode.wicket.jquery.ui.widget.dialog.DialogButton) RoomPollAnswer(org.apache.openmeetings.db.entity.room.RoomPollAnswer)

Aggregations

DialogButton (com.googlecode.wicket.jquery.ui.widget.dialog.DialogButton)26 IPartialPageRequestHandler (org.apache.wicket.core.request.handler.IPartialPageRequestHandler)10 MessageDialog (com.googlecode.wicket.jquery.ui.widget.dialog.MessageDialog)6 AjaxRequestTarget (org.apache.wicket.ajax.AjaxRequestTarget)5 NonClosableMessageDialog (org.apache.openmeetings.web.util.NonClosableMessageDialog)3 JQueryBehavior (com.googlecode.wicket.jquery.core.JQueryBehavior)2 Room (org.apache.openmeetings.db.entity.room.Room)2 PrivateMessage (org.apache.openmeetings.db.entity.user.PrivateMessage)2 Component (org.apache.wicket.Component)2 WebMarkupContainer (org.apache.wicket.markup.html.WebMarkupContainer)2 EmptyPanel (org.apache.wicket.markup.html.panel.EmptyPanel)2 JSONObject (com.github.openjson.JSONObject)1 Droppable (com.googlecode.wicket.jquery.ui.interaction.droppable.Droppable)1 WysiwygEditor (com.googlecode.wicket.jquery.ui.plugins.wysiwyg.WysiwygEditor)1 DefaultWysiwygToolbar (com.googlecode.wicket.jquery.ui.plugins.wysiwyg.toolbar.DefaultWysiwygToolbar)1 Calendar (java.util.Calendar)1 FastDateFormat (org.apache.commons.lang3.time.FastDateFormat)1 StrongPasswordValidator (org.apache.openmeetings.core.util.StrongPasswordValidator)1 IWsClient (org.apache.openmeetings.db.entity.basic.IWsClient)1 WsClient (org.apache.openmeetings.db.entity.basic.WsClient)1