Yes, I want a form when submitted to add a new object to the vector.
IE: I have a class with a getCharging method that returns a vector. The vector holds charging objects. In the top half of the page I iterate through the vector and show a table of existing objects. In the bottom half of the page I want to create a form that when submitted adds another object to the vector. Thanks for any help. Alex -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 1:01 PM To: Struts Users Mailing List Subject: Re: Can a form submit to a vector? Do you mean dynamically? ie another row added to the vector above it without a submit? Dave "Alex Colic" <[EMAIL PROTECTED]> on 12/03/2001 12:40:57 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts" <[EMAIL PROTECTED]> cc: (bcc: David Hay/Lex/Lexmark) Subject: Can a form submit to a vector? Hi, I have a vector that holds charging objects. The object has properties such as name and amount. On a page, at the top I iterate through the charging objects and create a summary table. The table shows all the charging objects in the charging vector and outputs their name and amount. At the bottom of the page I want to create a form that the user can use to enter the name and amount details for another charging object, hit submit and have a new charging object added to the vector. Can this be done? Thanks a lot. Alex -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>