Uses of Class
org.apache.wicket.markup.html.form.FormComponent
Package
Description
This package integrates bean validation framework into Wicket.
Package for working with Wizard components.
HTML Forms and form components.
Support for upload forms (using multipart requests).
Support for form validation.
Persistence support for forms.
A package with utility classes to ease unit testing of Wicket applications without the need for
a servlet container.
-
Uses of FormComponent in org.apache.wicket.ajax.form
Modifier and TypeMethodDescriptionprotected final FormComponent<?>
AjaxFormComponentUpdatingBehavior.getFormComponent()
Modifier and TypeMethodDescriptionprotected void
AjaxFormChoiceComponentUpdatingBehavior.checkComponent
(FormComponent<?> component) protected void
AjaxFormComponentUpdatingBehavior.checkComponent
(FormComponent<?> component) Check the component this behavior is bound to. -
Uses of FormComponent in org.apache.wicket.ajax.markup.html.form
Modifier and TypeClassDescriptionclass
A button that submits the form via Ajax.class
A CheckBox which is updated via ajax when the user changes its valueclass
An ajax submit button that will degrade to a normal request if ajax is not available or javascript is disabled. -
Uses of FormComponent in org.apache.wicket.bean.validation
Modifier and TypeMethodDescriptionvoid
ITagModifier.modify
(FormComponent<?> component, ComponentTag tag, T annotation) Modify the tagvoid
SizeTagModifier.modify
(FormComponent<?> component, ComponentTag tag, jakarta.validation.constraints.Size annotation) BeanValidationConfiguration.resolveProperty
(FormComponent<?> component) BeanValidationContext.resolveProperty
(FormComponent<?> component) Resolve the property for a component.DefaultPropertyResolver.resolveProperty
(FormComponent<?> component) IPropertyResolver.resolveProperty
(FormComponent<?> component) -
Uses of FormComponent in org.apache.wicket.extensions.ajax.markup.html
Modifier and TypeClassDescriptionclass
A variant of theAjaxButton
that displays a busy indicator while the ajax request is in progress.Modifier and TypeMethodDescriptionprotected final FormComponent<T>
AjaxEditableLabel.getEditor()
Gets the editor component.protected FormComponent<T>
AjaxEditableChoiceLabel.newEditor
(MarkupContainer parent, String componentId, IModel<T> model) Create a new form component instance to serve as editor.protected FormComponent<T>
AjaxEditableLabel.newEditor
(MarkupContainer parent, String componentId, IModel<T> model) Create a new form component instance to serve as editor.protected FormComponent<T>
AjaxEditableMultiLineLabel.newEditor
(MarkupContainer parent, String componentId, IModel<T> model) -
Uses of FormComponent in org.apache.wicket.extensions.ajax.markup.html.autocomplete
Modifier and TypeClassDescriptionclass
An implementation of a textfield with the autoassist ajax behaviorAutoCompleteBehavior
.class
AnAutoCompleteTextField
which automatically includes the default CSS for the suggestions. -
Uses of FormComponent in org.apache.wicket.extensions.markup.html.form
Modifier and TypeClassDescriptionclass
A TextField that is mapped to ajava.util.Date
object. -
Uses of FormComponent in org.apache.wicket.extensions.markup.html.form.datetime
Modifier and TypeClassDescriptionclass
A TextField that is mapped to ajava.time.LocalDate
object and that uses java.time time to parse and format values.class
Works on aLocalDateTime
object.class
A TextField that is mapped to ajava.time.LocalDateTime
object and that uses java.time time to parse and format values.class
A TextField that is mapped to ajava.time.LocalTime
object and that uses java.time time to parse and format values.class
Works on aLocalTime
object.class
Works on aZonedDateTime
object. -
Uses of FormComponent in org.apache.wicket.extensions.markup.html.form.palette
Modifier and TypeClassDescriptionclass
Palette<T>
Palette is a component that allows the user to easily select and order multiple items by moving them from one select box into another. -
Uses of FormComponent in org.apache.wicket.extensions.markup.html.form.palette.component
Modifier and TypeClassDescriptionclass
Generates html option elements based on iterator specified by getOptionsIterator() and IChoiceRender specified by the paletteclass
Choices<T>
select box containing all available choices of the paletteclass
Recorder<T>
Component to keep track of selections on the html side.class
Selection<T>
select box containing selected choices of the palette -
Uses of FormComponent in org.apache.wicket.extensions.markup.html.form.select
-
Uses of FormComponent in org.apache.wicket.extensions.markup.html.repeater.data.table.filter
Modifier and TypeMethodDescriptionprotected void
AbstractFilter.enableFocusTracking
(FormComponent<?> fc) Enables the tracking of focus for the specified form component.final void
FilterForm.enableFocusTracking
(FormComponent<?> fc) Adds behavior to the form component to allow this form to keep track of the component's focus which will be restored after a form submit. -
Uses of FormComponent in org.apache.wicket.extensions.wizard
Modifier and TypeClassDescriptionclass
Models a cancel button in the wizard.class
Models a cancel button in the wizard.class
Models a 'last' button in the wizard.class
Models a next button in the wizard.class
Models a previous button in the wizard.class
Base class for buttons that work withthe wizard component
. -
Uses of FormComponent in org.apache.wicket.markup.html.form
Modifier and TypeClassDescriptionclass
AbstractChoice<T,
E> Abstract base class for all choice (html select) options.class
Abstract base class for single-select choices.class
Abstract base class for TextArea and TextField.class
A form button.class
HTML checkbox input component.class
A choice subclass that shows choices via checkboxes.class
CheckGroup<T>
Component used to connect instances of Check components into a group.class
A choice implemented as a dropdown menu/list.class
ATextField
for HTML5 <input> with type email.class
Panel (has it's own markup, defined between <wicket:panel> tags), that can act as a form component.class
Convenience class for generating dropdown choices with option groups.class
HiddenField<T>
TextField doesn't permit the html so this is a simple subclass to allow this A HiddenField is useful when you have a javascript based component that updates the form state.class
<input type="image"> component - likeButton
only with an image.class
ListChoice<T>
Essentially a drop down choice that doesn't drop down.class
A multiple choice list component.class
NumberTextField<N extends Number & Comparable<N>>
ATextField
for HTML5 <input> with type number.class
A password text field component.class
RadioChoice<T>
A choice subclass that shows choices in radio style.class
RadioGroup<T>
Component used to connect instances of Radio components into a group.class
RangeTextField<N extends Number & Comparable<N>>
ATextField
for HTML5 <input> with type range.class
A text field which automatically adds a Required.class
TextArea<T>
Multi-row text editing component.class
TextField<T>
A simple text field.class
ATextField
for HTML5 <input> with type url.Modifier and TypeMethodDescriptionfinal FormComponent<T>
FormComponent.add
(IValidator<? super T> validator) Adds a validator to this form componentfinal FormComponent<T>
FormComponent.add
(IValidator<? super T>... validators) Adds a validator to this form component.final FormComponent<?>
FormComponentUpdatingBehavior.getFormComponent()
Get the hosting component.final FormComponent<T>
FormComponent.remove
(IValidator<? super T> validator) Removes a validator from the form component.final FormComponent<T>
AbstractTextComponent.setConvertEmptyInputStringToNull
(boolean flag) Should the bound object becomenull
when the input is empty?The value will be made available to the validator property by means of ${label}.final FormComponent<T>
FormComponent.setRequired
(boolean required) Sets the required flagfinal FormComponent<T>
Sets the type that will be used when updating the model for this component.Modifier and TypeMethodDescriptionvoid
Form.ValidationVisitor.component
(FormComponent<?> formComponent, IVisit<Void> visit) static <S> void
FormComponent.updateCollectionModel
(FormComponent<Collection<S>> formComponent) Update the model of aFormComponent
containing aCollection
.void
AutoLabelResolver.AutoLabelMarker.updateFrom
(FormComponent<?> component, AjaxRequestTarget target) Deprecated, for removal: This API element is subject to removal in a future version.void
AutoLabelResolver.AutoLabelMarker.updateFrom
(FormComponent<?> component, IPartialPageRequestHandler target) abstract void
Form.ValidationVisitor.validate
(FormComponent<?> formComponent) Callback that should be used to validate form componentModifier and TypeMethodDescriptionfinal <R> R
Form.visitFormComponents
(IVisitor<FormComponent<?>, R> visitor) Convenient and typesafe way to visit all the form components on a form.final <R> R
Form.visitFormComponentsPostOrder
(IVisitor<? extends FormComponent<?>, R> visitor) Convenient and typesafe way to visit all the form components on a form postorder (deepest first)static <R> R
FormComponent.visitFormComponentsPostOrder
(Component component, IVisitor<? extends FormComponent<?>, R> visitor) Visits any form components inside component if it is a container, or component itself if it is itself a form componentModifierConstructorDescriptionAutoLabelMarker
(FormComponent<?> component) AutoLabelMarker
(FormComponent<?> component, boolean auto) -
Uses of FormComponent in org.apache.wicket.markup.html.form.upload
Modifier and TypeClassDescriptionclass
Form component that corresponds to a <input type="file">.class
Form component that allows the user to select multiple files to upload via a single <input type="file"/> field. -
Uses of FormComponent in org.apache.wicket.markup.html.form.validation
Modifier and TypeMethodDescriptionFormComponent<?>[]
EqualInputValidator.getDependentFormComponents()
FormComponent<?>[]
FormValidatorAdapter.getDependentFormComponents()
FormComponent<?>[]
IFormValidator.getDependentFormComponents()
Modifier and TypeMethodDescriptionvoid
AbstractFormValidator.error
(FormComponent<?> fc) Reports an error against validatable using the map returned byAbstractFormValidator.variablesMap()
for variable interpolations and message key returned byAbstractFormValidator.resourceKey()
.void
AbstractFormValidator.error
(FormComponent<?> fc, String resourceKey) Reports an error against the validatable using the given resource keyvoid
Reports an error against the validatable using the specified resource key and variable mapvoid
AbstractFormValidator.error
(FormComponent<?> fc, Map<String, Object> vars) Reports an error against the validatable using the given map for variable interpolations and message resource key provided byAbstractFormValidator.resourceKey()
ModifierConstructorDescriptionEqualInputValidator
(FormComponent<?> formComponent1, FormComponent<?> formComponent2) Construct.EqualPasswordInputValidator
(FormComponent<?> formComponent1, FormComponent<?> formComponent2) Construct. -
Uses of FormComponent in org.apache.wicket.util.cookies
Modifier and TypeMethodDescriptionprotected String
CookieUtils.getKey
(FormComponent<?> component) This method gets used when a cookie key needs to be derived from a form component.final String
CookieUtils.load
(FormComponent<?> formComponent) Retrieve the cookie value associated with the formComponent and load the model object with the cookie value.final void
CookieUtils.remove
(FormComponent<?> formComponent) Remove the cookie identified by the form componentfinal void
CookieUtils.save
(FormComponent<?> formComponent) Save the form components model value in a cookie -
Uses of FormComponent in org.apache.wicket.util.tester
Modifier and TypeMethodDescriptionprotected abstract void
FormTester.ChoiceSelector.assignValueToFormComponent
(FormComponent<?> formComponent, String value) Implements whether toggle or accumulate the selection.static String[]
FormTester.getInputValue
(FormComponent<?> formComponent) Gets request parameter values for the form component that represents its current model valueBaseWicketTester.isNotRequired
(FormComponent<?> component) Asserts that a component is not required.BaseWicketTester.isRequired
(FormComponent<?> component) assert component required.ModifierConstructorDescriptionprotected
ChoiceSelector
(FormComponent<?> formComponent) Constructor.