RE: Multi-row tabular forms

2008-06-26 Thread Dave Newton
Not sure what "id" field you're talking about, but S2's type conversion handles collections. Dave --- On Thu, 6/26/08, Kleiderman, Matthew <[EMAIL PROTECTED]> wrote: > From: Kleiderman, Matthew <[EMAIL PROTECTED]> > Subject: RE: Multi-row tabular

Re: Multi-row tabular forms

2008-06-26 Thread Nikhil Walvekar
: Thursday, June 26, 2008 7:37 AM > To: Struts Users Mailing List > Subject: Re: Multi-row tabular forms > > Hi Matt, > > For Struts 1.1, I used to do following things: > > > indexed="true"/> > indexed="true"/> > > Syntax

RE: Multi-row tabular forms

2008-06-26 Thread Kleiderman, Matthew
-Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2008 8:00 AM To: Struts Users Mailing List Subject: RE: Multi-row tabular forms That was, more or less, why I suggested manually creating an array index in the name of the field. --- On Thu, 6/26/08

RE: Multi-row tabular forms

2008-06-26 Thread Dave Newton
That was, more or less, why I suggested manually creating an array index in the name of the field. --- On Thu, 6/26/08, Kleiderman, Matthew <[EMAIL PROTECTED]> wrote: > From: Kleiderman, Matthew <[EMAIL PROTECTED]> > Subject: RE: Multi-row tabular forms > To: "

RE: Multi-row tabular forms

2008-06-26 Thread Kleiderman, Matthew
ar [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2008 7:37 AM To: Struts Users Mailing List Subject: Re: Multi-row tabular forms Hi Matt, For Struts 1.1, I used to do following things: Syntax may be wrong (tried 2 yrs back :D ). But with this, I got another error, while popul

Re: Multi-row tabular forms

2008-06-26 Thread Nikhil Walvekar
Hi Matt, For Struts 1.1, I used to do following things: Syntax may be wrong (tried 2 yrs back :D ). But with this, I got another error, while populating data into form. The collection needs to have required number of objects. If you know that only 2 rows will be present then you

Re: Multi-row tabular forms

2008-06-25 Thread Dave Newton
ECTED]> > Subject: Multi-row tabular forms > To: user@struts.apache.org > Date: Wednesday, June 25, 2008, 6:46 PM > I'm trying create a form that maps to a collection of > data objects, so > that a user can edit any property of any object, and submit > the changes. >

Multi-row tabular forms

2008-06-25 Thread Kleiderman, Matthew
I'm trying create a form that maps to a collection of data objects, so that a user can edit any property of any object, and submit the changes. I'm using an s:iterator tag to draw each item in the collection as a row in a table, and the xhtml template. The table is getting drawn properly, with dat