{
if (!(component instanceof HtmlForm))
{
throw new IllegalArgumentException("Component " + component.getClass().getName() + " is no HtmlForm");
}
HtmlForm comp = (HtmlForm)component;
super.setProperties(component);
if (_enctype != null)
{
comp.setValueExpression("enctype", _enctype);
}
if (_onclick != null)
{
comp.setValueExpression("onclick", _onclick);
}
if (_onmouseup != null)
{
comp.setValueExpression("onmouseup", _onmouseup);
}
if (_onmousemove != null)
{
comp.setValueExpression("onmousemove", _onmousemove);
}
if (_ondblclick != null)
{
comp.setValueExpression("ondblclick", _ondblclick);
}
if (_lang != null)
{
comp.setValueExpression("lang", _lang);
}
if (_acceptcharset != null)
{
comp.setValueExpression("acceptcharset", _acceptcharset);
}
if (_accept != null)
{
comp.setValueExpression("accept", _accept);
}
if (_onmouseout != null)
{
comp.setValueExpression("onmouseout", _onmouseout);
}
if (_onkeydown != null)
{
comp.setValueExpression("onkeydown", _onkeydown);
}
if (_onkeypress != null)
{
comp.setValueExpression("onkeypress", _onkeypress);
}
if (_style != null)
{
comp.setValueExpression("style", _style);
}
if (_onreset != null)
{
comp.setValueExpression("onreset", _onreset);
}
if (_prependId != null)
{
comp.setValueExpression("prependId", _prependId);
}
if (_onmousedown != null)
{
comp.setValueExpression("onmousedown", _onmousedown);
}
if (_onmouseover != null)
{
comp.setValueExpression("onmouseover", _onmouseover);
}
if (_onsubmit != null)
{
comp.setValueExpression("onsubmit", _onsubmit);
}
if (_target != null)
{
comp.setValueExpression("target", _target);
}
if (_styleClass != null)
{
comp.setValueExpression("styleClass", _styleClass);
}
if (_title != null)
{
comp.setValueExpression("title", _title);
}
if (_dir != null)
{
comp.setValueExpression("dir", _dir);
}
if (_onkeyup != null)
{
comp.setValueExpression("onkeyup", _onkeyup);
}
}