org.jboss.seam.annotations.datamodel
Annotation Type DataModelSelectionIndex


@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
@Documented
@DataSelectorClass(value=DataModelIndexSelector.class)
public @interface DataModelSelectionIndex

Injects the selected row index of a ListDataModel, MapDataModel or ArrayDataModel. Intended for use with @DataModel.

Author:
Gavin King
See Also:
DataModel

Optional Element Summary
 java.lang.String value
          The context variable name of the DataModel.
 

value

public abstract java.lang.String value
The context variable name of the DataModel. Defaults to the name for the outjected @DataModel if there is exactly one @DataModel for the component.

Default:
""


Copyright © 2011 Seam Framework. All Rights Reserved.