Thanks for the responses guys - well appreciated
I found some insight in this:
it seems the error occurs only when I have a setter method to my Vector.
When I comment out the line below from my FormBean, the JSP page finds my
property just fine.
public void setX(Vector x) { this.x = x; }
I can't seem to find this in any documentation concerning this...does anyone
have further insight on why this is occuring?
- ej
btw .. i'm on weblogic 5.1, struts 1.0, windows 2000
----- Original Message -----
From: "Galbreath, Mark" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, March 07, 2002 10:57 AM
Subject: RE: nesting: iterate cannot find attrribute
> Looks like an issue of scope.
>
> Mark
>
> -----Original Message-----
> From: Elijah Jacobs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 06, 2002 4:59 PM
>
> I'm trying to do a simple iterate .. it's even simpler that than one I
> download from Arron Bate's site since the formbean has the reference to
the
> list of objects.
>
> In my FormBean I have:
> <code-snippet>
> private Vector x = null;
>
> public Object[] getX(){
> return this.x.toArray();
> }
> public void setX(Vector x) { this.x = x; }
>
> </code-snippet>
>
> I first set this attribute to some value in my action class. In my jsp
page
> I have:
>
> <nested:iterate property="x">
> .... something
> </nested:iterate>
>
> Note: I put this right under the <html:form .> tag since it's in the
> FormBean class.
>
> The problem is that weblogic is not finding the getter for property "x".
>
> I get the error:
> javax.servlet.jsp.JspException: No getter method for property x of bean
> auctionForm
>
> Does anyone have any suggestions on how I can go about solving this?
>
> thanks for any help in this,
> - ej
>
> --
> 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]>