*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlMenuGroup comp = (HtmlMenuGroup) component;
setConverterProperty(comp, this._converter);
if (this._direction != null) {
if (this._direction.isLiteralText()) {
try {
java.lang.String __direction = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._direction.getExpressionString(),
java.lang.String.class);
comp.setDirection(__direction);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("direction", this._direction);
}
}
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._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._icon != null) {
if (this._icon.isLiteralText()) {
try {
java.lang.String __icon = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._icon.getExpressionString(),
java.lang.String.class);
comp.setIcon(__icon);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("icon", this._icon);
}
}
if (this._iconClass != null) {
if (this._iconClass.isLiteralText()) {
try {
java.lang.String __iconClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconClass.getExpressionString(),
java.lang.String.class);
comp.setIconClass(__iconClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconClass", this._iconClass);
}
}
if (this._iconDisabled != null) {
if (this._iconDisabled.isLiteralText()) {
try {
java.lang.String __iconDisabled = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconDisabled.getExpressionString(),
java.lang.String.class);
comp.setIconDisabled(__iconDisabled);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconDisabled", this._iconDisabled);
}
}
if (this._iconFolder != null) {
if (this._iconFolder.isLiteralText()) {
try {
java.lang.String __iconFolder = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconFolder.getExpressionString(),
java.lang.String.class);
comp.setIconFolder(__iconFolder);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconFolder", this._iconFolder);
}
}
if (this._iconFolderDisabled != null) {
if (this._iconFolderDisabled.isLiteralText()) {
try {
java.lang.String __iconFolderDisabled = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconFolderDisabled.getExpressionString(),
java.lang.String.class);
comp.setIconFolderDisabled(__iconFolderDisabled);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconFolderDisabled", this._iconFolderDisabled);
}
}
if (this._iconStyle != null) {
if (this._iconStyle.isLiteralText()) {
try {
java.lang.String __iconStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._iconStyle.getExpressionString(),
java.lang.String.class);
comp.setIconStyle(__iconStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("iconStyle", this._iconStyle);
}
}
if (this._labelClass != null) {
if (this._labelClass.isLiteralText()) {
try {
java.lang.String __labelClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._labelClass.getExpressionString(),
java.lang.String.class);
comp.setLabelClass(__labelClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("labelClass", this._labelClass);
}
}
if (this._onclose != null) {
if (this._onclose.isLiteralText()) {
try {
java.lang.String __onclose = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onclose.getExpressionString(),
java.lang.String.class);
comp.setOnclose(__onclose);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onclose", this._onclose);
}
}
if (this._onopen != null) {
if (this._onopen.isLiteralText()) {
try {
java.lang.String __onopen = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onopen.getExpressionString(),
java.lang.String.class);
comp.setOnopen(__onopen);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onopen", this._onopen);
}
}
if (this._selectClass != null) {
if (this._selectClass.isLiteralText()) {
try {
java.lang.String __selectClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._selectClass.getExpressionString(),
java.lang.String.class);
comp.setSelectClass(__selectClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("selectClass", this._selectClass);
}
}
if (this._selectStyle != null) {
if (this._selectStyle.isLiteralText()) {
try {
java.lang.String __selectStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._selectStyle.getExpressionString(),
java.lang.String.class);
comp.setSelectStyle(__selectStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("selectStyle", this._selectStyle);
}
}
if (this._showDelay != null) {
if (this._showDelay.isLiteralText()) {
try {
java.lang.Integer __showDelay = (java.lang.Integer) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._showDelay.getExpressionString(),
java.lang.Integer.class);
comp.setShowDelay(__showDelay);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("showDelay", this._showDelay);
}
}
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);