*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlInsert comp = (HtmlInsert) component;
if (this._encoding != null) {
if (this._encoding.isLiteralText()) {
try {
java.lang.String __encoding = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._encoding.getExpressionString(),
java.lang.String.class);
comp.setEncoding(__encoding);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("encoding", this._encoding);
}
}
if (this._errorContent != null) {
if (this._errorContent.isLiteralText()) {
try {
java.lang.String __errorContent = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._errorContent.getExpressionString(),
java.lang.String.class);
comp.setErrorContent(__errorContent);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("errorContent", this._errorContent);
}
}
if (this._highlight != null) {
if (this._highlight.isLiteralText()) {
try {
java.lang.String __highlight = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._highlight.getExpressionString(),
java.lang.String.class);
comp.setHighlight(__highlight);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("highlight", this._highlight);