Christian,
Christian Schuhegger wrote:
> Hello,
>
> I am modeling my domain model in XML-Schema and use Castor to create Java
> objects from it. I would like to use this domain model directly in a
> JSF/Seam application and use things like the richfaces calendar component. A
> problem here is that the castor Date types are all subclasses of
> DateTimeBase that does not extend java.util.Date. This makes seamless
> integration into JSF/Seam impossible.
>
> Would it be possible to let DateTimeBase extend java.util.Date? Then these
> objects could be used directly as model objects in JSF/Seam.
Not sure, to be honest. I think we needed to look at this in detail.
>
> I am also open for alternative proposals on how to achieve the same goal :)
What happens if you use a binding file to override the type of those
properties to be of type 'java.util.Date' ? I have not tried this
myself, but it's worth investigating.
>
> Many thanks,
> Christian Schuhegger
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email