Hi All,

this is probably an ancient problem but I could not find any satisfying 
solution browsin the forum. It seems to be a problem with catching of input 
POST parameters in ActionForms linked to forms with variable input 
parameters.

We are using Struts 1.0.x and for the moment we do not what to upgrade 
Struts 1.1. Please take in mind this point for the response.

* First question, of course, is there any elegant solution for implementing 
such an ActionForm so it can pick up the undetermined number of parameters 
and how to handle them?

* As a workaround I figure out a solution that I have seen neither implement 
nor propossed at all, so I just wonder why: Would not be possible, taking 
advantage of Yakarta/Commons DynaBeans, to create the form beans on request, 
so they can auto-create, at runtime a parameter and get/set method for each 
input parameter received in the request.

AFAIK, DynaBeans are used to parse XML defined forms in struts-config. 
However this does not solve our problems since we do not know the input 
params at development or deployment time. Would not it be a proper 
enhancement for handling forms with a number a name of parameters known at 
runtime.

Sorry if I am missing some points here, that I am afraid that so.

Adolfo.





_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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

Reply via email to