You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Alex Colic <al...@pop-ware.com> on 2001/08/10 20:35:39 UTC

Any idea how I can do this with a vector??

Hi, need a bit of help.

Lets say you have an item object that has a unit cost and a description. A
person access a page, you go hit the database, get a list of items, create a
vector of items, put the vector into the request scope, send them to another
page, get the vector, iterate through the vector and create a table of
descriptions and unit prices. The unit price field is blank through and you
want the user to input a price so that they can submit the page and have the
db updated.

I got to creating the table. Now what? Can I have a number of input text
boxes all updating a vector? I am lost at this point. Any help is
appreciated.

Regards

Alex