|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use FormComponent | |
|---|---|
| wicket.ajax.form | |
| wicket.ajax.markup.html.form | |
| wicket.markup.html.form | HTML Forms and form components. |
| wicket.markup.html.form.persistence | Persistence support for forms. |
| wicket.markup.html.form.upload | Support for upload forms (using multipart requests). |
| wicket.markup.html.form.validation | Support for form validation. |
| wicket.util.tester | A package with utility classes to ease unit testing of Wicket applications without the need for a servlet container. |
| Uses of FormComponent in wicket.ajax.form |
|---|
| Methods in wicket.ajax.form that return FormComponent | |
|---|---|
protected FormComponent |
AjaxFormComponentUpdatingBehavior.getFormComponent()
|
| Uses of FormComponent in wicket.ajax.markup.html.form |
|---|
| Subclasses of FormComponent in wicket.ajax.markup.html.form | |
|---|---|
class |
AjaxCheckBox
A CheckBox which is updated via ajax when the user changes its value |
| Uses of FormComponent in wicket.markup.html.form |
|---|
| Subclasses of FormComponent in wicket.markup.html.form | |
|---|---|
class |
AbstractTextComponent
Abstract base class for TextArea and TextField. |
class |
Button
A form button. |
class |
CheckBox
HTML checkbox input component. |
class |
CheckBoxMultipleChoice
A choice subclass that shows choices via checkboxes. |
class |
CheckGroup
Component used to connect instances of Check components into a group. |
class |
DropDownChoice
A choice implemented as a dropdown menu/list. |
class |
HiddenField
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
A button which renders itself as an image button resource. |
class |
ListChoice
Essentially a drop down choice that doesn't drop down. |
class |
ListMultipleChoice
A multiple choice list component. |
class |
PasswordTextField
A password text field component. |
class |
RadioChoice
A choice subclass that shows choices in radio style. |
class |
RadioGroup
Component used to connect instances of Radio components into a group. |
class |
RequiredTextField
A text field which automatically adds a RequiredValidator. |
class |
SubmitLink
A link which can be used exactly like a Button to submit a Form. |
class |
TextArea
Multi-row text editing component. |
class |
TextField
A simple text field. |
| Methods in wicket.markup.html.form that return FormComponent | |
|---|---|
FormComponent |
FormComponent.add(IValidator validator)
Adds a validator to this form component. |
FormComponent |
AbstractTextComponent.setConvertEmptyInputStringToNull(boolean flag)
Should the bound object become null when the input is
empty? |
FormComponent |
FormComponent.setLabel(IModel labelModel)
The value will be made available to the validator property by means of ${label}. |
FormComponent |
FormComponent.setPersistent(boolean persistent)
Sets whether this component is to be persisted. |
FormComponent |
FormComponent.setRequired(boolean required)
Sets the required flag |
FormComponent |
FormComponent.setType(java.lang.Class type)
Sets the type that will be used when updating the model for this component. |
| Methods in wicket.markup.html.form with parameters of type FormComponent | |
|---|---|
void |
FormComponent.IVisitor.formComponent(FormComponent formComponent)
Called when visiting a form component |
| Constructors in wicket.markup.html.form with parameters of type FormComponent | |
|---|---|
FormComponentLabel(java.lang.String id,
FormComponent fc)
Constructor |
|
SimpleFormComponentLabel(java.lang.String id,
FormComponent fc)
Construct. |
|
| Uses of FormComponent in wicket.markup.html.form.persistence |
|---|
| Methods in wicket.markup.html.form.persistence with parameters of type FormComponent | |
|---|---|
void |
IValuePersister.clear(FormComponent component)
Remove any persisted value for a given form component. |
void |
CookieValuePersister.clear(FormComponent component)
|
protected java.lang.String |
CookieValuePersister.getName(FormComponent component)
|
void |
IValuePersister.load(FormComponent component)
Loads any persisted value for a given form component |
void |
CookieValuePersister.load(FormComponent component)
|
void |
IValuePersister.save(FormComponent component)
Saves the current value of the given form component |
void |
CookieValuePersister.save(FormComponent component)
|
| Uses of FormComponent in wicket.markup.html.form.upload |
|---|
| Subclasses of FormComponent in wicket.markup.html.form.upload | |
|---|---|
class |
FileUploadField
Form component that corresponds to a <input type="file">. |
| Uses of FormComponent in wicket.markup.html.form.validation |
|---|
| Methods in wicket.markup.html.form.validation that return FormComponent | |
|---|---|
FormComponent[] |
IFormValidator.getDependentFormComponents()
|
FormComponent[] |
EqualInputValidator.getDependentFormComponents()
|
| Methods in wicket.markup.html.form.validation with parameters of type FormComponent | |
|---|---|
void |
AbstractValidator.error(FormComponent formComponent)
Sets an error on the component being validated using the map returned by messageModel() for variable interpolations. |
void |
AbstractValidator.error(FormComponent formComponent,
java.util.Map map)
Sets an error on the component being validated using the given map for variable interpolations. |
void |
AbstractValidator.error(FormComponent formComponent,
java.lang.String resourceKey,
IModel resourceModel)
Returns a formatted validation error message for a given component. |
void |
AbstractValidator.error(FormComponent formComponent,
java.lang.String resourceKey,
java.util.Map map)
Sets an error on the component being validated using the given map for variable interpolations. |
protected java.util.Map |
PatternValidator.messageModel(FormComponent formComponent)
|
protected java.util.Map |
LengthValidator.messageModel(FormComponent formComponent)
Deprecated. Gets the default variables for interpolation. |
protected java.util.Map |
IntegerValidator.messageModel(FormComponent formComponent)
Deprecated. |
protected java.util.Map |
AbstractValidator.messageModel(FormComponent formComponent)
Gets the default variables for interpolation. |
protected java.util.Map |
TypeValidator.messageModel(FormComponent formComponent,
ConversionException e)
Deprecated. Gets the message context. |
abstract void |
DateValidator.onValidate(FormComponent formComponent,
java.util.Date value)
Subclasses should override this method to validate the string value for a component. |
abstract void |
NumberValidator.onValidate(FormComponent formComponent,
java.lang.Number value)
Subclasses should override this method to validate the string value for a component. |
void |
TypeValidator.onValidate(FormComponent formComponent,
java.lang.String value)
Deprecated. Validates input by trying it to convert to the given type using the IConverterinstance of the component doing
the validation. |
abstract void |
StringValidator.onValidate(FormComponent formComponent,
java.lang.String value)
Subclasses should override this method to validate the string value for a component. |
void |
RequiredValidator.onValidate(FormComponent formComponent,
java.lang.String value)
Deprecated. Validates whether the input value is not-null or empty. |
void |
PatternValidator.onValidate(FormComponent formComponent,
java.lang.String value)
Validates the set pattern. |
void |
IntegerValidator.onValidate(FormComponent formComponent,
java.lang.String value)
Deprecated. Validates the given form component. |
protected java.lang.String |
PatternValidator.resourceKey(FormComponent formComponent)
|
protected java.lang.String |
EmailAddressPatternValidator.resourceKey(FormComponent formComponent)
|
protected java.lang.String |
AbstractValidator.resourceKey(FormComponent formComponent)
Gets the resource key for validator's error message from the ApplicationSettings class. |
protected java.lang.String |
EqualPasswordInputValidator.resourceKey(FormComponent[] components)
|
protected java.lang.String |
AbstractFormValidator.resourceKey(FormComponent[] components)
Gets the resource key for validator's error message from the ApplicationSettings class. |
void |
StringValidator.validate(FormComponent formComponent)
|
void |
RequiredValidator.validate(FormComponent component)
Deprecated. |
void |
NumberValidator.validate(FormComponent formComponent)
|
void |
LengthValidator.validate(FormComponent formComponent)
Deprecated. Validates that a form component's value is of a certain minimum and/or maximum length. |
void |
IValidator.validate(FormComponent component)
Instead of subclassing IValidator, you should use one of the existing validators, which cover a huge number of cases, or if none satisfies your need, subclass one of the Type validators like StringValidator,
NumberValidator or DateValidator |
void |
DateValidator.validate(FormComponent formComponent)
|
| Constructors in wicket.markup.html.form.validation with parameters of type FormComponent | |
|---|---|
EqualInputValidator(FormComponent formComponent1,
FormComponent formComponent2)
Construct. |
|
EqualPasswordInputValidator(FormComponent formComponent1,
FormComponent formComponent2)
Construct. |
|
| Uses of FormComponent in wicket.util.tester |
|---|
| Methods in wicket.util.tester with parameters of type FormComponent | |
|---|---|
protected abstract void |
FormTester.ChoiceSelector.assignValueToFormComponent(FormComponent formComponent,
java.lang.String value)
implement whether toggle or cumulate selection |
| Constructors in wicket.util.tester with parameters of type FormComponent | |
|---|---|
FormTester.ChoiceSelector(FormComponent formComponent)
Construct. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||