*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlMessage comp = (HtmlMessage) component;
if (this._dir != null) {
if (this._dir.isLiteralText()) {
try {
java.lang.String __dir = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._dir.getExpressionString(),
java.lang.String.class);
comp.setDir(__dir);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("dir", this._dir);
}
}
if (this._errorClass != null) {
if (this._errorClass.isLiteralText()) {
try {
java.lang.String __errorClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._errorClass.getExpressionString(),
java.lang.String.class);
comp.setErrorClass(__errorClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("errorClass", this._errorClass);
}
}
if (this._errorStyle != null) {
if (this._errorStyle.isLiteralText()) {
try {
java.lang.String __errorStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._errorStyle.getExpressionString(),
java.lang.String.class);
comp.setErrorStyle(__errorStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("errorStyle", this._errorStyle);
}
}
if (this._fatalClass != null) {
if (this._fatalClass.isLiteralText()) {
try {
java.lang.String __fatalClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._fatalClass.getExpressionString(),
java.lang.String.class);
comp.setFatalClass(__fatalClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("fatalClass", this._fatalClass);
}
}
if (this._fatalStyle != null) {
if (this._fatalStyle.isLiteralText()) {
try {
java.lang.String __fatalStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._fatalStyle.getExpressionString(),
java.lang.String.class);
comp.setFatalStyle(__fatalStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("fatalStyle", this._fatalStyle);
}
}
if (this._for != null) {
if (this._for.isLiteralText()) {
try {
java.lang.String __for = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._for.getExpressionString(),
java.lang.String.class);
comp.setFor(__for);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("for", this._for);
}
}
if (this._infoClass != null) {
if (this._infoClass.isLiteralText()) {
try {
java.lang.String __infoClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._infoClass.getExpressionString(),
java.lang.String.class);
comp.setInfoClass(__infoClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("infoClass", this._infoClass);
}
}
if (this._infoStyle != null) {
if (this._infoStyle.isLiteralText()) {
try {
java.lang.String __infoStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._infoStyle.getExpressionString(),
java.lang.String.class);
comp.setInfoStyle(__infoStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("infoStyle", this._infoStyle);
}
}
if (this._lang != null) {
if (this._lang.isLiteralText()) {
try {
java.lang.String __lang = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._lang.getExpressionString(),
java.lang.String.class);
comp.setLang(__lang);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("lang", this._lang);
}
}
if (this._showDetail != null) {
if (this._showDetail.isLiteralText()) {
try {
Boolean __showDetail = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._showDetail.getExpressionString(),
Boolean.class);
comp.setShowDetail(__showDetail.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("showDetail", this._showDetail);
}
}
if (this._showSummary != null) {
if (this._showSummary.isLiteralText()) {
try {
Boolean __showSummary = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._showSummary.getExpressionString(),
Boolean.class);
comp.setShowSummary(__showSummary.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("showSummary", this._showSummary);
}
}
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);
}
}
if (this._tooltip != null) {
if (this._tooltip.isLiteralText()) {
try {
Boolean __tooltip = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._tooltip.getExpressionString(),
Boolean.class);
comp.setTooltip(__tooltip.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("tooltip", this._tooltip);
}
}
if (this._warnClass != null) {
if (this._warnClass.isLiteralText()) {
try {
java.lang.String __warnClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._warnClass.getExpressionString(),
java.lang.String.class);
comp.setWarnClass(__warnClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("warnClass", this._warnClass);
}
}
if (this._warnStyle != null) {
if (this._warnStyle.isLiteralText()) {
try {
java.lang.String __warnStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._warnStyle.getExpressionString(),
java.lang.String.class);
comp.setWarnStyle(__warnStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("warnStyle", this._warnStyle);