public class JosefSelectUtilBean extends Object
Constructor and Description |
---|
JosefSelectUtilBean() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasZeroOrOneSelectItem(javax.faces.component.UIInput selectComponent)
Determines whether the supplied uiComponent contains zero or one
SelectItem . |
boolean |
hasZeroOrOneSelectItem(javax.faces.component.UINamingContainer namingContainer,
String componentId)
Determines whether the supplied namingContainer has a Select...
|
public boolean hasZeroOrOneSelectItem(javax.faces.component.UIInput selectComponent)
SelectItem
.selectComponent
- The component to check.SelectItem
,
otherwise false is returned.NullPointerException
- When the supplied selectComponent is null.JsfSelectItemUtil.hasZeroOrOneSelectItem(UIInput)
public boolean hasZeroOrOneSelectItem(javax.faces.component.UINamingContainer namingContainer, String componentId)
SelectItem
.namingContainer
- The naming container of the Select... component.componentId
- The ID of the Select... component.SelectItem
,
otherwise false is returned.IllegalArgumentException
- When the supplied componentId is empty.NullPointerException
- When either the supplied namingContainer or componentId is null.JsfSelectItemUtil.hasZeroOrOneSelectItem(UIInput)
Copyright © 2008–2018. All rights reserved.