Which version of WW are you using?

You can either try:

1) using indexed properties, like setFoo(int index, Object val) 

Or

2) Implement ParameterAware to get the map of all parameters passed to
your action

If you do 1 then you need to make sure the collection of objects has the
right number of objects in it, or provide those checks in your setter.

Jason

> -----Original Message-----
> From: varanasi sesha giri [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 03, 2003 11:01 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] Storing dynamic inputs in Action file
> 
> 
> Hello All,
> 
> My name is Seshagiri and I am working as a Research Assistant at 
> the Center for Business
> and Information Technology at the University of Louisiana at 
> Lafayette.
> 
> We are developing a project using Java and following MVC model. We 
> are using webwork.
> 
> In a part of the project, I need to display a set of inputs, the 
> count of which change
> dynamically depepnding on the count in the database.
> 
> The user will enter some data in all of these fields.(Each row has 
> 3 text fields and
> the number of rows may vary dynamically)
> 
> Is there any way of storing these varying number of input 
> parameters in the Action file?
> 
> Thanks in Anticipation.
> 
> Regards,
> Seshagiri.
> ___________________________________________________
> Impress your clients! Send mail from me @ mycompany.com .
> Just Rs.1499/year.
> Click http://www.rediffmailpro.com to know more.
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay! 
> http://adfarm.mediaplex.com/ad/ck/711-11697-> 6916-5
> 
> _______________________________________________
> 
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to