org.richfaces.component.util
Class SelectUtils

java.lang.Object
  extended by org.richfaces.component.util.SelectUtils

public final class SelectUtils
extends Object

Author:
Maksim Kaszynski

Method Summary
static Iterator<javax.faces.model.SelectItem> getSelectItems(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Gathers all select items from specified component's children
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSelectItems

public static Iterator<javax.faces.model.SelectItem> getSelectItems(javax.faces.context.FacesContext context,
                                                                    javax.faces.component.UIComponent component)
Gathers all select items from specified component's children

Parameters:
context - Faces context
component - UIComponent with UISelectItem or UISelectItems children
Returns:
list of SelectItem taken from f:selectItem and f:selectItems


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.