Even you ar settign all the values properly and getting the display
accurately. I do not think the changes you made to the Collection( in terms
of textboxes or checkboxes or Selections) will not reflect on the arrayList.
Atleast I failed in doing so. There are other ways liek using multiboxes,
indexing the properties etc.

i hope that was useful. I could give you examples but I am not sure if I am
addressing the problem right.

regards,
Uday Karrothi

On 11/10/06, Laurie Harper <[EMAIL PROTECTED]> wrote:

Gallagher, Jim (RBoS ITD&S Dublin) wrote:
> Hi,
>
>       I'm having an issue with a formbean not containing the data I
expect
> when returned from a JSP. I suspect this is a common problem, but
despite
> searches I can't find a solution on the net. Any assistance will be
> gratefully received.
>
>       My form consists of general data about a specific person, along
with
> an area about purchases. The purchases are listed using <logic:iterate>
> tags, with a collection used to drive the iteration.
>
>       On submission of the form I was hoping/expecting that the
collection
> would be populated into the same-named instance variable in the
formbean,
> allowing me to retrieve the changes made by the user in the JSP.
However,
> this is not happening as the formbean instance variable is null.
>
>       Could anyone suggest a way forward or point me to web resource to
> assist with this? I'm sure it's something I'm doing wrong, but I'm not
sure
> what.

We'd need a bit more information to be able to help much. What does your
form bean look like? How is it configured in struts-config.xml? What do
the relevant action mappings look like? And how is your JSP coded?

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to