*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlJQuery comp = (HtmlJQuery) component;
if (this._name != null) {
if (this._name.isLiteralText()) {
try {
java.lang.String __name = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._name.getExpressionString(),
java.lang.String.class);
comp.setName(__name);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("name", this._name);
}
}
if (this._query != null) {
if (this._query.isLiteralText()) {
try {
java.lang.String __query = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._query.getExpressionString(),
java.lang.String.class);
comp.setQuery(__query);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("query", this._query);
}
}
if (this._selector != null) {
if (this._selector.isLiteralText()) {
try {
java.lang.String __selector = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._selector.getExpressionString(),
java.lang.String.class);
comp.setSelector(__selector);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("selector", this._selector);
}
}
if (this._timing != null) {
if (this._timing.isLiteralText()) {
try {
java.lang.String __timing = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._timing.getExpressionString(),
java.lang.String.class);
comp.setTiming(__timing);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("timing", this._timing);