| Package | Description |
|---|---|
| com.googlecode.wicket.kendo.ui.form.button | |
| com.googlecode.wicket.kendo.ui.widget.window |
| Modifier and Type | Method and Description |
|---|---|
protected List<WindowButton> |
ConfirmAjaxButton.newWindowButtons()
Gets the
List of WindowButtonsThis can be overridden to disable to default form processing of the OK button Caution: button *names* should be OK and Cancel |
| Modifier and Type | Method and Description |
|---|---|
protected Window<?> |
ConfirmAjaxButton.newWindow(String id,
org.apache.wicket.model.IModel<String> title,
org.apache.wicket.model.IModel<String> message,
List<WindowButton> buttons)
Create the window instance
Warning: to be overridden with care! |
| Modifier and Type | Method and Description |
|---|---|
static WindowButton |
WindowButton.of(String name,
org.apache.wicket.model.IModel<String> model,
boolean formProcessing)
Helper that creates a new
WindowButton |
static WindowButton |
WindowButton.of(String name,
org.apache.wicket.model.IModel<String> model,
String icon,
boolean formProcessing)
Helper that creates a new
WindowButton |
WindowButton |
WindowButton.setDefaultFormProcessing(boolean processing)
Set the default form processing
|
| Modifier and Type | Method and Description |
|---|---|
protected List<WindowButton> |
Window.getButtons()
Gets the list of
WindowButtons This method an be overridden to provide a behavioral helper for instance |
List<WindowButton> |
WindowButtons.toList()
Gets the list of buttons
|
| Modifier and Type | Method and Description |
|---|---|
protected AjaxButton |
WindowButtonPanel.newAjaxButton(String id,
WindowButton button) |
protected abstract void |
WindowButtonPanel.onAfterSubmit(org.apache.wicket.ajax.AjaxRequestTarget target,
WindowButton button)
Triggered after the form is submitted, and the validation succeed
|
protected void |
Window.onAfterSubmit(org.apache.wicket.ajax.AjaxRequestTarget target,
WindowButton button)
Triggered after the form is submitted, and the validation succeed
Closes the dialog by default |
protected abstract void |
WindowButtonPanel.onError(org.apache.wicket.ajax.AjaxRequestTarget target,
WindowButton button)
Triggered when the form is submitted, but the validation failed
|
protected void |
FormWindow.onError(org.apache.wicket.ajax.AjaxRequestTarget target,
WindowButton button) |
protected void |
Window.onError(org.apache.wicket.ajax.AjaxRequestTarget target,
WindowButton button)
Triggered when the form is submitted, but the validation failed
|
protected abstract void |
WindowButtonPanel.onSubmit(org.apache.wicket.ajax.AjaxRequestTarget target,
WindowButton button)
Triggered when the form is submitted, and the validation succeed
|
protected void |
FormWindow.onSubmit(org.apache.wicket.ajax.AjaxRequestTarget target,
WindowButton button) |
protected void |
Window.onSubmit(org.apache.wicket.ajax.AjaxRequestTarget target,
WindowButton button)
Triggered when the form is submitted, and the validation succeed
|
| Modifier and Type | Method and Description |
|---|---|
protected WindowButtonPanel |
Window.newButtonPanel(String id,
List<WindowButton> buttons)
Gets a new
WindowButtonPanel |
static void |
WindowButtonUtils.setDefaultFormProcessing(List<WindowButton> buttons,
boolean processing)
Helper that applies #setDefaultFormProcessing to the list of
WindowButtonsWarning: the WindowButtons supplied in the list argument will be modified |
| Constructor and Description |
|---|
MessageWindow(String id,
org.apache.wicket.model.IModel<String> title,
org.apache.wicket.model.IModel<String> message,
List<WindowButton> buttons)
Constructor.
|
MessageWindow(String id,
org.apache.wicket.model.IModel<String> title,
org.apache.wicket.model.IModel<String> message,
List<WindowButton> buttons,
String icon)
Main Constructor.
|
MessageWindow(String id,
String title,
String message,
List<WindowButton> buttons)
Constructor.
|
MessageWindow(String id,
String title,
String message,
List<WindowButton> buttons,
String icon)
Constructor.
|
Window(String id,
org.apache.wicket.model.IModel<String> title,
org.apache.wicket.model.IModel<T> model,
List<WindowButton> buttons)
Constructor
|
Window(String id,
org.apache.wicket.model.IModel<String> title,
List<WindowButton> buttons)
Constructor
|
Window(String id,
String title,
org.apache.wicket.model.IModel<T> model,
List<WindowButton> buttons)
Constructor
|
Window(String id,
String title,
List<WindowButton> buttons)
Constructor
|
WindowButtonPanel(String id,
List<WindowButton> buttons) |
Copyright © 2021 7thWeb. All rights reserved.