I would create an object containing the row data, if you haven't already, then expose a list of that object on the action. Struts 2 can use any POJO, so if your application already stores the information in an Object, use that.
Don On 5/25/07, Charbel Abdul-Massih <[EMAIL PROTECTED]> wrote:
I have a page with a table of n rows (# of rows is dynamic)... Each row has 3 columns, with 3 text input fields... I'm not sure how to represent them in the Action and through the tags... I know I should use some sort of hashmap with each entry representing one row...But from the tags perspective, how do I represent it, assuming I have an iterator tag that is writing out the rows... Thx, Charbel -----Original Message----- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 2:11 PM To: Struts Users Mailing List Subject: Re: Mapped Properties - Struts 2 - Best practice --- Charbel Abdul-Massih wrote: > What's the best way to use Mapped/Indexed Properties > in Struts 2.x??? In what way? Are you asking from a tag syntax standpoint, or...? d. ________________________________________________________________________ ____________Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+ki ds&cs=bz --------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]