RichFaces UI Components UI 4.2.2.Final

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

RichFaces UI Components UI 4.2.2.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.