你把缺省的构造去掉就可以了
否则T5IoC会去自动进行参数注入 注入的参数就会去找实现的service 找不到就报这个错误了

----- Original Message ----- From: "孙立伟" <dante....@gmail.com>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Tuesday, March 03, 2009 1:57 PM
Subject: no service implements the interface java.util.Date


While I'm using BeanEditForm component from T5.0.18, it throws an
error says "no servicie implements java.util.Date". My code is quite
simple.

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

and Celebrity is just a POJO which has an constructor like "public
Celebrity(String firstName, String lastName,Date dateOfBirth)". I'm a
newbie and can't find any clue due to the poor documentation of
Tapestry. Could someone give me a hint or tell me which doc I should
read. Thanks a lot.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to