Hello,

 

I have an object Celebrity with the fields:

 

private long id;

private String firstName;

private String lastName;

private Date dateOfBirth;(java.util.Date)

 

When I use the tag:

 

<t:beaneditform t:id="celebrity"/>

 

And access the page I get the console error:

 

No service implements the interface java.util.Date.

 

And a Tapestry error:

 

Render queue error in SetupRender[AddCelebrity:celebrity.editor]: Exception
instantiating instance of com.packtpub.celebrities.model.Celebrity (for
component 'AddCelebrity:celebrity.editor'): Error invoking constructor
com.packtpub.celebrities.model.Celebrity(String, String, Date, Occupation)
(at Celebrity.java:23) (for service 'BeanModelSource'): No service
implements the interface java.util.Date.

 

Any ideas what I am doing wrong?

 

Thanks,

--James

Reply via email to