What you want are called indexed properties in struts. Start here: http://jakarta.apache.org/struts/faqs/indexedprops.html and here: http://www.developer.com/java/ejb/article.php/2233591
Then search the list archives for any specific questions you have, many have been answered. Also, if you are having n number of elements, make sure your form goes into the session scope instead of the request scope. This is probably the biggest issue with indexed properties I have seen. Matt Bathje ----- Original Message ----- From: "Nathan Maves" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, February 09, 2004 6:24 PM Subject: dynamic parameters > I have searched but found nothing on this specific example. > > I have a form that will have n number of elements. Each of these > elements will needs it own name. > > example. > > list of students is displayed on the screen with two text fields for > their first and last name. > > This is for a mass update page. > > The only way I can thing of is to have form element like.. > > <text name="#student_id#-#first_name#"> > <text name="#student_id#-#last_name#"> > > This way in my action I can parse out the student id and then update > the corresponding first and last name. > > Can this be done or is there a better way to do it. > > > --------------------------------------------------------------------- > 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]

