Class OutcomeTargetUtils
- java.lang.Object
- 
- org.apache.myfaces.renderkit.html.util.OutcomeTargetUtils
 
- 
 public class OutcomeTargetUtils extends Object Utility methods for OutcomeTarget components.
- 
- 
Constructor SummaryConstructors Constructor Description OutcomeTargetUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetOutcomeTargetHref(FacesContext facesContext, UIOutcomeTarget component)static List<UIParameter>getValidUIParameterChildren(FacesContext facesContext, List<UIComponent> children, boolean skipNullValue, boolean skipUnrendered)Calls getValidUIParameterChildren(facesContext, children, skipNullValue, skipUnrendered, true);static List<UIParameter>getValidUIParameterChildren(FacesContext facesContext, List<UIComponent> children, boolean skipNullValue, boolean skipUnrendered, boolean skipNullName)Returns a List of all valid UIParameter children from the given children.
 
- 
- 
- 
Method Detail- 
getOutcomeTargetHrefpublic static String getOutcomeTargetHref(FacesContext facesContext, UIOutcomeTarget component) throws IOException - Throws:
- IOException
 
 - 
getValidUIParameterChildrenpublic static List<UIParameter> getValidUIParameterChildren(FacesContext facesContext, List<UIComponent> children, boolean skipNullValue, boolean skipUnrendered) Calls getValidUIParameterChildren(facesContext, children, skipNullValue, skipUnrendered, true);- Parameters:
- facesContext-
- children-
- skipNullValue-
- skipUnrendered-
- Returns:
- ArrayList size > 0 if any parameter found
 
 - 
getValidUIParameterChildrenpublic static List<UIParameter> getValidUIParameterChildren(FacesContext facesContext, List<UIComponent> children, boolean skipNullValue, boolean skipUnrendered, boolean skipNullName) Returns a List of all valid UIParameter children from the given children. Valid means that the UIParameter is not disabled, its name is not null (if skipNullName is true), its value is not null (if skipNullValue is true) and it is rendered (if skipUnrendered is true). This method also creates a warning for every UIParameter with a null-name (again, if skipNullName is true) and, if ProjectStage is Development and skipNullValue is true, it informs the user about every null-value.- Parameters:
- facesContext-
- children-
- skipNullValue- should UIParameters with a null value be skipped
- skipUnrendered- should UIParameters with isRendered() returning false be skipped
- skipNullName- should UIParameters with a null name be skipped (normally true, but in the case of h:outputFormat false)
- Returns:
- ArrayList size > 0 if any parameter found
 
 
- 
 
-