> Thank you Maris,
> exactly what I needed. I suppose that is the way to
> overcome the restriction that an Action can have only one
> ActionForm.
Yes.
BTW You can add properties to you form bean, that don't correspond to HTML input
fields.
For example a field that determines that input fields are read only.
// Action class...
form.setReadOnly("false");
// JSP
<logic:notEqual name="Lim1vkontrole" property="readOnly" value="false" >
<html:text property="datums" readonly="true" size="10" styleId="text"
maxlength="10"/>
</logic:notEqual>
<logic:equal name="Lim1vkontrole" property="readOnly" value="false" >
<html:text property="datums" size="10" styleId="text" maxlength="10"/>
</logic:equal>
Maris
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>