You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ian Tomey <Ia...@lombardrisk.com> on 2002/03/06 17:15:24 UTC
how to edit an array of records with action forms?
Hi all,
Got an array of records and I want to put them onto the screen to edit. What is the technique to go about this? (i am using the nightly 1.1 at the moment)
is it create an action form that maps a single record and create a load of them? or create an action form with the properties being arrays of the information?
one form in total or one form per record?
i take it the indexed= attribute for the html tags is going to be useful?
It's not obvious how to do this and I just dont have time to expriement (deadline to meet). Any help appreciated
Cheers
Ian
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: how to edit an array of records with action forms?
Posted by Arron Bates <ar...@keyboardmonkey.com>.
If you're on a nightly build, you'll have the nested extension already
there. It will help you make light work of iterating objects.
For a pimer and tutorial, go here...
http://www.keyboardmonkey.com/struts
And for mor implementation detail for each of the tags, the Struts site
has the most complete info.
Arron.
Ian Tomey wrote:
>Hi all,
>
>Got an array of records and I want to put them onto the screen to edit. What is the technique to go about this? (i am using the nightly 1.1 at the moment)
>
>is it create an action form that maps a single record and create a load of them? or create an action form with the properties being arrays of the information?
>
>one form in total or one form per record?
>
>i take it the indexed= attribute for the html tags is going to be useful?
>
>It's not obvious how to do this and I just dont have time to expriement (deadline to meet). Any help appreciated
>
>Cheers
>Ian
>
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: how to edit an array of records with action forms?
Posted by keithBacon <ke...@yahoo.com>.
>> I just dont have time to expriement
then you're in trouble mate!
Sorry i can't answer I've avoided editing in grids so far.
Beware that you'll end up with lots of <html:text tags & when you get up to 50
or more things can slow down horribly.
Search archive for '50 tags' you'll find stuff.
Search for 'display tag' & 'table tag' etc...
There has been something on this list before - I recall the answer being have 1
submit button & 1 form per row - try search on 'submit button per' or similar.
Best i can do.....
--- Ian Tomey <Ia...@lombardrisk.com> wrote:
>
> Hi all,
>
> Got an array of records and I want to put them onto the screen to edit. What
> is the technique to go about this? (i am using the nightly 1.1 at the moment)
>
> is it create an action form that maps a single record and create a load of
> them? or create an action form with the properties being arrays of the
> information?
>
> one form in total or one form per record?
>
> i take it the indexed= attribute for the html tags is going to be useful?
>
> It's not obvious how to do this and I just dont have time to expriement
> (deadline to meet). Any help appreciated
>
> Cheers
> Ian
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Search the archive:-
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Keith Bacon - Looking for struts work - South-East UK.
phone UK 07960 011275
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>