If this was an option in the tag, then the user could choose for himself
to accept the 'small' risk of incompatible browers, i.e.

        shadowcheckboxes=true

This would be a very nice addition to the tag libraries as it is one of
the more confusing initial aspects of learning struts.  Also,
non-reseting checkboxes is a deterent to reuse of forms with checkboxes,
as you are forcing the assumption of every checkbox being on the jsp
page.

Edgar

> -----Original Message-----
> From: David Graham [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, February 14, 2003 11:30 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Bug 12573] - Handling of HTML-Checkboxes and 
> (dynamic) FormBeans result in false values
> 
> 
> That may be how some browsers submit the form but AFAIK there 
> is nothing in 
> the HTTP spec that guarantees this ordering.
> 
> David
> 
> 
> 
> >From: "Emmanuel Feller" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
> >To: "Struts Developers List" <[EMAIL PROTECTED]>
> >Subject: Re: [Bug 12573]  -     Handling of HTML-Checkboxes 
> and (dynamic) 
> >FormBeans result in false values
> >Date: Fri, 14 Feb 2003 17:24:53 +0100
> >
> >Hi James,
> >
> >We use this such of thing on projects in production for
> >years and we do not have any bug related. We tested this
> >with IE, Mozilla and Opera but it should work with any browser.
> >When the form is submitted, the file is parsed and the
> >checkbox and the input are in lexical order.
> >
> >I will submit a patch and committers will be able to test.
> >
> >I understand the process for bug solving, escuse my mistake. next i 
> >will use bugzilla :).
> >
> >Regards,
> >Emmanuel
> >
> >Emmanuel Feller
> >Cap Gemini Ernst & Young
> >+33 2 51 17 35 00 poste 37 16
> >+33 6 23 34 63 39
> >
> >----- Message d'origine -----
> >De : "James Mitchell" <[EMAIL PROTECTED]>
> >A : "'Struts Developers List'"
> ><[EMAIL PROTECTED]>
> >Envoye : vendredi 14 fevrier 2003 16:52
> >Objet : RE: [Bug 12573] - Handling of HTML-Checkboxes and
> >(dynamic) FormBeans result in false values
> >
> >
> >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 generate 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]
> >
> >
> >
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8. 
> http://join.msn.com/?page=features/junkmail
> 
> 
> ---------------------------------------------------------------------
> 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