|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openengsb.ui.common.editor.AttributeEditorUtil
public final class AttributeEditorUtil
common utility-functions for creating Forms to edit properties of beans.
| Method Summary | |
|---|---|
static AbstractField<?> |
createEditorField(java.lang.String id,
org.apache.wicket.model.IModel<java.lang.String> model,
AttributeDefinition attribute)
creates a single EditorField for the given attribute |
static AbstractField<?> |
createEditorField(java.lang.String id,
org.apache.wicket.model.IModel<java.lang.String> model,
AttributeDefinition attribute,
boolean editable)
creates a single EditorField for the given attribute |
static org.apache.wicket.markup.repeater.RepeatingView |
createFieldList(java.lang.String id,
java.lang.Class<?> bean,
java.util.Map<java.lang.String,java.lang.String> values)
creates a RepeatingView providing a suitable editor field for every property. |
static org.apache.wicket.markup.repeater.RepeatingView |
createFieldList(java.lang.String id,
java.util.List<AttributeDefinition> attributes,
java.util.Map<java.lang.String,java.lang.String> values)
creates a RepeatingView providing a suitable editor field for every attribute in the list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.apache.wicket.markup.repeater.RepeatingView createFieldList(java.lang.String id,
java.lang.Class<?> bean,
java.util.Map<java.lang.String,java.lang.String> values)
values - map used for saving the data @see org.openengsb.ui.common.wicket.model.MapModel
public static org.apache.wicket.markup.repeater.RepeatingView createFieldList(java.lang.String id,
java.util.List<AttributeDefinition> attributes,
java.util.Map<java.lang.String,java.lang.String> values)
values - map used for saving the data @see org.openengsb.ui.common.wicket.model.MapModel
public static AbstractField<?> createEditorField(java.lang.String id,
org.apache.wicket.model.IModel<java.lang.String> model,
AttributeDefinition attribute)
public static AbstractField<?> createEditorField(java.lang.String id,
org.apache.wicket.model.IModel<java.lang.String> model,
AttributeDefinition attribute,
boolean editable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||