*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlLayoutPanel comp = (HtmlLayoutPanel) component;
if (this._position != null) {
if (this._position.isLiteralText()) {
try {
org.richfaces.component.LayoutPosition __position = (org.richfaces.component.LayoutPosition) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._position.getExpressionString(),
org.richfaces.component.LayoutPosition.class);
comp.setPosition(__position);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("position", this._position);
}
}
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);