> Please post your code for the 'SimpleItem' bean itself.
> I'm guessing you don't have getters/setters required by bean
> serializer/deserializer in your bean.
>
> ==========================================
>
>
package my.packg;
public class SimpleObject
{
public SimpleObject()
{
}
public SimpleObject(int id, String name)
{
this.id = id;
this.name = name;
}
public void setId(int id)
{
this.id = id;
}
public int getId()
{
return this.id;
}
public void setName(String name)
{
this.name = name;
}
public String getName()
{
return this.name;
}
public void setState(int state)
{
this.state = state;
}
public int getState()
{
return this.state;
}
public boolean IsActive()
{
if (this.state == this.ACTIVE_STATE)
{
return true;
}
else
{
return false;
}
}
public String toString()
{
return this.getName();
}
private int id;
private String name;
private int state;
public static final int ACTIVE_STATE = 0;
public static final int PASSIVE_STATE = 1;
} // END class