org.jboss.seam.faces
Class DataModels
java.lang.Object
org.jboss.seam.faces.DataModels
@Name(value="org.jboss.seam.faces.dataModels")
@Install(precedence=0,
classDependencies="javax.faces.context.FacesContext")
@Scope(value=STATELESS)
@BypassInterceptors
public class DataModels- extends java.lang.Object
Wraps a collection as a JSF DataModel. May be overridden
and extended if you don't like the built in collections
which are supported: list, map, set, array.
- Author:
- pmuir
|
Method Summary |
javax.faces.model.DataModel |
getDataModel(java.lang.Object value)
Wrap the value in a DataModel
This implementation supports List, Map, Set and
arrays |
javax.faces.model.DataModel |
getDataModel(Query query)
Wrap the the Seam Framework Query in a JSF DataModel |
static DataModels |
instance()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataModels
public DataModels()
getDataModel
public javax.faces.model.DataModel getDataModel(java.lang.Object value)
- Wrap the value in a DataModel
This implementation supports
List, Map, Set and
arrays
getDataModel
public javax.faces.model.DataModel getDataModel(Query query)
- Wrap the the Seam Framework
Query in a JSF DataModel
instance
public static DataModels instance()
Copyright © 2011 Seam Framework. All Rights Reserved.