*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlSubTable comp = (HtmlSubTable) component;
if (this._ajaxKeys != null) {
if (this._ajaxKeys.isLiteralText()) {
try {
java.util.Set __ajaxKeys = (java.util.Set) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._ajaxKeys.getExpressionString(),
java.util.Set.class);
comp.setAjaxKeys(__ajaxKeys);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("ajaxKeys", this._ajaxKeys);
}
}
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 (this._componentState != null) {
if (this._componentState.isLiteralText()) {
try {
org.ajax4jsf.model.DataComponentState __componentState = (org.ajax4jsf.model.DataComponentState) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._componentState.getExpressionString(),
org.ajax4jsf.model.DataComponentState.class);
comp.setComponentState(__componentState);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("componentState", this._componentState);
}
}
if(null != this._filterMethod){
((HtmlSubTable)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._first != null) {
if (this._first.isLiteralText()) {
try {
Integer __first = (Integer) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._first.getExpressionString(),
Integer.class);
comp.setFirst(__first.intValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("first", this._first);
}
}
if (this._footerClass != null) {
if (this._footerClass.isLiteralText()) {
try {
java.lang.String __footerClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._footerClass.getExpressionString(),
java.lang.String.class);
comp.setFooterClass(__footerClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("footerClass", this._footerClass);
}
}
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._onRowClick != null) {
if (this._onRowClick.isLiteralText()) {
try {
java.lang.String __onRowClick = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onRowClick.getExpressionString(),
java.lang.String.class);
comp.setOnRowClick(__onRowClick);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onRowClick", this._onRowClick);
}
}
if (this._onRowDblClick != null) {
if (this._onRowDblClick.isLiteralText()) {
try {
java.lang.String __onRowDblClick = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onRowDblClick.getExpressionString(),
java.lang.String.class);
comp.setOnRowDblClick(__onRowDblClick);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onRowDblClick", this._onRowDblClick);
}
}
if (this._onRowMouseDown != null) {
if (this._onRowMouseDown.isLiteralText()) {
try {
java.lang.String __onRowMouseDown = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onRowMouseDown.getExpressionString(),
java.lang.String.class);
comp.setOnRowMouseDown(__onRowMouseDown);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onRowMouseDown", this._onRowMouseDown);
}
}
if (this._onRowMouseMove != null) {
if (this._onRowMouseMove.isLiteralText()) {
try {
java.lang.String __onRowMouseMove = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onRowMouseMove.getExpressionString(),
java.lang.String.class);
comp.setOnRowMouseMove(__onRowMouseMove);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onRowMouseMove", this._onRowMouseMove);
}
}
if (this._onRowMouseOut != null) {
if (this._onRowMouseOut.isLiteralText()) {
try {
java.lang.String __onRowMouseOut = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onRowMouseOut.getExpressionString(),
java.lang.String.class);
comp.setOnRowMouseOut(__onRowMouseOut);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onRowMouseOut", this._onRowMouseOut);
}
}
if (this._onRowMouseOver != null) {
if (this._onRowMouseOver.isLiteralText()) {
try {
java.lang.String __onRowMouseOver = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onRowMouseOver.getExpressionString(),
java.lang.String.class);
comp.setOnRowMouseOver(__onRowMouseOver);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onRowMouseOver", this._onRowMouseOver);
}
}
if (this._onRowMouseUp != null) {
if (this._onRowMouseUp.isLiteralText()) {
try {
java.lang.String __onRowMouseUp = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onRowMouseUp.getExpressionString(),
java.lang.String.class);
comp.setOnRowMouseUp(__onRowMouseUp);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onRowMouseUp", this._onRowMouseUp);
}
}
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);
}
}
setRowKeyConverterProperty(comp, this._rowKeyConverter);
if (this._rowKeyVar != null) {
if (this._rowKeyVar.isLiteralText()) {
try {
java.lang.String __rowKeyVar = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._rowKeyVar.getExpressionString(),
java.lang.String.class);
comp.setRowKeyVar(__rowKeyVar);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("rowKeyVar", this._rowKeyVar);
}
}
if (this._rows != null) {
if (this._rows.isLiteralText()) {
try {
Integer __rows = (Integer) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._rows.getExpressionString(),
Integer.class);
comp.setRows(__rows.intValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("rows", this._rows);
}
}
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._sortExpression != null) {
if (this._sortExpression.isLiteralText()) {
try {
java.lang.String __sortExpression = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._sortExpression.getExpressionString(),
java.lang.String.class);
comp.setSortExpression(__sortExpression);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("sortExpression", this._sortExpression);
}
}
if (this._sortMode != null) {
if (this._sortMode.isLiteralText()) {
try {
java.lang.String __sortMode = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._sortMode.getExpressionString(),
java.lang.String.class);
comp.setSortMode(__sortMode);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("sortMode", this._sortMode);
}
}
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);
}
}
if (this._sortPriority != null) {
if (this._sortPriority.isLiteralText()) {
try {
java.util.Collection __sortPriority = (java.util.Collection) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._sortPriority.getExpressionString(),
java.util.Collection.class);
comp.setSortPriority(__sortPriority);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("sortPriority", this._sortPriority);
}
}
if (this._stateVar != null) {
if (this._stateVar.isLiteralText()) {
try {
java.lang.String __stateVar = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._stateVar.getExpressionString(),
java.lang.String.class);
comp.setStateVar(__stateVar);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("stateVar", this._stateVar);
}
}
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);
}
}
if (this._var != null) {
comp.setVar(this._var);
}
}