no service implements the interface java.util.Date

2009-03-02 Thread
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. 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

Jetty Launcher causes problems.

2009-03-02 Thread
Jetty Launcher Eclipse plugin causes a wiered problem while I'm trying to add contributions to ApplicationStateManager for Tapetry 5 . After a long time tracing and guessing. I found out at DefaultMuduleDef.java line 190,(ver5.0.15),the HashMap produces wrong hashcode and failed to get configurati

AppModule just won't work

2009-03-01 Thread
I'm following the book "Tapestry 5: Building Web Applications" to start my first journey on Tapestrt,but it fails me. The way of inject a interface of IDataSource by adding "contributeApplicationStateManager(MappedConfiguration)" to "AppModule.java" won't work. Where am I missing here? Is there a w

auto tag complementation in Eclipse 3.4

2009-02-28 Thread
I tried to add "tapestry_5_0_0.xsd" in Eclipse 3.4's XML Catalog and wish to get an auto-complete of Taepstry 5's tags, but I failed. Did anyone successfully make this work? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apa

Re: More than one submit button in one form.

2009-02-27 Thread
Yes, the onSelectedXXX works! Thank you. The annotaded way won't work. I've tried it. Maybe this is a bug. I am using Tapestry 5.0.18. 2009/2/27 nille hammer : > Hi Dante, > the convention for naming of handle methods of submit events is > "onSelectedFrom". Rewrite your code as follows and it shu

More than one submit button in one form.

2009-02-27 Thread
While I am reading the book "Tapestry 5: Building Web Applications", it introduces a way to implements two submit button in one form(see the code below). But  according to http://markmail.org/message/fjev6gt76fpc6akq , all buttons' events will be "overrided" by the form component. Is there a way to