pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ocean ocean <riveroce...@gmail.com>
Subject Coercion between java.util.Date and org.apache.pivot.util.CalendarDate
Date Sat, 13 Nov 2010 23:58:31 GMT
I'm trying to Component.store() a domain java bean that exposes several
java.util.Date to a Form and getting coercion failures between
java.util.Date and the pivot CalendarDate class. This seems to be a pretty
reasonable coercion to make but the static BeanAdapter.coerce method doesn't
take it into account and there doesn't seem to be a way to register my own
coercion logic on either the individual Form or globally. Any ideas? I
figure somebody else must've encountered this problem...

Mime
View raw message