*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlPanelBar comp = (HtmlPanelBar) component;
if (this._contentClass != null) {
if (this._contentClass.isLiteralText()) {
try {
java.lang.String __contentClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._contentClass.getExpressionString(),
java.lang.String.class);
comp.setContentClass(__contentClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("contentClass", this._contentClass);
}
}
if (this._contentStyle != null) {
if (this._contentStyle.isLiteralText()) {
try {
java.lang.String __contentStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._contentStyle.getExpressionString(),
java.lang.String.class);
comp.setContentStyle(__contentStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("contentStyle", this._contentStyle);
}
}
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._headerClass != null) {
if (this._headerClass.isLiteralText()) {
try {
java.lang.String __headerClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._headerClass.getExpressionString(),
java.lang.String.class);
comp.setHeaderClass(__headerClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("headerClass", this._headerClass);
}
}
if (this._headerClassActive != null) {
if (this._headerClassActive.isLiteralText()) {
try {
java.lang.String __headerClassActive = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._headerClassActive.getExpressionString(),
java.lang.String.class);
comp.setHeaderClassActive(__headerClassActive);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("headerClassActive", this._headerClassActive);
}
}
if (this._headerStyle != null) {
if (this._headerStyle.isLiteralText()) {
try {
java.lang.String __headerStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._headerStyle.getExpressionString(),
java.lang.String.class);
comp.setHeaderStyle(__headerStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("headerStyle", this._headerStyle);
}
}
if (this._headerStyleActive != null) {
if (this._headerStyleActive.isLiteralText()) {
try {
java.lang.String __headerStyleActive = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._headerStyleActive.getExpressionString(),
java.lang.String.class);
comp.setHeaderStyleActive(__headerStyleActive);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("headerStyleActive", this._headerStyleActive);
}
}
if (this._height != null) {
if (this._height.isLiteralText()) {
try {
java.lang.String __height = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._height.getExpressionString(),
java.lang.String.class);
comp.setHeight(__height);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("height", this._height);
}
}
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._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._onitemchange != null) {
if (this._onitemchange.isLiteralText()) {
try {
java.lang.String __onitemchange = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onitemchange.getExpressionString(),
java.lang.String.class);
comp.setOnitemchange(__onitemchange);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onitemchange", this._onitemchange);
}
}
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._selectedPanel != null) {
if (this._selectedPanel.isLiteralText()) {
try {
java.lang.Object __selectedPanel = (java.lang.Object) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._selectedPanel.getExpressionString(),
java.lang.Object.class);
comp.setSelectedPanel(__selectedPanel);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("selectedPanel", this._selectedPanel);
}
}
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);