From: Anthony E. <me...@an...> - 2003-05-01 23:06:28
|
With respect to my last email, after further review I did notice that the regular expression validator did not support parameter arrays. I have since checked in a change which adds support for this into the CVS. For all other validators it is up to the validator author to make sure that they handle parameter arrays properly. Sincerely, Anthony Eden Eliot Sykes wrote: > > Currently FormProc would not convert multiple fields with the same > > name > > into an array, rather it uses the ServletRequest.getParameter() method > > to return the first value. I will look into updating FormProc to > handle > > arrays today - it shouldn't be too hard. > > Hi Anthony, > > This feature (multi-valued fields) would be really useful to me. I > see in your post that you were planning to take a look at adding this > to FormProc. If this feature isn't available yet I'd like to implement > it and was hoping you could point me in the direction of the class(es) > that'd need tinkering with. > > Kind regards, > Eliot > > ------------------ > > > As for storing those values afterwards, you can either use the > ReflectionStorer which should work fine >with arrays once I implement > the arrays as described previously, or you can create your own > Storer implementation and provide whatever storage mechanism you need. > > > Sincerely, > Anthony Eden > > > -----Original Message----- > > From: formproc-developer-admin@li... > > [mailto:formproc-developer-admin@li...] On > > Behalf Of Gandulf > > Sent: Friday, November 08, 2002 3:57 AM > > To: formproc-developer@li... > > Subject: [FormProc-developer] formproc an alternativ to > > Intake. should I change??? > > > > > > Hello, > > > > I'm currently working an an turbine/velocity/torque > > environment and use > > intake as the buildin formprocessing tool. > > > > But since working with Intake is rather anoying I'm thinking about > > switching to another formprocessing tool. > > I looked at the documentation of Formproc and it's seems to be an > > alternative to Intake. But I'd need some special Information about > > FormProc, especially about how it handels arrays of formelements. > > > Here is an short example ...(a little bit minimalized) > > > > ---- > > <form> > > <input type="text" name="name1"> > > <input type="text" name="name1"> > > > > <input type="text" name="name2"> > > <input type="text" name="name2"> > > </form> > > ---- > > > > Now If I submit such an Form, it would create two arrays > > (name1[], name2[]) > > wich contain the values for the two inputs with the same names. > > > Now my Question: > > > > Is Formproc able to handle such a form and save the values in > > an object > > (via the store.ReflectionMapper), since Intake is not ??? > > > > thx Gandulf > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: See the NEW Palm > > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > FormProc-developer mailing list FormProc-developer@li... > https://lists.sourceforge.net/lists/listinfo/formproc-developer > > > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs service. > ________________________________________________________________________ |