RE: indexing with el

2005-02-23 Thread Daniel Perry
berton [mailto:[EMAIL PROTECTED] > Sent: 23 February 2005 15:46 > To: Struts Users Mailing List > Subject: Re: indexing with el > > > Are you using JDK 1.4? JDK 1.4 will ignore the getCost() method > that returns > a java.util.List, if you change it to an array then it will cons

Re: indexing with el

2005-02-23 Thread Niall Pemberton
indexed properties. http://issues.apache.org/bugzilla/show_bug.cgi?id=28358#c14 Niall - Original Message - From: "Daniel Perry" <[EMAIL PROTECTED]> To: "Struts User List" Sent: Wednesday, February 23, 2005 3:05 PM Subject: indexing with el > Hi, > >

indexing with el

2005-02-23 Thread Daniel Perry
Hi, I'm trying to create a form which uses indexed properties. My bean has two (amongst others) methods: public List getCost() { return cost; } public String getCost(int index) { return (String) cost.get(index); } In the form i use the above: And it is all fi