Modifier and Type | Method and Description |
---|---|
protected FormComponent<?> |
AjaxFormComponentUpdatingBehavior.getFormComponent() |
Modifier and Type | Method and Description |
---|---|
protected void |
AjaxFormChoiceComponentUpdatingBehavior.checkComponent(FormComponent<?> component) |
protected void |
AjaxFormComponentUpdatingBehavior.checkComponent(FormComponent<?> component)
Check the component this behavior is bound to.
|
Modifier and Type | Class and 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 value
|
class |
AjaxFallbackButton
An ajax submit button that will degrade to a normal request if ajax is not available or
javascript is disabled.
|
Modifier and Type | Method and Description |
---|---|
void |
SizeTagModifier.modify(FormComponent<?> component,
ComponentTag tag,
javax.validation.constraints.Size annotation) |
void |
ITagModifier.modify(FormComponent<?> component,
ComponentTag tag,
T annotation)
Modify the tag
|
Property |
DefaultPropertyResolver.resolveProperty(FormComponent<?> component) |
Property |
IPropertyResolver.resolveProperty(FormComponent<?> component) |
Property |
BeanValidationContext.resolveProperty(FormComponent<?> component)
Resolve the property for a component.
|
Property |
BeanValidationConfiguration.resolveProperty(FormComponent<?> component) |
Modifier and Type | Class and Description |
---|---|
class |
Multiply
Displays how a
FormComponentPanel can be used. |
Modifier and Type | Class and Description |
---|---|
class |
IndicatingAjaxButton
A variant of the
AjaxButton that displays a busy indicator while the ajax request is in
progress. |
Modifier and Type | Method and Description |
---|---|
protected FormComponent<T> |
AjaxEditableLabel.getEditor()
Gets the editor component.
|
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) |
protected FormComponent<T> |
AjaxEditableChoiceLabel.newEditor(MarkupContainer parent,
String componentId,
IModel<T> model)
Create a new form component instance to serve as editor.
|
Modifier and Type | Class and Description |
---|---|
class |
AutoCompleteTextField<T>
An implementation of a textfield with the autoassist ajax behavior
AutoCompleteBehavior . |
class |
DefaultCssAutoCompleteTextField<T>
An
AutoCompleteTextField which automatically includes the default CSS for the
suggestions. |
Modifier and Type | Class and Description |
---|---|
class |
DateTextField
A TextField that is mapped to a
java.util.Date object. |
Modifier and Type | Class and Description |
---|---|
class |
LocalDateTextField
A TextField that is mapped to a
java.time.LocalDate object and that uses java.time time to
parse and format values. |
class |
LocalDateTimeField
Works on a
LocalDateTime object. |
class |
LocalDateTimeTextField
A TextField that is mapped to a
java.time.LocalDateTime object and that uses java.time time to
parse and format values. |
class |
LocalTimeTextField
A TextField that is mapped to a
java.time.LocalTime object and that uses java.time time to
parse and format values. |
class |
TimeField
Works on a
LocalTime object. |
class |
ZonedDateTimeField
Works on a
ZonedDateTimeTime object. |
Modifier and Type | Class and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractOptions<T>
Generates html option elements based on iterator specified by getOptionsIterator() and
IChoiceRender specified by the palette
|
class |
Choices<T>
select box containing all available choices of the palette
|
class |
Recorder<T>
Component to keep track of selections on the html side.
|
class |
Selection<T>
select box containing selected choices of the palette
|
Modifier and Type | Class and Description |
---|---|
class |
Select<T>
Component that represents a
<select> box. |
Modifier and Type | Method and 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.
|
Modifier and Type | Class and 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 with
the wizard component . |
Modifier and Type | Class and 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
A
TextField for HTML5 <input> with type email. |
class |
FormComponentPanel<T>
Panel (has it's own markup, defined between
|
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 - like
Button 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>>
A
TextField 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>>
A
TextField 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
A
TextField for HTML5 <input> with type url. |
Modifier and Type | Method and Description |
---|---|
FormComponent<T> |
FormComponent.add(IValidator<? super T>... validators)
Adds a validator to this form component.
|
FormComponent<T> |
FormComponent.add(IValidator<? super T> validator)
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 become
null 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 flag
|
FormComponent<T> |
FormComponent.setType(Class<?> type)
Sets the type that will be used when updating the model for this component.
|
FormComponent<T> |
AbstractChoice.setType(Class<?> type) |
Modifier and Type | Method and Description |
---|---|
void |
Form.ValidationVisitor.component(FormComponent<?> formComponent,
IVisit<Void> visit) |
static <S> void |
FormComponent.updateCollectionModel(FormComponent<Collection<S>> formComponent)
Update the model of a
FormComponent containing a Collection . |
void |
AutoLabelResolver.AutoLabelMarker.updateFrom(FormComponent<?> component,
AjaxRequestTarget target) |
abstract void |
Form.ValidationVisitor.validate(FormComponent<?> formComponent)
Callback that should be used to validate form component
|
Modifier and Type | Method and Description |
---|---|
<R> R |
Form.visitFormComponents(IVisitor<FormComponent<?>,R> visitor)
Convenient and typesafe way to visit all the form components on a form.
|
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 component
|
<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)
|
Constructor and Description |
---|
AutoLabelMarker(FormComponent<?> component) |
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
FormComponent<?>[] |
IFormValidator.getDependentFormComponents() |
FormComponent<?>[] |
EqualInputValidator.getDependentFormComponents() |
FormComponent<?>[] |
FormValidatorAdapter.getDependentFormComponents() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractFormValidator.error(FormComponent<?> fc)
Reports an error against validatable using the map returned by
AbstractFormValidator.variablesMap() for
variable interpolations and message key returned by AbstractFormValidator.resourceKey() . |
void |
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 by
AbstractFormValidator.resourceKey() |
void |
AbstractFormValidator.error(FormComponent<?> fc,
String resourceKey)
Reports an error against the validatable using the given resource key
|
void |
AbstractFormValidator.error(FormComponent<?> fc,
String resourceKey,
Map<String,Object> vars)
Reports an error against the validatable using the specified resource key and variable map
|
Constructor and Description |
---|
EqualInputValidator(FormComponent<?> formComponent1,
FormComponent<?> formComponent2)
Construct.
|
EqualInputValidator(FormComponent<?> formComponent1,
FormComponent<?> formComponent2)
Construct.
|
EqualPasswordInputValidator(FormComponent<?> formComponent1,
FormComponent<?> formComponent2)
Construct.
|
EqualPasswordInputValidator(FormComponent<?> formComponent1,
FormComponent<?> formComponent2)
Construct.
|
Modifier and Type | Method and 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 component
|
void |
CookieUtils.save(FormComponent<?> formComponent)
Save the form components model value in a cookie
|
Modifier and Type | Method and 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 value
|
Result |
BaseWicketTester.isNotRequired(FormComponent<?> component)
Asserts that a component is not required.
|
Result |
BaseWicketTester.isRequired(FormComponent<?> component)
assert component required.
|
Constructor and Description |
---|
ChoiceSelector(FormComponent<?> formComponent)
Constructor.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.