*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlDataOrderedList comp = (HtmlDataOrderedList) 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._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._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._rowKey != null) {
if (this._rowKey.isLiteralText()) {
try {
java.lang.Object __rowKey = (java.lang.Object) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._rowKey.getExpressionString(),
java.lang.Object.class);
comp.setRowKey(__rowKey);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("rowKey", this._rowKey);
}
}
setRowKeyConverterProperty(comp, this._rowKeyConverter);
if (this._rowKeyVar != null) {
comp.setRowKeyVar(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._type != null) {
if (this._type.isLiteralText()) {
try {
java.lang.String __type = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._type.getExpressionString(),
java.lang.String.class);
comp.setType(__type);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("type", this._type);
}
}
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);
}
}