thanks for the reply, Scott

My syntax looks okay on the jsp side and since the getExtrainfo method is
being called it puzzles me that the set method is not being called on
submit.
<nested:iterate property="extrainfo">
      <nested:text property="name"/>
</nested:iterate>

- ej
----- Original Message -----
From: "Barr, Scott [IBM GSA]" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Sunday, March 10, 2002 7:03 PM
Subject: RE: nested:iterate - set method not called


>
> Could it be that the html field in your jsp is named 'extraInfo'
(uppercase
> 'i'), and the setter is using a lowercase 'i' in the word info?
>
> Scott
>
> > -----Original Message-----
> > From: Elijah Jacobs [SMTP:[EMAIL PROTECTED]]
> > Sent: Monday, March 11, 2002 10:27 AM
> > To: Struts Users Mailing List
> > Subject: nested:iterate -  set method not called
> >
> > Hi,
> >
> > I am able to list the elements on  my Vector just fine, but I noticed
that
> > when I do a submit the set method is not being called, hence the field
is
> > empty when it gets to the action class.
> >
> > Can someone suggest to me what the problem might be? my code is below.
> >
> > thanks,
> > - ej
> >
> > *** code ****
> > public Vector extrainfo;
> >
> > // call successfully
> > public Object[] getExtrainfo() {...}
> >
> > //    Not being called on submit
> >  public void setExtrainfo(Object[] infoList) {...}
> >
> > *** code ****
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>

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

Reply via email to