It sounds like the list contains the same type, several times over. If so, just use indexed properties.
http://struts.apache.org/faqs/indexedprops.html http://www.developer.com/java/ejb/article.php/2233591 If I misunderstood your question, ignore my answer. Or you can study them anyway to know what type of support Struts has for "unknown number of elements"-type forms. Hubert On Sat, 20 Nov 2004 12:40:53 -0000, Frank Burns <[EMAIL PROTECTED]> wrote: > Hi, > > Although I have been using Struts for a while now, I have this new > requirement and I don't know an obvious way to implement it. Can anyone > please tell me how I can do this? > > BACKGROUND: I want to display a list of existing items of a certain type and > allow users to edit these and save them. I don't know how long the list is -- > it may be one or 100 or any number of items long. > > QUESTION: So, how do I write an ActionForm to accept an UNKNOWN number of > items? And how do I "dynamically" write the required number of <html:text> > tags (appropriately labelled) to be able to accept the values returned from > the ActionForm if validation fails? > > Thanks, > > Frank. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]