Use Map Backed Beans for that...

Panchasheel

-----Original Message-----
From: Alawadhi, Mona [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 1:32 PM
To: Struts Users Mailing List
Subject: Displaying is easy, capturing is not..


Hello Everyone,

I wonder if someone can help me with this problem. I would appreciate any
smart suggestion.

I have a JSP that displays a collection (ValueObject fields) Let's call the
collection ABC - it consists of 6 items. I might have more than one ABC
collections to display. This can be done by setting a Vector which consists
of a number of ABC collections, and simply I can iterate through the Vector
in my JSP and display all the ABC collections I have using textboxes.

When the user tries to change any of those textboxes, I should be able to
capture them. I have one submit button that I am using, and if, for example,
I have two ABC's there, I should be able to capture all 12 items. (note that
I might have 100 ABCs, in which case I have to capture 600 items.)

How can I do that using one submit button?

Thank you in advance,

Mona




****************************************************************************
*
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. 

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this email are subject to the terms and conditions expressed in
the governing KPMG client engagement letter.         
****************************************************************************
*


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

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

Reply via email to