Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces UI Components UI 4.1.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.component.util
Class SelectUtils

    java.lang.Object
      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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces UI Components UI 4.1.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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