Put disabled in the fields instead of in the form.

regards,

Felipe


Roger Varley wrote:
> 
> Hi
> 
> I've got this snippet in my .jsp file
> 
> <s:iterator value="order.details" status="status">
>                 <s:set name="indexValue" value="#status.index"/>
> 
>                 <s:form id="form%{#indexValue}" method="post"
> action="setLineItemAction" disabled="true">
> 
>                     <s:textfield
> name="order.details[%{#status.index}].productCode"/>
>                     <s:textfield
> name="order.details[%{#status.index}].productDescription"/>
>                     <s:textfield
> name="order.details[%{#status.index}].quantity"/>
>                 <s:submit/>
>                 </s:form>
>                 </s:iterator>
> 
> but the disabled attribute is not being rendered into the final html,
> so all the forms are active. What am I doing wrong?
> 
> Regards
> Roger
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--Problem-with-Form-Tag-tf3657504.html#a10219394
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to