当前页面:
在线文档首页 >
JBoss Seam 1.1.7 cr1 API 英文版文档
DataModelIndexSelector (JBoss Seam API Documentation) - JBoss Seam 1.1.7 cr1 API 英文版文档
org.jboss.seam.databinding
Class DataModelIndexSelector
java.lang.Object
org.jboss.seam.databinding.DataModelIndexSelector
- All Implemented Interfaces:
- DataSelector<DataModelSelectionIndex,javax.faces.model.DataModel>
public class DataModelIndexSelector
- extends Object
- implements DataSelector<DataModelSelectionIndex,javax.faces.model.DataModel>
Extracts the selected "index" (the row index, or the key of a map) from a JSF DataModel.
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataModelIndexSelector
public DataModelIndexSelector()
getVariableName
public String getVariableName(DataModelSelectionIndex in)
- Specified by:
getVariableName
in interface DataSelector<DataModelSelectionIndex,javax.faces.model.DataModel>
getSelection
public Object getSelection(DataModelSelectionIndex in,
javax.faces.model.DataModel wrapper)
- Specified by:
getSelection
in interface DataSelector<DataModelSelectionIndex,javax.faces.model.DataModel>