ed.
> >
> > - Original Message -
> > From: "Jason Carreira" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Sunday, December 07, 2003 1:49 PM
> > Subject: RE: Spam:[OS-webwork] WebWork 1.4 and indexed properties
> >
ried exposing the setAllocation(int index. Allocation alloc)
method
too. It never gets called and the same error message is generated.
- Original Message -
From: "Jason Carreira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 07, 2003 1:49 PM
Subject:
9 PM
Subject: RE: Spam:[OS-webwork] WebWork 1.4 and indexed properties
You might want to expose getters and setters like this:
void setAllocation(int index, Allocation alloc)
Allocation getAllocation(int index)
> -Original Message-
> From: Frank Febbraro [mailto:[EMAIL PROTECTED]
D]
> Subject: Spam:[OS-webwork] WebWork 1.4 and indexed properties
>
>
> I am trying to set some indexed properties on an object,
> Payment, using the WW1.4 BeanUtil class.
>
> class Payment
> {
> public Set getAllocations()
> public void setAllocations(Set
I haven't dug through the source, but I'm fairly sure you can't index
into a Set. See if changing it to a List helps.
On Dec 7, 2003, at 12:10 PM, Frank Febbraro wrote:
I am trying to set some indexed properties on an object, Payment,
using the
WW1.4 BeanUtil class.
class Payment
{
publi
I am trying to set some indexed properties on an object, Payment, using the
WW1.4 BeanUtil class.
class Payment
{
public Set getAllocations()
public void setAllocations(Set set)
public Allocation getAllocation(int index)
}
I have the following properties set in the request
allocation[