| Package | Description |
|---|---|
| org.ujorm.wicket.component.form | |
| org.ujorm.wicket.component.form.fields |
| Modifier and Type | Method and Description |
|---|---|
<V,F extends Field<V>> |
FieldProvider.getField(org.ujorm.Key<? super U,V> key)
Returns the related Field component
|
| Modifier and Type | Method and Description |
|---|---|
<T> Field<T> |
FieldProvider.add(Field<T> field)
Add any field to a repeating view
and set the OutputMarkupPlaceholderTag to value
true. |
<T> Field<T> |
FieldProvider.add(org.ujorm.Key<? super U,T> key)
Add new field to a repeating view
|
<T extends org.ujorm.Ujo> |
FieldProvider.add(org.ujorm.Key<? super U,T> key,
Class<? extends Field> fieldClass)
Create a field of the required instance and set the result into container.
|
<T extends org.ujorm.Ujo & Serializable> |
FieldProvider.add(org.ujorm.Key<? super U,T> key,
org.ujorm.criterion.Criterion<T> filter)
Add new field to a repeating view
|
<T extends OrmUjo> |
FieldProvider.add(org.ujorm.Key<? super U,T> key,
org.ujorm.Key<T,?> display,
org.ujorm.criterion.Criterion<T> crn)
Add a Combo-box for a
|
<T extends org.ujorm.Ujo & Serializable> |
FieldProvider.add(org.ujorm.Key<? super U,T> key,
OfferModel<T> model)
Add new field to a repeating view
|
protected Field<?> |
FieldProvider.findFirstField()
Find first enabled field with a non-null Key or return the
null. |
<T> Field<T> |
FieldProvider.getLast()
Returns the last field or throw an exception
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Field> |
FieldProvider.getFields()
Return all fields
|
| Modifier and Type | Method and Description |
|---|---|
<T> Field<T> |
FieldProvider.add(Field<T> field)
Add any field to a repeating view
and set the OutputMarkupPlaceholderTag to value
true. |
protected void |
FieldProvider.addValidator(org.ujorm.Key<? super U,?> key,
Field field)
Set a validator of the Key to the Field from argument
|
| Modifier and Type | Method and Description |
|---|---|
<T extends org.ujorm.Ujo> |
FieldProvider.add(org.ujorm.Key<? super U,T> key,
Class<? extends Field> fieldClass)
Create a field of the required instance and set the result into container.
|
| Constructor and Description |
|---|
FieldProvider(org.apache.wicket.markup.repeater.RepeatingView repeatingView,
Map<String,Field> fields)
Final constructor
|
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanField<T extends Boolean>
CheckBox field with a Label including a feedback message.
|
class |
ComboField<T extends org.ujorm.Ujo>
CheckBox field with a Label including a feedback message.
|
class |
DateField<T>
CheckBox field with a Label including a feedback message.
|
class |
EnumField<T extends Enum<T>>
CheckBox field with a Label including a feedback message.
|
class |
FeedbackField<T>
Common Feedback Field
|
class |
GridField<T>
GridField field with a Label including a feedback message.
|
class |
LocalDateField<T>
LocalDate field with a Label including a feedback message.
|
class |
LocalDateTimeField<T>
Local datetime field with a Label including a feedback message.
|
class |
OfferField<U extends org.ujorm.Ujo & Serializable>
UjoField field with a Label including a feedback message.
|
class |
PasswordField<T>
Text field for a password including a feedback message.
|
class |
TextAreaField<T extends String>
CheckBox field with a Label including a feedback message.
|
class |
TextField<T extends String>
Input textfield with a Label including a feedback message.
|
| Modifier and Type | Method and Description |
|---|---|
Field<T> |
Field.addBehaviour(org.apache.wicket.ajax.AjaxEventBehavior behavior)
add Behaviour
|
Field<T> |
Field.addCssStyle()
Add a CSS style according the Key
|
Field<T> |
Field.addCssStyle(CharSequence cssStyle)
Add a CSS style to the current field
|
Field<T> |
Field.addValidator(org.apache.wicket.validation.IValidator<T> validator)
Validator setter
|
Field<T> |
Field.addValidator(org.ujorm.Validator<T> ujoValidator)
The UJO Validator setter
|
static <T extends OrmUjo & Serializable> |
OfferField.of(org.ujorm.Key<?,T> key,
Query<T> query,
org.ujorm.Key<T,?> display)
Create new ComboField using database request
|
static <U extends OrmUjo & Serializable> |
OfferField.of(org.ujorm.Key<?,U> key)
Create new ComboField using database request
|
static <U extends OrmUjo & Serializable> |
OfferField.of(org.ujorm.Key<?,U> key,
org.ujorm.Key<U,?> display)
Create new ComboField using database request
|
Field |
Field.setVisibleModel(org.apache.wicket.model.IModel<Boolean> visibleModel)
Extended visible model, the
null value means a default manner. |
Copyright © 2018. All rights reserved.