/** * Gets The escape setting for the label of this selection item. * * @return the new itemEscaped value */ public boolean isItemEscaped() { if (_itemEscapedSet) { return _itemEscaped; } ValueExpression expression = getValueExpression("itemEscaped"); if (expression != null) { return (Boolean)expression.getValue(getFacesContext().getELContext()); } return false; }
/** * Gets The string which will be presented to the user for this option. * * @return the new itemLabel value */ public String getItemLabel() { if (_itemLabel != null) { return _itemLabel; } ValueExpression expression = getValueExpression("itemLabel"); if (expression != null) { return (String)expression.getValue(getFacesContext().getELContext()); } return null; }
/** * Gets The value for this Item. * * @return the new itemValue value */ public Object getItemValue() { if (_itemValue != null) { return _itemValue; } ValueExpression expression = getValueExpression("itemValue"); if (expression != null) { return expression.getValue(getFacesContext().getELContext()); } return null; }
/** * Gets The initial value of this component. * * @return the new value value */ public Object getValue() { if (_value != null) { return _value; } ValueExpression expression = getValueExpression("value"); if (expression != null) { return expression.getValue(getFacesContext().getELContext()); } return null; }
/** * Gets For use in development tools. * * @return the new itemDescription value */ public String getItemDescription() { if (_itemDescription != null) { return _itemDescription; } ValueExpression expression = getValueExpression("itemDescription"); if (expression != null) { return (String)expression.getValue(getFacesContext().getELContext()); } return null; }
/** * Gets Determine whether this item can be chosen by the user. * When true, this item cannot be chosen by the user. If this method is * ever called, then any EL-binding for the disabled property will be ignored. * * @return the new itemDisabled value */ public boolean isItemDisabled() { if (_itemDisabledSet) { return _itemDisabled; } ValueExpression expression = getValueExpression("itemDisabled"); if (expression != null) { return (Boolean)expression.getValue(getFacesContext().getELContext()); } return false; }
/** * <p>Return the escape setting for the label of this selection item.</p> */ public boolean isItemEscaped() { if (this.itemEscaped != null) { return (this.itemEscaped); } ValueExpression ve = getValueExpression("itemEscaped"); if (ve != null) { try { return (Boolean.TRUE.equals(ve.getValue(getFacesContext().getELContext()))); } catch (ELException e) { throw new FacesException(e); } } else { return (true); } }
/** * <p>Return the disabled setting for this selection item.</p> */ public boolean isItemDisabled() { if (this.itemDisabled != null) { return (this.itemDisabled); } ValueExpression ve = getValueExpression("itemDisabled"); if (ve != null) { try { return (Boolean.TRUE.equals(ve.getValue(getFacesContext().getELContext()))); } catch (ELException e) { throw new FacesException(e); } } else { return (false); } }
/** * <p>Return the description for this selection item.</p> */ public String getItemDescription() { if (this.itemDescription != null) { return (this.itemDescription); } ValueExpression ve = getValueExpression("itemDescription"); if (ve != null) { try { return ((String) ve.getValue(getFacesContext().getELContext())); } catch (ELException e) { throw new FacesException(e); } } else { return (null); } }
/** * <p>Return the localized label for this selection item.</p> */ public String getItemLabel() { if (this.itemLabel != null) { return (this.itemLabel); } ValueExpression ve = getValueExpression("itemLabel"); if (ve != null) { try { return ((String) ve.getValue(getFacesContext().getELContext())); } catch (ELException e) { throw new FacesException(e); } } else { return (null); } }
/** * <p>Return the server value for this selection item.</p> */ public Object getItemValue() { if (this.itemValue != null) { return (this.itemValue); } ValueExpression ve = getValueExpression("itemValue"); if (ve != null) { try { return ve.getValue(getFacesContext().getELContext()); } catch (ELException e) { throw new FacesException(e); } } else { return (null); } }
/** * <p>Returns the <code>value</code> property of the * <code>UISelectItem</code>.</p> */ public Object getValue() { if (this.value != null) { return (this.value); } ValueExpression ve = getValueExpression("value"); if (ve != null) { try { return (ve.getValue(getFacesContext().getELContext())); } catch (ELException e) { throw new FacesException(e); } } else { return (null); } }