You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Monajit Choudhury <Mo...@PLANETASIA.COM> on 2003/08/13 17:48:24 UTC
How to set a field within a collection while lopping through.....
Hi
How can I set the value of a field while looping through a collection.
Ok let me put it this way.........
I have a ValueObject vo1 which contains a collection of Vos VO2.
Now in the page I iterate and display the contents of vo2 in a
logic:iterate.Now the fields are shown in text fields so the user can modify
it.I am using a paginator, so my reqirement is when i go to the next page
and come back, whatever values i had entered in the text fields should be
remembered/saved.How can this be achieved?
Hope I could explain the problem well.
Regds
Monojit
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: How to set a field within a collection while lopping
through.....
Posted by Keith Pemberton <kb...@cox.net>.
I would like to be able to help but I need some code to look at. Could
you please email me some code samples including the jsp page,
ActionForm, and class that contains the collection. Thanks!
Keith
On Wed, 2003-08-13 at 10:48, Monajit Choudhury wrote:
> Hi
> How can I set the value of a field while looping through a collection.
> Ok let me put it this way.........
> I have a ValueObject vo1 which contains a collection of Vos VO2.
> Now in the page I iterate and display the contents of vo2 in a
> logic:iterate.Now the fields are shown in text fields so the user can modify
> it.I am using a paginator, so my reqirement is when i go to the next page
> and come back, whatever values i had entered in the text fields should be
> remembered/saved.How can this be achieved?
> Hope I could explain the problem well.
> Regds
> Monojit
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
--
Keith Pemberton <kb...@cox.net>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org