code: public List<UIParameter> extractParameters(final UIComponent component)
     {
        List<UIParameter> results = new ArrayList<UIParameter>();
        for (UIComponent child : component.getChildren())
        {
           if (child instanceof UIParameter)
           {
              final UIParameter param = (UIParameter) child;
              if (!param.isDisable())
              {
                 results.add(param);
              }
           }
        }
        return results;
     }
docs: Extract any {@link UIParameter} objects from a given component. These
  parameters are what PrettyFaces uses to communicate with the JSF component
  tree
  
  @param component
  @return A list of {@link UIParameter} objects, or an empty list if no
  {@link UIParameter}s were contained within the component children.