|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) @Documented @DataBinderClass(value=SelectItemsBinder.class) public @interface SelectItems
Outjects a List to the same scope as the owning component, after wrapping items as a SelectItems. Note that the List will be re-wrapped and re-outjected each time the current component value is different to the value held by the context variable as determined by calling List.equals().
Optional Element Summary | |
---|---|
String |
descriptionMethod
If specified, the method of this name will be called and its return value will be used to populate the SelectItem's description. |
String |
disabledMethod
If specified, the method of this name will be called and its return value will be used to populate the SelectItem's disabled flag. |
String |
labelMethod
If specified, the method of this name will be called and its return value will be used to populate the SelectItem's label. |
ScopeType |
scope
Specifies the scope, for values which are not instances of a Seam component. |
String |
value
The context variable name. |
String |
valueMethod
If specified, the method of this name will be called and its return value will be used to populate the SelectItem's value. |
SelectItems.Strategy |
valueStrategy
Choose a strategy for automatic value conversion. |
public abstract String value
public abstract String valueMethod
public abstract String labelMethod
public abstract String descriptionMethod
public abstract String disabledMethod
public abstract SelectItems.Strategy valueStrategy
Choose a strategy for automatic value conversion. A value for valueMethod will override this strategy. INDEX (default) - Value is the index of the original list item. STRING - Value is the toString() representation of the item. OBJECT - Value is the original object, unconverted. Use this option with caution. Unless the value is a String or has a registered converter, JSF renderer will error out.
public abstract ScopeType scope
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |