*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlSpan comp = (HtmlSpan) component;
if (this._style != null) {
if (this._style.isLiteralText()) {
try {
java.lang.String __style = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._style.getExpressionString(),
java.lang.String.class);
comp.setStyle(__style);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("style", this._style);
}
}
if (this._styleClass != null) {
if (this._styleClass.isLiteralText()) {
try {
java.lang.String __styleClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._styleClass.getExpressionString(),
java.lang.String.class);
comp.setStyleClass(__styleClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("styleClass", this._styleClass);
}
}
if (this._title != null) {
if (this._title.isLiteralText()) {
try {
java.lang.String __title = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._title.getExpressionString(),
java.lang.String.class);
comp.setTitle(__title);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("title", this._title);