Multi-row validation works in the current release, although you need to design your rows right. In particular, you should define a bean which holds all the values in a given row, and define the form to use an array of the bean. They you can validate on individual properties. Here's an example from a client's app:
<form-bean name="dependentlistForm" type="com.benefit.association.struts.forms.ValidatorForm"> <form-property name="dependents" type="com.benefit.association.Dependent[]" initial="{'','','','','','','','','','',''}"/> </form-bean> <form name="dependentlistForm"> <field property="dob" indexedListProperty="dependents" depends="date"> <arg0 key="dependentlistForm.dob.label"/> </field> </form> James At 03:40 PM 8/13/2002, you wrote: >Subject: Re: Last Few Bugs for Struts 1.1-beta-2 >From: Vic <[EMAIL PROTECTED]> > === >This remains open? >V > >Vic C wrote: > > Bug 8798 > > > > and the bug has an attached CVS source code to fix it. > > > > When you do multi row update (which my clients do a lot) you also want > > multi row validation to work. Not sure if it is a show stoper. > > > > (so then clients used the "custom" jar with attached CVS source code > > fix, not ideal) > > > > I pinged David way back on it. > > > > (also, next build of basicPortal will use the newer nightly jars, things > > seem to work well with the new JSTL jars, and I am going arround to my > > client to bump them to the newer nightly jars to see if anything shakes) > > > > hth, > > > > Vic > > > > > > Craig R. McClanahan wrote: > > > >> It looks like we're on the home stretch for fixing the remaining bugs > >> standing in the way of a 1.1-beta-2 release. Could someone (especially > >> David) take a look at the outstanding bug reports against validator (both > >> here and on commons)? If the proposed patches look reasonable but you > >> don't have time to commit them, just add a note on the bug reports and > >> someone else can do the grunt work. > >> > >> Then, we just need someone to be release manager again. Martin, would > >> you > >> be willing to do the honors for another round? > >> > >> Craig > >> > >> > >> > >> -- > >> To unsubscribe, e-mail: > >> <mailto:[EMAIL PROTECTED]> > >> For additional commands, e-mail: > >> <mailto:[EMAIL PROTECTED]> > >> > > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>