Uses of Class
org.apache.wicket.markup.html.form.FormComponent
-
-
Uses of FormComponent in org.apache.wicket.ajax.form
Methods in org.apache.wicket.ajax.form that return FormComponent Modifier and Type Method Description protected FormComponent<?>
AjaxFormComponentUpdatingBehavior. getFormComponent()
Methods in org.apache.wicket.ajax.form with parameters of type FormComponent Modifier and Type Method Description protected 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
Subclasses of FormComponent in org.apache.wicket.ajax.markup.html.form Modifier and Type Class Description class
AjaxButton
A button that submits the form via Ajax.class
AjaxCheckBox
A CheckBox which is updated via ajax when the user changes its valueclass
AjaxFallbackButton
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
Methods in org.apache.wicket.bean.validation with parameters of type FormComponent Modifier and Type Method Description void
ITagModifier. modify(FormComponent<?> component, ComponentTag tag, T annotation)
Modify the tagvoid
SizeTagModifier. modify(FormComponent<?> component, ComponentTag tag, javax.validation.constraints.Size annotation)
Property
BeanValidationConfiguration. resolveProperty(FormComponent<?> component)
Property
BeanValidationContext. resolveProperty(FormComponent<?> component)
Resolve the property for a component.Property
DefaultPropertyResolver. resolveProperty(FormComponent<?> component)
Property
IPropertyResolver. resolveProperty(FormComponent<?> component)
-
Uses of FormComponent in org.apache.wicket.extensions.ajax.markup.html
Subclasses of FormComponent in org.apache.wicket.extensions.ajax.markup.html Modifier and Type Class Description class
IndicatingAjaxButton
A variant of theAjaxButton
that displays a busy indicator while the ajax request is in progress.Methods in org.apache.wicket.extensions.ajax.markup.html that return FormComponent Modifier and Type Method Description protected 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
Subclasses of FormComponent in org.apache.wicket.extensions.ajax.markup.html.autocomplete Modifier and Type Class Description class
AutoCompleteTextField<T>
An implementation of a textfield with the autoassist ajax behaviorAutoCompleteBehavior
.class
DefaultCssAutoCompleteTextField<T>
AnAutoCompleteTextField
which automatically includes the default CSS for the suggestions. -
Uses of FormComponent in org.apache.wicket.extensions.markup.html.form
Subclasses of FormComponent in org.apache.wicket.extensions.markup.html.form Modifier and Type Class Description class
DateTextField
A TextField that is mapped to ajava.util.Date
object. -
Uses of FormComponent in org.apache.wicket.extensions.markup.html.form.datetime
Subclasses of FormComponent in org.apache.wicket.extensions.markup.html.form.datetime Modifier and Type Class Description class
LocalDateTextField
A TextField that is mapped to ajava.time.LocalDate
object and that uses java.time time to parse and format values.class
LocalDateTimeField
Works on aLocalDateTime
object.class
LocalDateTimeTextField
A TextField that is mapped to ajava.time.LocalDateTime
object and that uses java.time time to parse and format values.class
LocalTimeTextField
A TextField that is mapped to ajava.time.LocalTime
object and that uses java.time time to parse and format values.class
TimeField
Works on aLocalTime
object.class
ZonedDateTimeField
Works on aZonedDateTime
object. -
Uses of FormComponent in org.apache.wicket.extensions.markup.html.form.palette
Subclasses of FormComponent in org.apache.wicket.extensions.markup.html.form.palette Modifier and Type Class Description class
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
Subclasses of FormComponent in org.apache.wicket.extensions.markup.html.form.palette.component Modifier and Type Class Description class
AbstractOptions<T>
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
Subclasses of FormComponent in org.apache.wicket.extensions.markup.html.form.select Modifier and Type Class Description class
Select<T>
Component that represents a<select>
box. -
Uses of FormComponent in org.apache.wicket.extensions.markup.html.repeater.data.table.filter
Methods in org.apache.wicket.extensions.markup.html.repeater.data.table.filter with parameters of type FormComponent Modifier and Type Method Description protected void
AbstractFilter. enableFocusTracking(FormComponent<?> fc)
Enables the tracking of focus for the specified form component.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
Subclasses of FormComponent in org.apache.wicket.extensions.wizard Modifier and Type Class Description class
CancelButton
Models a cancel button in the wizard.class
FinishButton
Models a cancel button in the wizard.class
LastButton
Models a 'last' button in the wizard.class
NextButton
Models a next button in the wizard.class
PreviousButton
Models a previous button in the wizard.class
WizardButton
Base class for buttons that work withthe wizard component
. -
Uses of FormComponent in org.apache.wicket.markup.html.form
Subclasses of FormComponent in org.apache.wicket.markup.html.form Modifier and Type Class Description class
AbstractChoice<T,E>
Abstract base class for all choice (html select) options.class
AbstractSingleSelectChoice<T>
Abstract base class for single-select choices.class
AbstractTextComponent<T>
Abstract base class for TextArea and TextField.class
Button
A form button.class
CheckBox
HTML checkbox input component.class
CheckBoxMultipleChoice<T>
A choice subclass that shows choices via checkboxes.class
CheckGroup<T>
Component used to connect instances of Check components into a group.class
DropDownChoice<T>
A choice implemented as a dropdown menu/list.class
EmailTextField
ATextField
for HTML5 <input> with type email.class
FormComponentPanel<T>
Panel (has it's own markup, defined between <wicket:panel> tags), that can act as a form component.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
ImageButton
<input type="image"> component - likeButton
only with an image.class
ListChoice<T>
Essentially a drop down choice that doesn't drop down.class
ListMultipleChoice<T>
A multiple choice list component.class
NumberTextField<N extends Number & Comparable<N>>
ATextField
for HTML5 <input> with type number.class
PasswordTextField
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
RequiredTextField<T>
A text field which automatically adds a Required.class
TextArea<T>
Multi-row text editing component.class
TextField<T>
A simple text field.class
UrlTextField
ATextField
for HTML5 <input> with type url.Methods in org.apache.wicket.markup.html.form that return FormComponent Modifier and Type Method Description FormComponent<T>
FormComponent. add(IValidator<? super T> validator)
Adds a validator to this form componentFormComponent<T>
FormComponent. add(IValidator<? super T>... validators)
Adds a validator to this form component.FormComponent<?>
FormComponentUpdatingBehavior. getFormComponent()
Get the hosting component.FormComponent<T>
FormComponent. remove(IValidator<? super T> validator)
Removes a validator from the form component.FormComponent<T>
AbstractTextComponent. setConvertEmptyInputStringToNull(boolean flag)
Should the bound object becomenull
when the input is empty?FormComponent<T>
FormComponent. setLabel(IModel<String> labelModel)
The value will be made available to the validator property by means of ${label}.FormComponent<T>
FormComponent. setRequired(boolean required)
Sets the required flagFormComponent<T>
AbstractChoice. setType(Class<?> type)
FormComponent<T>
FormComponent. setType(Class<?> type)
Sets the type that will be used when updating the model for this component.Methods in org.apache.wicket.markup.html.form with parameters of type FormComponent Modifier and Type Method Description void
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 componentMethod parameters in org.apache.wicket.markup.html.form with type arguments of type FormComponent Modifier and Type Method Description <R> R
Form. visitFormComponents(IVisitor<FormComponent<?>,R> visitor)
Convenient and typesafe way to visit all the form components on a form.<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 componentConstructors in org.apache.wicket.markup.html.form with parameters of type FormComponent Constructor Description AutoLabelMarker(FormComponent<?> component)
AutoLabelMarker(FormComponent<?> component, boolean auto)
-
Uses of FormComponent in org.apache.wicket.markup.html.form.upload
Subclasses of FormComponent in org.apache.wicket.markup.html.form.upload Modifier and Type Class Description class
FileUploadField
Form component that corresponds to a <input type="file">.class
MultiFileUploadField
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
Methods in org.apache.wicket.markup.html.form.validation that return FormComponent Modifier and Type Method Description FormComponent<?>[]
EqualInputValidator. getDependentFormComponents()
FormComponent<?>[]
FormValidatorAdapter. getDependentFormComponents()
FormComponent<?>[]
IFormValidator. getDependentFormComponents()
Methods in org.apache.wicket.markup.html.form.validation with parameters of type FormComponent Modifier and Type Method Description void
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
AbstractFormValidator. error(FormComponent<?> fc, String resourceKey, Map<String,Object> vars)
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()
Constructors in org.apache.wicket.markup.html.form.validation with parameters of type FormComponent Constructor Description EqualInputValidator(FormComponent<?> formComponent1, FormComponent<?> formComponent2)
Construct.EqualPasswordInputValidator(FormComponent<?> formComponent1, FormComponent<?> formComponent2)
Construct. -
Uses of FormComponent in org.apache.wicket.util.cookies
Methods in org.apache.wicket.util.cookies with parameters of type FormComponent Modifier and Type Method Description protected String
CookieUtils. getKey(FormComponent<?> component)
This method gets used when a cookie key needs to be derived from a form component.String
CookieUtils. load(FormComponent<?> formComponent)
Retrieve the cookie value associated with the formComponent and load the model object with the cookie value.void
CookieUtils. remove(FormComponent<?> formComponent)
Remove the cookie identified by the form componentvoid
CookieUtils. save(FormComponent<?> formComponent)
Save the form components model value in a cookie -
Uses of FormComponent in org.apache.wicket.util.tester
Methods in org.apache.wicket.util.tester with parameters of type FormComponent Modifier and Type Method Description protected 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 valueResult
BaseWicketTester. isNotRequired(FormComponent<?> component)
Asserts that a component is not required.Result
BaseWicketTester. isRequired(FormComponent<?> component)
assert component required.Constructors in org.apache.wicket.util.tester with parameters of type FormComponent Constructor Description ChoiceSelector(FormComponent<?> formComponent)
Constructor.
-