I would check out the LazyActionForm for this which was added to Struts
1.2.6 and upwards in classic Struts.

http://www.niallp.pwp.blueyonder.co.uk/lazyactionform.html

Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications



> From: Oliver Thoms <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <user@struts.apache.org>
> Date: Wed, 16 Jan 2008 12:41:41 +0100 (CET)
> To: <user@struts.apache.org>
> Subject: logic:iterate - editable table
> 
> Hi,
> 
> I have searched the archive but havn't found any
> solution for the following problem:
> 
> I have an array of entries to display, so I use the
> logic:iterate tag.
> 
> But due to customer request, the data should not be
> just displayed (bean:write) and afterwards edited by
> the usual EDIT Button and an subsequent EditAction.
> 
> But the data should be displayed in html:text fields
> and be editable directly in the table.
> 
> Since the Iterator is just a temporary reference to
> the elements of the array for rendering, I can't
> access the underlying objects after submit.
> 
> I thought about the indexId in the iterator an using
> it in a scriplet in the 'onchange' parameter of the
> html:text.
> But this feels and looks realy nasty.
> 
> 
> Any suggestions how to solve this elegantly?
> 
> 
>        __________________________________  Ihre erste Baustelle? Wissenswertes
> für Bastler und Hobby Handwerker. www.yahoo.de/clever
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to