org.richfaces.ui.select

## Class SelectUtils

- java.lang.Object
- - org.richfaces.ui.select.SelectUtils

-     public final class SelectUtils
      extends Object

  Author:
    Maksim Kaszynski

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 © 2013 JBoss by Red Hat. All Rights Reserved.