> -----Original Message----- > From: Marcus Brito [mailto:[EMAIL PROTECTED]] > Sent: dinsdag 22 januari 2002 11:57 > To: Struts Users Mailing List > Subject: Indexed Properties > > > Hello, folks. I'm currently using Struts 1.0.1 and was wondering if > there is a way to use indexed properties in ActionForm classes. > > I know there is support for this in HEAD, but I'm coding an > enterprise-critical application and I hope not to use 'bleeding edge' > components. > > I'll give an example of my need: I have a form dinamically generated > using <logic:iterate> that contains a checkbox for each > iteration. Now I > need an action to process the whole form. As of now, the Action is > defined as having no associated ActionForm, and the perform() method > usess request.getParameterValues() calls to get the form values. There > is a way to do this using ActionForms?
I recommend using the taglib from http://www.keyboardmonkey.com/struts if I were you. This does not force you to use the "bleeding-edge" struts version, but I think there's less chance that you'll encounter bugs than if you would try this on an "on-the-fly" basis for your own webapp via ActionForms (I tried both. The ActionForm way was *very* error-prone). FWIW, tomK -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>