*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlColumnGroup comp = (HtmlColumnGroup) component;
if (this._columnClasses != null) {
if (this._columnClasses.isLiteralText()) {
try {
java.lang.String __columnClasses = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._columnClasses.getExpressionString(),
java.lang.String.class);
comp.setColumnClasses(__columnClasses);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("columnClasses", this._columnClasses);
}
}
if(null != this._filterMethod){
((HtmlColumnGroup)component).setFilterMethod(this._filterMethod);
}
if (this._filterValue != null) {
if (this._filterValue.isLiteralText()) {
try {
java.lang.String __filterValue = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._filterValue.getExpressionString(),
java.lang.String.class);
comp.setFilterValue(__filterValue);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("filterValue", this._filterValue);
}
}
if (this._rowClasses != null) {
if (this._rowClasses.isLiteralText()) {
try {
java.lang.String __rowClasses = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._rowClasses.getExpressionString(),
java.lang.String.class);
comp.setRowClasses(__rowClasses);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("rowClasses", this._rowClasses);
}
}
if (this._selfSorted != null) {
if (this._selfSorted.isLiteralText()) {
try {
Boolean __selfSorted = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._selfSorted.getExpressionString(),
Boolean.class);
comp.setSelfSorted(__selfSorted.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("selfSorted", this._selfSorted);
}
}
if (this._sortOrder != null) {
if (this._sortOrder.isLiteralText()) {
try {
org.richfaces.model.Ordering __sortOrder = (org.richfaces.model.Ordering) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._sortOrder.getExpressionString(),
org.richfaces.model.Ordering.class);
comp.setSortOrder(__sortOrder);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("sortOrder", this._sortOrder);