*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlPanelMenu comp = (HtmlPanelMenu) component;
setConverterProperty(comp, this._converter);
if (this._converterMessage != null) {
if (this._converterMessage.isLiteralText()) {
try {
java.lang.String __converterMessage = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._converterMessage.getExpressionString(),
java.lang.String.class);
comp.setConverterMessage(__converterMessage);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("converterMessage", this._converterMessage);
}
}
if (this._disabled != null) {
if (this._disabled.isLiteralText()) {
try {
Boolean __disabled = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._disabled.getExpressionString(),
Boolean.class);
comp.setDisabled(__disabled.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("disabled", this._disabled);
}
}
if (this._disabledGroupClass != null) {
if (this._disabledGroupClass.isLiteralText()) {
try {
java.lang.String __disabledGroupClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._disabledGroupClass.getExpressionString(),
java.lang.String.class);
comp.setDisabledGroupClass(__disabledGroupClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("disabledGroupClass", this._disabledGroupClass);
}
}
if (this._disabledGroupStyle != null) {
if (this._disabledGroupStyle.isLiteralText()) {
try {
java.lang.String __disabledGroupStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._disabledGroupStyle.getExpressionString(),
java.lang.String.class);
comp.setDisabledGroupStyle(__disabledGroupStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("disabledGroupStyle", this._disabledGroupStyle);
}
}
if (this._disabledItemClass != null) {
if (this._disabledItemClass.isLiteralText()) {
try {
java.lang.String __disabledItemClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._disabledItemClass.getExpressionString(),
java.lang.String.class);
comp.setDisabledItemClass(__disabledItemClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("disabledItemClass", this._disabledItemClass);
}
}
if (this._disabledItemStyle != null) {
if (this._disabledItemStyle.isLiteralText()) {
try {
java.lang.String __disabledItemStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._disabledItemStyle.getExpressionString(),
java.lang.String.class);
comp.setDisabledItemStyle(__disabledItemStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("disabledItemStyle", this._disabledItemStyle);
}
}
if (this._event != null) {
if (this._event.isLiteralText()) {
try {
java.lang.String __event = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._event.getExpressionString(),
java.lang.String.class);
comp.setEvent(__event);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("event", this._event);
}
}
if (this._expandMode != null) {
if (this._expandMode.isLiteralText()) {
try {
java.lang.String __expandMode = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._expandMode.getExpressionString(),
java.lang.String.class);
comp.setExpandMode(__expandMode);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("expandMode", this._expandMode);
}
}
if (this._expandSingle != null) {
if (this._expandSingle.isLiteralText()) {
try {
Boolean __expandSingle = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._expandSingle.getExpressionString(),
Boolean.class);
comp.setExpandSingle(__expandSingle.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("expandSingle", this._expandSingle);
}
}
if (this._groupClass != null) {
if (this._groupClass.isLiteralText()) {
try {
java.lang.String __groupClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._groupClass.getExpressionString(),
java.lang.String.class);
comp.setGroupClass(__groupClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("groupClass", this._groupClass);
}
}
if (this._groupStyle != null) {
if (this._groupStyle.isLiteralText()) {
try {
java.lang.String __groupStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._groupStyle.getExpressionString(),
java.lang.String.class);
comp.setGroupStyle(__groupStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("groupStyle", this._groupStyle);
}
}
if (this._hoveredGroupClass != null) {
if (this._hoveredGroupClass.isLiteralText()) {
try {
java.lang.String __hoveredGroupClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._hoveredGroupClass.getExpressionString(),
java.lang.String.class);
comp.setHoveredGroupClass(__hoveredGroupClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("hoveredGroupClass", this._hoveredGroupClass);
}
}
if (this._hoveredGroupStyle != null) {
if (this._hoveredGroupStyle.isLiteralText()) {
try {
java.lang.String __hoveredGroupStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._hoveredGroupStyle.getExpressionString(),
java.lang.String.class);
comp.setHoveredGroupStyle(__hoveredGroupStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("hoveredGroupStyle", this._hoveredGroupStyle);
}
}
if (this._hoveredItemClass != null) {
if (this._hoveredItemClass.isLiteralText()) {
try {
java.lang.String __hoveredItemClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._hoveredItemClass.getExpressionString(),
java.lang.String.class);
comp.setHoveredItemClass(__hoveredItemClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("hoveredItemClass", this._hoveredItemClass);
}
}
if (this._hoveredItemStyle != null) {
if (this._hoveredItemStyle.isLiteralText()) {
try {
java.lang.String __hoveredItemStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._hoveredItemStyle.getExpressionString(),
java.lang.String.class);
comp.setHoveredItemStyle(__hoveredItemStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("hoveredItemStyle", this._hoveredItemStyle);
}
}
if (this._iconCollapsedGroup != null) {
if (this._iconCollapsedGroup.isLiteralText()) {
try {
java.lang.String __iconCollapsedGroup = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconCollapsedGroup.getExpressionString(),
java.lang.String.class);
comp.setIconCollapsedGroup(__iconCollapsedGroup);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconCollapsedGroup", this._iconCollapsedGroup);
}
}
if (this._iconCollapsedTopGroup != null) {
if (this._iconCollapsedTopGroup.isLiteralText()) {
try {
java.lang.String __iconCollapsedTopGroup = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconCollapsedTopGroup.getExpressionString(),
java.lang.String.class);
comp.setIconCollapsedTopGroup(__iconCollapsedTopGroup);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconCollapsedTopGroup", this._iconCollapsedTopGroup);
}
}
if (this._iconDisabledGroup != null) {
if (this._iconDisabledGroup.isLiteralText()) {
try {
java.lang.String __iconDisabledGroup = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconDisabledGroup.getExpressionString(),
java.lang.String.class);
comp.setIconDisabledGroup(__iconDisabledGroup);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconDisabledGroup", this._iconDisabledGroup);
}
}
if (this._iconDisabledItem != null) {
if (this._iconDisabledItem.isLiteralText()) {
try {
java.lang.String __iconDisabledItem = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconDisabledItem.getExpressionString(),
java.lang.String.class);
comp.setIconDisabledItem(__iconDisabledItem);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconDisabledItem", this._iconDisabledItem);
}
}
if (this._iconExpandedGroup != null) {
if (this._iconExpandedGroup.isLiteralText()) {
try {
java.lang.String __iconExpandedGroup = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconExpandedGroup.getExpressionString(),
java.lang.String.class);
comp.setIconExpandedGroup(__iconExpandedGroup);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconExpandedGroup", this._iconExpandedGroup);
}
}
if (this._iconExpandedTopGroup != null) {
if (this._iconExpandedTopGroup.isLiteralText()) {
try {
java.lang.String __iconExpandedTopGroup = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconExpandedTopGroup.getExpressionString(),
java.lang.String.class);
comp.setIconExpandedTopGroup(__iconExpandedTopGroup);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconExpandedTopGroup", this._iconExpandedTopGroup);
}
}
if (this._iconGroupPosition != null) {
if (this._iconGroupPosition.isLiteralText()) {
try {
java.lang.String __iconGroupPosition = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconGroupPosition.getExpressionString(),
java.lang.String.class);
comp.setIconGroupPosition(__iconGroupPosition);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconGroupPosition", this._iconGroupPosition);
}
}
if (this._iconGroupTopPosition != null) {
if (this._iconGroupTopPosition.isLiteralText()) {
try {
java.lang.String __iconGroupTopPosition = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconGroupTopPosition.getExpressionString(),
java.lang.String.class);
comp.setIconGroupTopPosition(__iconGroupTopPosition);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconGroupTopPosition", this._iconGroupTopPosition);
}
}
if (this._iconItem != null) {
if (this._iconItem.isLiteralText()) {
try {
java.lang.String __iconItem = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconItem.getExpressionString(),
java.lang.String.class);
comp.setIconItem(__iconItem);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconItem", this._iconItem);
}
}
if (this._iconItemPosition != null) {
if (this._iconItemPosition.isLiteralText()) {
try {
java.lang.String __iconItemPosition = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconItemPosition.getExpressionString(),
java.lang.String.class);
comp.setIconItemPosition(__iconItemPosition);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconItemPosition", this._iconItemPosition);
}
}
if (this._iconItemTopPosition != null) {
if (this._iconItemTopPosition.isLiteralText()) {
try {
java.lang.String __iconItemTopPosition = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconItemTopPosition.getExpressionString(),
java.lang.String.class);
comp.setIconItemTopPosition(__iconItemTopPosition);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconItemTopPosition", this._iconItemTopPosition);
}
}
if (this._iconTopDisableGroup != null) {
if (this._iconTopDisableGroup.isLiteralText()) {
try {
java.lang.String __iconTopDisableGroup = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconTopDisableGroup.getExpressionString(),
java.lang.String.class);
comp.setIconTopDisableGroup(__iconTopDisableGroup);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconTopDisableGroup", this._iconTopDisableGroup);
}
}
if (this._iconTopDisabledItem != null) {
if (this._iconTopDisabledItem.isLiteralText()) {
try {
java.lang.String __iconTopDisabledItem = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconTopDisabledItem.getExpressionString(),
java.lang.String.class);
comp.setIconTopDisabledItem(__iconTopDisabledItem);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconTopDisabledItem", this._iconTopDisabledItem);
}
}
if (this._iconTopItem != null) {
if (this._iconTopItem.isLiteralText()) {
try {
java.lang.String __iconTopItem = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconTopItem.getExpressionString(),
java.lang.String.class);
comp.setIconTopItem(__iconTopItem);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconTopItem", this._iconTopItem);
}
}
if (this._immediate != null) {
if (this._immediate.isLiteralText()) {
try {
Boolean __immediate = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._immediate.getExpressionString(),
Boolean.class);
comp.setImmediate(__immediate.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("immediate", this._immediate);
}
}
if (this._itemClass != null) {
if (this._itemClass.isLiteralText()) {
try {
java.lang.String __itemClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._itemClass.getExpressionString(),
java.lang.String.class);
comp.setItemClass(__itemClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("itemClass", this._itemClass);
}
}
if (this._itemStyle != null) {
if (this._itemStyle.isLiteralText()) {
try {
java.lang.String __itemStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._itemStyle.getExpressionString(),
java.lang.String.class);
comp.setItemStyle(__itemStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("itemStyle", this._itemStyle);
}
}
if (this._label != null) {
if (this._label.isLiteralText()) {
try {
java.lang.String __label = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._label.getExpressionString(),
java.lang.String.class);
comp.setLabel(__label);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("label", this._label);
}
}
if (this._mode != null) {
if (this._mode.isLiteralText()) {
try {
java.lang.String __mode = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._mode.getExpressionString(),
java.lang.String.class);
comp.setMode(__mode);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("mode", this._mode);
}
}
if (this._ongroupcollapse != null) {
if (this._ongroupcollapse.isLiteralText()) {
try {
java.lang.String __ongroupcollapse = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._ongroupcollapse.getExpressionString(),
java.lang.String.class);
comp.setOngroupcollapse(__ongroupcollapse);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("ongroupcollapse", this._ongroupcollapse);
}
}
if (this._ongroupexpand != null) {
if (this._ongroupexpand.isLiteralText()) {
try {
java.lang.String __ongroupexpand = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._ongroupexpand.getExpressionString(),
java.lang.String.class);
comp.setOngroupexpand(__ongroupexpand);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("ongroupexpand", this._ongroupexpand);
}
}
if (this._onitemhover != null) {
if (this._onitemhover.isLiteralText()) {
try {
java.lang.String __onitemhover = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onitemhover.getExpressionString(),
java.lang.String.class);
comp.setOnitemhover(__onitemhover);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onitemhover", this._onitemhover);
}
}
if (this._required != null) {
if (this._required.isLiteralText()) {
try {
Boolean __required = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._required.getExpressionString(),
Boolean.class);
comp.setRequired(__required.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("required", this._required);
}
}
if (this._requiredMessage != null) {
if (this._requiredMessage.isLiteralText()) {
try {
java.lang.String __requiredMessage = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._requiredMessage.getExpressionString(),
java.lang.String.class);
comp.setRequiredMessage(__requiredMessage);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("requiredMessage", this._requiredMessage);
}
}
if (this._selectedChild != null) {
if (this._selectedChild.isLiteralText()) {
try {
java.lang.String __selectedChild = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._selectedChild.getExpressionString(),
java.lang.String.class);
comp.setSelectedChild(__selectedChild);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("selectedChild", this._selectedChild);
}
}
if (this._topGroupClass != null) {
if (this._topGroupClass.isLiteralText()) {
try {
java.lang.String __topGroupClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._topGroupClass.getExpressionString(),
java.lang.String.class);
comp.setTopGroupClass(__topGroupClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("topGroupClass", this._topGroupClass);
}
}
if (this._topGroupStyle != null) {
if (this._topGroupStyle.isLiteralText()) {
try {
java.lang.String __topGroupStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._topGroupStyle.getExpressionString(),
java.lang.String.class);
comp.setTopGroupStyle(__topGroupStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("topGroupStyle", this._topGroupStyle);
}
}
if (this._topItemClass != null) {
if (this._topItemClass.isLiteralText()) {
try {
java.lang.String __topItemClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._topItemClass.getExpressionString(),
java.lang.String.class);
comp.setTopItemClass(__topItemClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("topItemClass", this._topItemClass);
}
}
if (this._topItemStyle != null) {
if (this._topItemStyle.isLiteralText()) {
try {
java.lang.String __topItemStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._topItemStyle.getExpressionString(),
java.lang.String.class);
comp.setTopItemStyle(__topItemStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("topItemStyle", this._topItemStyle);
}
}
setValidatorProperty(comp, this._validator);
if (this._validatorMessage != null) {
if (this._validatorMessage.isLiteralText()) {
try {
java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._validatorMessage.getExpressionString(),
java.lang.String.class);
comp.setValidatorMessage(__validatorMessage);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("validatorMessage", this._validatorMessage);
}
}
if (this._value != null) {
if (this._value.isLiteralText()) {
try {
java.lang.Object __value = (java.lang.Object) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._value.getExpressionString(),
java.lang.Object.class);
comp.setValue(__value);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("value", this._value);
}
}
setValueChangeListenerProperty(comp, this._valueChangeListener);
if (this._width != null) {
if (this._width.isLiteralText()) {
try {
java.lang.String __width = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._width.getExpressionString(),
java.lang.String.class);
comp.setWidth(__width);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("width", this._width);