You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Don Jones <do...@kdsi.net> on 2000/11/28 20:55:20 UTC

I am trying to use <struts:iterate.../> within a <struts:form.../> tag
for input of indexed properties.  It is working with respect to display
of the initial values of the properties but I am having difficulty
getting the new input values into the form bean.   I have a list of
things to try and when I get back on my development machine I an include
code fragments.  Meanwhile..., anyone already doing this who has gotten
past the problems and/or can send an example of something that has
worked?

Cheers,
Don Jones
Software & Systems
641.469.5674


Re:

Posted by Don Jones <do...@kdsi.net>.
Actually, I forgot to mention that we are wedded fot version 0.5 for a while
yet.    How does it function in 0.5?

"Craig R. McClanahan" wrote:

> Don Jones wrote:
>
> > I am trying to use <struts:iterate.../> within a <struts:form.../> tag
> > for input of indexed properties.  It is working with respect to display
> > of the initial values of the properties but I am having difficulty
> > getting the new input values into the form bean.   I have a list of
> > things to try and when I get back on my development machine I an include
> > code fragments.  Meanwhile..., anyone already doing this who has gotten
> > past the problems and/or can send an example of something that has
> > worked?
> >
>
> One problem that you will have with the iterate tag, at least if you are using
> the 1.0 nightly builds, is that the scripting variable you name with the "id"
> attribute is not getting exposed to the nested content of the iterate tag
> correctly.  This has been fixed, and will be corrected in tonight's nightly
> build of Struts.
>
> >
> > Cheers,
> > Don Jones
> > Software & Systems
> > 641.469.5674
>
> Craig


Re:

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Don Jones wrote:

> I am trying to use <struts:iterate.../> within a <struts:form.../> tag
> for input of indexed properties.  It is working with respect to display
> of the initial values of the properties but I am having difficulty
> getting the new input values into the form bean.   I have a list of
> things to try and when I get back on my development machine I an include
> code fragments.  Meanwhile..., anyone already doing this who has gotten
> past the problems and/or can send an example of something that has
> worked?
>

One problem that you will have with the iterate tag, at least if you are using
the 1.0 nightly builds, is that the scripting variable you name with the "id"
attribute is not getting exposed to the nested content of the iterate tag
correctly.  This has been fixed, and will be corrected in tonight's nightly
build of Struts.

>
> Cheers,
> Don Jones
> Software & Systems
> 641.469.5674

Craig