{
if (!(component instanceof HtmlMessages))
{
throw new IllegalArgumentException("Component " + component.getClass().getName() + " is no HtmlMessages");
}
HtmlMessages comp = (HtmlMessages)component;
super.setProperties(component);
if (_infoClass != null)
{
comp.setValueExpression("infoClass", _infoClass);
}
if (_infoStyle != null)
{
comp.setValueExpression("infoStyle", _infoStyle);
}
if (_showSummary != null)
{
comp.setValueExpression("showSummary", _showSummary);
}
if (_errorStyle != null)
{
comp.setValueExpression("errorStyle", _errorStyle);
}
if (_fatalStyle != null)
{
comp.setValueExpression("fatalStyle", _fatalStyle);
}
if (_warnClass != null)
{
comp.setValueExpression("warnClass", _warnClass);
}
if (_lang != null)
{
comp.setValueExpression("lang", _lang);
}
if (_warnStyle != null)
{
comp.setValueExpression("warnStyle", _warnStyle);
}
if (_errorClass != null)
{
comp.setValueExpression("errorClass", _errorClass);
}
if (_layout != null)
{
comp.setValueExpression("layout", _layout);
}
if (_styleClass != null)
{
comp.setValueExpression("styleClass", _styleClass);
}
if (_fatalClass != null)
{
comp.setValueExpression("fatalClass", _fatalClass);
}
if (_style != null)
{
comp.setValueExpression("style", _style);
}
if (_globalOnly != null)
{
comp.setValueExpression("globalOnly", _globalOnly);
}
if (_title != null)
{
comp.setValueExpression("title", _title);
}
if (_tooltip != null)
{
comp.setValueExpression("tooltip", _tooltip);
}
if (_dir != null)
{
comp.setValueExpression("dir", _dir);
}
if (_showDetail != null)
{
comp.setValueExpression("showDetail", _showDetail);
}
}