struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hubert Rabago <jakartau...@yahoo.com>
Subject Re: multiple records in one form
Date Sat, 21 Feb 2004 14:26:49 GMT
http://marc.theaimsgroup.com/?l=struts-user&m=107600405406119&w=2

--- "rinkeh@home.nl" <rinkeh@home.nl> wrote:
> Hi List, 
> 
> I would like to create a form, with which the user fills in a number of 
> say 10 records, in one and the same form. When clicking submit, 
> all of the 10 records (with each 4 fields) should be updated to the 
> database simulataneously. 
> 
> I found an item in the archives about this, but the answer, a single 
> phrase  "use indexed properties" was too cryptic for me as a 
> newby to struts. 
> 
> I know I have to use String array properties (String[])  in stead of 
> normal String properties, and use a <logic:iterate>tag, but I cannot 
> seem to get it to work. I am not sure how to set the exact 
> attributes of the logic:iterate tag, and how to point them to which 
> Collection, and I seem to have problems too with the id attribute of 
> logic:iterate: though I set it, the following <bean:write name=... 
> does not seem to connect to this id attribute - which it should if I 
> understand it well. I get an error that the bean with this name is 
> unknown.
> 
> Does somebody have a working example for me available, which I 
> could try out? I am real new to this, so I am afraid that short cryptic 
> answers won't do for me :-(  but working examples will help a lot 
> more... :-)
> 
> 
> thanks, Rinke
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message