What scope is your ActionForm in - request or session?

If its in session scope - no problem, if its request you need to make sure
your array is set up with all the beans it requires (empty ones will do).

Niall

> -----Original Message-----
> From: Frank Ling [mailto:[EMAIL PROTECTED]]
> Sent: 12 July 2001 00:04
> To: [EMAIL PROTECTED]
> Subject: Re: Long Story short
>
>
> Hi, Dave:
>
> Thanks for the reply, I did have form-bean define at my struts-config.xml,
> in the matter fact, I did get all other form-bean field setting back form
> HTML form except this attributes array.
>
> The reason I used the changed indexed tag of html:text for iterate tag, is
> recently all the thread on this mailing list regarding for
> Iterate property
> updating all recommend using your changed tag to have text name set like
> array items (I.e. attributes[n].value), then sounds like will help to set
> this value back to original array on my form bean. I just don't get it how
> this will be happen.
>
> I do have all my html:text name set like that way (i.e.
> attributes[n].value), but still get nothing setting back to my array, I do
> have all the setter method for element of the array.
>
> Do you know how your indexed tag will help on this matters?
>
> Thanks again.
>
> Frank Ling
>
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 11, 2001 2:22 PM
> Subject: Re: Long Story short
>
>
> >
> >
> > Frank,
> >
> > Do you have your struts-config set up correctly?  You might check that a
> new
> > form is not being created...
> >
> > Dave
> >
> > PS  Do you need the indexed naming?  If you don't, you don't need to use
> the
> > changed tags...
> >
> >
> >
> >
> > "Frank Ling" <[EMAIL PROTECTED]> on
> 07/11/2001
> > 01:19:29 PM
> >
> > Please respond to [EMAIL PROTECTED]
> >
> > To:   [EMAIL PROTECTED]
> > cc:    (bcc: David Hay/Lex/Lexmark)
> > Subject:  Long Story short
> >
> >
> >
> > Hi, There:
> >
> > I send a long version story regarding for the Iteration tag with indexed
> tag
> > for property update. Not too much people response. Here is the short
> version
> > for that story.
> >
> > I get Dave hay's indexed tag work good with the Iterate tag for showing
> the
> > text field of my array attributes. I get attributes[n].value shows
> properly
> > on my JSP page. but nothing setting back to attributes array of my form
> > bean. the whole array is null after I received it on the next action
> class.
> >
> > Can anybody explain to me, why I get all these attributes[n].value shows
> as
> > the name of HTML text name, then that will automatically
> populate back to
> my
> > array? It's not working that way for me right now. what I did wrong. Any
> > suggestion will be highly appreciated.
> >
> > Thanks
> >
> > Best Regards
> >
> > Frank Ling
> >
> >
> >
> >
> >
> >
> >
> >
>

Reply via email to