You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ra...@ffic.com on 2002/12/20 19:18:23 UTC

no getter method for property phoneList

I'm getting desperate with my problem.

I have a very simple class named Party defined as

public class Party() {

     public Party()

     ArrayList phoneList_ = new ArrayList();
     ArrayList addressList_ = new ArrayList();

     public ArrayList getPhoneList() {

          return phoneList_;

     }

     public void setPhoneList(ArrayList list) {

          phoneList_ = list;

     }

     public ArrayList getAddressList() {

          return addressList_;

     }

     public void setAddressList(ArrayList list) {

          addressList_ = list;

     }

}


When I do a logic:iterate to iterate on both lists

<logic:iterate name="party" property="addressList" id="test">

</logic:iterate>


<logic:iterate name="party" property="phoneList" id="test1">

</logic:iterate>


iterating on addressList is fine

However I get a

: No getter method for property phoneList of bean party

I'm using VaJava 4.0 and I;ve checked everything and can't find anything wrong with my classes.

Has anybody encountered and solved this problem before?

Thanks,

Raffy
**********************************************************************
Please Note:
The information in this E-mail message, and any files transmitted
with it, is confidential and may be legally privileged.  It is
intended only for the use of the individual(s) named above.  If you
are the intended recipient, be aware that your use of any confidential
or personal information may be restricted by state and federal
privacy laws.  If you, the reader of this message, are not the
intended recipient, you are hereby notified that you should not
further disseminate, distribute, or forward this E-mail message.
If you have received this E-mail in error, please notify the sender
and delete the material from any computer.  Thank you.
**********************************************************************




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>