| Package | Description |
|---|---|
| org.apache.wicket.ajax.form | |
| org.apache.wicket.ajax.markup.html.form | |
| org.apache.wicket.markup.html.form |
HTML Forms and form components.
|
| org.apache.wicket.markup.html.form.validation |
Support for form validation.
|
| org.apache.wicket.markup.html.pages |
Default special purpose pages for error and feedback support.
|
| org.apache.wicket.util.tester |
A package with utility classes to ease unit testing of Wicket applications without the need for
a servlet container.
|
| Modifier and Type | Method and Description |
|---|---|
protected Form<?> |
AjaxFormSubmitBehavior.findForm()
Finds form that will be submitted
|
Form<?> |
AjaxFormSubmitBehavior.getForm() |
Form<?> |
AjaxFormSubmitBehavior.AjaxFormSubmitter.getForm() |
| Constructor and Description |
|---|
AjaxFormSubmitBehavior(Form<?> form,
String event)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
Form<?> |
AjaxFallbackButton.getForm() |
Form<?> |
AjaxButton.getForm()
Returns the form if it was set in constructor, otherwise returns the form nearest in parent
hierarchy.
|
| Modifier and Type | Method and Description |
|---|---|
protected AjaxFormSubmitBehavior |
AjaxFallbackButton.newAjaxEventBehavior(Form<?> form,
String event) |
protected void |
AjaxFallbackButton.onAfterSubmit(AjaxRequestTarget target,
Form<?> form)
Callback for the onClick event.
|
protected void |
AjaxButton.onAfterSubmit(AjaxRequestTarget target,
Form<?> form)
Listener method invoked on form submit with no errors, after
onSubmit(). |
protected void |
AjaxSubmitLink.onAfterSubmit(AjaxRequestTarget target,
Form<?> form)
Override this method to provide special submit handling in a multi-button form.
|
protected void |
AjaxFallbackButton.onError(AjaxRequestTarget target,
Form<?> form)
Listener method invoked on form submit with errors.
|
protected void |
AjaxButton.onError(AjaxRequestTarget target,
Form<?> form)
Listener method invoked on form submit with errors
|
protected void |
AjaxSubmitLink.onError(AjaxRequestTarget target,
Form<?> form)
Listener method invoked on form submit with errors.
|
protected void |
AjaxFallbackButton.onSubmit(AjaxRequestTarget target,
Form<?> form)
Callback for the onClick event.
|
protected void |
AjaxButton.onSubmit(AjaxRequestTarget target,
Form<?> form)
Listener method invoked on form submit with no errors, before
onSubmit(). |
protected void |
AjaxSubmitLink.onSubmit(AjaxRequestTarget target,
Form<?> form)
Override this method to provide special submit handling in a multi-button form.
|
| Constructor and Description |
|---|
AjaxButton(String id,
Form<?> form)
Construct.
|
AjaxButton(String id,
IModel<String> model,
Form<?> form)
Construct.
|
AjaxFallbackButton(String id,
Form<?> form)
Construct.
|
AjaxFallbackButton(String id,
IModel<String> model,
Form<?> form)
Construct.
|
AjaxSubmitLink(String id,
Form<?> form)
Construct.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StatelessForm<T>
This StatelessForm is the same as a normal form but with the statelesshint default to true.
|
| Modifier and Type | Method and Description |
|---|---|
static Form<?> |
Form.findForm(Component component) |
Form<?> |
FormComponent.getForm() |
Form<?> |
AbstractSubmitLink.getForm() |
Form<?> |
Button.getForm()
Override to not throw exception if there is no parent form.
|
Form<?> |
IFormSubmitter.getForm()
Returns the form this component submits.
|
Form<?> |
Form.getRootForm()
Returns the root form or this, if this is the root form.
|
| Constructor and Description |
|---|
AbstractSubmitLink(String id,
Form<?> form)
Construct.
|
AbstractSubmitLink(String id,
IModel<?> model,
Form<?> form)
Construct.
|
SubmitLink(String id,
Form<?> form)
With this constructor the SubmitLink will submit the
Form that is given when the link
is clicked on. |
SubmitLink(String id,
IModel<?> model,
Form<?> form)
With this constructor the SubmitLink will submit the
Form that is given when the link
is clicked on. |
| Modifier and Type | Method and Description |
|---|---|
void |
FormValidatorAdapter.validate(Form<?> form)
This method is ran if all components returned by
IFormValidator.getDependentFormComponents() are valid. |
void |
IFormValidator.validate(Form<?> form)
This method is ran if all components returned by
IFormValidator.getDependentFormComponents() are valid. |
void |
EqualInputValidator.validate(Form<?> form) |
| Modifier and Type | Method and Description |
|---|---|
protected Form<ClientProperties> |
BrowserInfoForm.createForm(String componentId,
IModel<ClientProperties> properties)
Creates the form
|
| Modifier and Type | Method and Description |
|---|---|
Form<?> |
FormTester.getForm()
Retrieves the current
Form object. |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseWicketTester.submitForm(Form<?> form)
Submit the given form in the last rendered
Page |
| Constructor and Description |
|---|
FormTester(String path,
Form<?> workingForm,
BaseWicketTester wicketTester,
boolean fillBlankString) |
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.