Sounds like you need to implement a list-backed form. http://forum.java.sun.com/thread.jspa?forumID=33&messageID=1952256&threadID=435161
best, james --- 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. > __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]