you must have a corresponding getter which returns String.
public String getValidFrom() {
String s = null;//convert calendar to string
return s;
}
On Fri, Nov 13, 2009 at 2:01 PM, paulhyo wrote:
>
> Hi Paul,
>
> it's working for Query, but not for Updating (Add Bean). The getter me
Hi Paul,
it's working for Query, but not for Updating (Add Bean). The getter method
is returning a Calendar (GregorianCalendar instance)
On the indexer side, a toString() or something equivalent is done and an
error is thrown
Caused by: java.text.ParseException: Unparseable date:
"java.util.Gre
create a setter method for the field which take s a Stringand apply
the annotation there
example
private Calendar validFrom;
@Field
public void setvalidFrom(String s){
//convert to Calendar object and set the field
}
On Fri, Nov 13, 2009 at 12:24 PM, paulhyo wrote:
>
> Hi,
>
> I would li