I don't believe that will work since you are not guaranteed any order
for form fields submitted.  



--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org/

"The man who does not read good books has no advantage over the man who
cannot read them."
        - Mark Twain (1835-1910)







> -----Original Message-----
> From: Emmanuel Feller [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, February 14, 2003 10:45 AM
> To: Struts Developers List
> Subject: Re:[Bug 12573] - Handling of HTML-Checkboxes and 
> (dynamic) FormBeans result in false values
> 
> 
> Hi,
> 
> I'm quite new to the ML, struts and ASF projects, so please
> escuse my poor english (i'm french). If it is not the way to
> submit a solve the bug please redirect me. :)
> 
> I have a solution for the chekbox missing in the request
> when not checked : the taglib should générate after the
> checkbox input tag an hidden input tag wich have the same
> name than the chekbox. So if the checkbox is checked, the
> first value in the request is 'yes' (from the checkbox) and
> ignore the second one, else the value of parameter is 'no'
> from the hidden input.
> 
> I hope it helps. I'll submit to the list a patch for the
> taglib on monday if needed.
> 
> Regards
> Emmanuel
> 
> Emmanuel Feller
> Cap Gemini Ernst & Young
> +33 2 51 17 35 00 poste 37 16
> +33 6 23 34 63 39
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to