problem submitting mulitple row fields in one action form

2003-07-29 Thread Faisal Shoukat


Hello,

Does anyone know how to submit multiple fields in one form.  Let me
explain.  I have a search jsp which returns for example 3 rows.  In each
of the rows there are 3 amendable columns x, y and z. which are stored
as html:text The user has the option of amending all the fields thus
if 3 rows were returned they could amend 9 fields.  

I have the table which holds the results enclosed within a form.
However when a user enters data into all the fields only the data
entered in the first row is passed into the form.

Does anyone know how to get all of the data entered in the fields passed
to the action class.  The number of rows returned depends upon what is
in the database so is not pre defined.

Thanks in advance
faisal


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



RE: problem submitting mulitple row fields in one action form

2003-07-29 Thread Wendy Smoak
Faisal wrote:
 Does anyone know how to get all of the data entered in the fields
 passed to the action class.  The number of rows returned depends
 upon what is in the database so is not pre defined.

If you read up on indexed properties, possibly the nested taglib, and use a
String[] property in your Form bean, I think you may find the solution to
this one.  

I can't immediately see how you'd make sure the String[] got initialized to
the right size though.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM