*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlPanel comp = (HtmlPanel) component;
if (this._bodyClass != null) {
if (this._bodyClass.isLiteralText()) {
try {
java.lang.String __bodyClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._bodyClass.getExpressionString(),
java.lang.String.class);
comp.setBodyClass(__bodyClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("bodyClass", this._bodyClass);
}
}
if (this._header != null) {
if (this._header.isLiteralText()) {
try {
java.lang.String __header = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._header.getExpressionString(),
java.lang.String.class);
comp.setHeader(__header);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("header", this._header);
}
}
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);