*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlGraphValidator comp = (HtmlGraphValidator) component;
if (this._profiles != null) {
if (this._profiles.isLiteralText()) {
try {
java.lang.Object __profiles = (java.lang.Object) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._profiles.getExpressionString(),
java.lang.Object.class);
comp.setProfiles(__profiles);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("profiles", this._profiles);
}
}
if (this._summary != null) {
if (this._summary.isLiteralText()) {
try {
java.lang.String __summary = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._summary.getExpressionString(),
java.lang.String.class);
comp.setSummary(__summary);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("summary", this._summary);
}
}
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);