Vic,

I think you misunderstood what I am asking. I already have a form that has a
lot of other elements. One of its elements is a collection of items with
properties. I need to be able to display the collection of items with its
properties and let the user change those properties on the SAME page that
displays the properties of the main form. 

So, for example:

Book: MyBook
Book Title: SomeTitle

List of authors:
Author 1: Me Myself
              Age: 30
              Books written: 20
Author 2: John Smith
               Age: 28
               Books written: 4
*Update*

Now, the user should be able to modify the Book Title and then scroll down
and modify the age of one of the authors. Then click "Update" and this
should be sent to the action.

How do I set it up to do that??

Thanks,
Yaakov.

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich
Sent: Tuesday, September 28, 2004 2:24 PM
To: [EMAIL PROTECTED]
Subject: Re: Updating collection elements within a form


MyForm extends ActionForm implements Collection

.V

Chaikin, Yaakov Y. wrote:
> Hi,
>
> I have a form that has a collection of VOs. I am outputting those VOs
using
> the logic:iterate. Each VO has a number of elements in them. All this is
> happening within an html:form.
>
> User is supposed to be able to update different things on that form. It is
> also a requirement that the user be able to update a particular property
of
> the VO (the one that is outputted using logic:iterate).
>
> There is only 1 Update button the form. Is there any way to set this up so
> the user would be able to update the details of a particular item in the
> list and click Update?
>
> Someone told me that there is a way to do a collection of ActionForms as a
> property of your main ActionForm. Is that true and how do I set this up?
>
> Thanks in advance for your help,
> Yaakov.


---------------------------------------------------------------------
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