|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FormElement | |
---|---|
wheel.components |
Uses of FormElement in wheel.components |
---|
Subclasses of FormElement in wheel.components | |
---|---|
class |
Checkbox
Will render an <input type="checkbox"/> form element. |
class |
CheckboxGroup
CheckboxGroup makes it possible to select objects with checkboxes from an ISelectModel. |
class |
DateInput
A form element that can be used for handling Dates and Calendars. |
class |
FileInput
|
class |
Hidden
Will render a <input type="hidden"/> tag. |
class |
NumberInput
A FormElement that knows how to handle numeric input. |
class |
Radio
Renders <input type="radio"/>. |
class |
RadioGroup
A form element that makes it possible to choose a single object from a collection of objects using radio buttons. |
class |
Select
A form element that makes it possible to choose a single object or multiple objects (using multiselect mode) from a collection of objects using the <select> element. |
class |
SelectModelFormElement
|
class |
Submit
Renders an <input type="submit"/> tag. |
class |
TextArea
A form element that will render a <textarea> tag. |
class |
TextInput
A form element that renders an <input type="text"/> tag. |
Methods in wheel.components that return FormElement | |
---|---|
FormElement |
FormElement.addValidationError(java.lang.String message)
|
FormElement |
Component.checkbox(java.lang.String componentId)
Adds a Checkbox-component to the component tree and returns it. |
FormElement |
Component.checkboxGroup(java.lang.String componentId,
ISelectModel model,
ElExpression binding)
Adds a CheckboxGroup-component to the component tree and returns it. |
FormElement |
Component.dateInput(java.lang.String componentId,
java.lang.String datePattern)
Adds a DateInput component to the component tree and returns it. |
FormElement |
Form.field(java.lang.String fieldName)
Finds a FormElement from this Form with the given name. |
FormElement |
FormElement.fieldBinding(java.lang.String binding)
|
FormElement |
Component.fileInput(java.lang.String componentId)
Adds a FileInput-component to the component tree and returns it. |
FormElement |
Component.fileInput(java.lang.String componentId,
ElExpression metadataBinding)
Adds a FileInput-component to the component tree and returns it. |
FormElement |
Component.hidden(java.lang.String componentId)
Adds a Hidden-component to the component tree and returns it. |
FormElement |
FormElement.initialFieldValue(java.lang.String value)
|
FormElement |
FormElement.initialFieldValue(java.lang.String value,
java.lang.Object emptyValue)
|
FormElement |
FormElement.isInt()
A shorthand method to mark this form element as an integer. |
FormElement |
FormElement.label(java.lang.String label)
Adds a label to this form element. |
FormElement |
Component.multiSelect(java.lang.String componentId,
ISelectModel model,
ElExpression binding)
Adds a Select-component in multiselect mode to the component tree and returns it. |
FormElement |
Component.numberInput(java.lang.String componentId)
Adds a NumberInput-component to the component tree and returns it. |
FormElement |
Component.numberInput(java.lang.String componentId,
java.lang.CharSequence numberFormat)
Adds a NumberInput-component to the component tree and returns it. |
FormElement |
Component.radio(java.lang.String componentId)
Adds a Radio-component to the component tree and returns it. |
FormElement |
Component.radioGroup(java.lang.String componentId,
ISelectModel model,
ElExpression binding)
Adds a RadioGroup-component to the component tree and returns it. |
FormElement |
FormElement.required()
A shorthand method to mark this form element as required. |
FormElement |
Component.select(java.lang.String componentId,
ISelectModel model,
ElExpression binding)
Adds a Select-component to the component tree and returns it. |
FormElement |
FormElement.setBinding(java.lang.CharSequence binding)
|
FormElement |
FormElement.setFormElementName(java.lang.String name)
|
FormElement |
Component.submit(java.lang.String componentId)
Adds a Submit-component to the component tree and returns it. |
FormElement |
Component.textarea(java.lang.String name)
Adds a TextArea-component to the component tree and returns it. |
FormElement |
Component.textInput(java.lang.String componentId)
Adds a TextInput-component to the component tree and returns it. |
FormElement |
FormElement.validationRule(java.lang.String elExpression)
|
FormElement |
FormElement.validationRule(java.lang.String elExpression,
java.lang.String message)
Adds a validation rule to this form element. |
FormElement |
TextInput.value(java.lang.String value)
|
FormElement |
TextArea.value(java.lang.String value)
|
FormElement |
Submit.value(java.lang.String value)
|
FormElement |
Radio.value(java.lang.String value)
|
FormElement |
Hidden.value(java.lang.String value)
|
FormElement |
FormElement.value(java.lang.String value)
|
Methods in wheel.components that return types with arguments of type FormElement | |
---|---|
java.util.Set<FormElement> |
Form.getFormElements()
Returns all FormElements that this Form contains. |
java.util.List<FormElement> |
Form.getInvalidFields()
Returns a list of fields in this form that are invalid. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |