*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlRichMessage comp = (HtmlRichMessage) component;
if (this._ajaxRendered != null) {
if (this._ajaxRendered.isLiteralText()) {
try {
Boolean __ajaxRendered = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._ajaxRendered.getExpressionString(),
Boolean.class);
comp.setAjaxRendered(__ajaxRendered.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("ajaxRendered", this._ajaxRendered);
}
}
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._errorLabelClass != null) {
if (this._errorLabelClass.isLiteralText()) {
try {
java.lang.String __errorLabelClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._errorLabelClass.getExpressionString(),
java.lang.String.class);
comp.setErrorLabelClass(__errorLabelClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("errorLabelClass", this._errorLabelClass);
}
}
if (this._errorMarkerClass != null) {
if (this._errorMarkerClass.isLiteralText()) {
try {
java.lang.String __errorMarkerClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._errorMarkerClass.getExpressionString(),
java.lang.String.class);
comp.setErrorMarkerClass(__errorMarkerClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("errorMarkerClass", this._errorMarkerClass);
}
}
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._fatalLabelClass != null) {
if (this._fatalLabelClass.isLiteralText()) {
try {
java.lang.String __fatalLabelClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._fatalLabelClass.getExpressionString(),
java.lang.String.class);
comp.setFatalLabelClass(__fatalLabelClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("fatalLabelClass", this._fatalLabelClass);
}
}
if (this._fatalMarkerClass != null) {
if (this._fatalMarkerClass.isLiteralText()) {
try {
java.lang.String __fatalMarkerClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._fatalMarkerClass.getExpressionString(),
java.lang.String.class);
comp.setFatalMarkerClass(__fatalMarkerClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("fatalMarkerClass", this._fatalMarkerClass);
}
}
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._infoLabelClass != null) {
if (this._infoLabelClass.isLiteralText()) {
try {
java.lang.String __infoLabelClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._infoLabelClass.getExpressionString(),
java.lang.String.class);
comp.setInfoLabelClass(__infoLabelClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("infoLabelClass", this._infoLabelClass);
}
}
if (this._infoMarkerClass != null) {
if (this._infoMarkerClass.isLiteralText()) {
try {
java.lang.String __infoMarkerClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._infoMarkerClass.getExpressionString(),
java.lang.String.class);
comp.setInfoMarkerClass(__infoMarkerClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("infoMarkerClass", this._infoMarkerClass);
}
}
if (this._keepTransient != null) {
if (this._keepTransient.isLiteralText()) {
try {
Boolean __keepTransient = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._keepTransient.getExpressionString(),
Boolean.class);
comp.setKeepTransient(__keepTransient.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("keepTransient", this._keepTransient);
}
}
if (this._labelClass != null) {
if (this._labelClass.isLiteralText()) {
try {
java.lang.String __labelClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._labelClass.getExpressionString(),
java.lang.String.class);
comp.setLabelClass(__labelClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("labelClass", this._labelClass);
}
}
if (this._level != null) {
if (this._level.isLiteralText()) {
try {
java.lang.String __level = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._level.getExpressionString(),
java.lang.String.class);
comp.setLevel(__level);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("level", this._level);
}
}
if (this._markerClass != null) {
if (this._markerClass.isLiteralText()) {
try {
java.lang.String __markerClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._markerClass.getExpressionString(),
java.lang.String.class);
comp.setMarkerClass(__markerClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("markerClass", this._markerClass);
}
}
if (this._markerStyle != null) {
if (this._markerStyle.isLiteralText()) {
try {
java.lang.String __markerStyle = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._markerStyle.getExpressionString(),
java.lang.String.class);
comp.setMarkerStyle(__markerStyle);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("markerStyle", this._markerStyle);
}
}
if (this._passedLabel != null) {
if (this._passedLabel.isLiteralText()) {
try {
java.lang.String __passedLabel = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._passedLabel.getExpressionString(),
java.lang.String.class);
comp.setPassedLabel(__passedLabel);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("passedLabel", this._passedLabel);
}
}
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._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._warnLabelClass != null) {
if (this._warnLabelClass.isLiteralText()) {
try {
java.lang.String __warnLabelClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._warnLabelClass.getExpressionString(),
java.lang.String.class);
comp.setWarnLabelClass(__warnLabelClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("warnLabelClass", this._warnLabelClass);
}
}
if (this._warnMarkerClass != null) {
if (this._warnMarkerClass.isLiteralText()) {
try {
java.lang.String __warnMarkerClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._warnMarkerClass.getExpressionString(),
java.lang.String.class);
comp.setWarnMarkerClass(__warnMarkerClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("warnMarkerClass", this._warnMarkerClass);