Hi We're currently facing an issue with a DateTextField define like this : DateTextField yearOfPublication = new DateTextField("published", getModel(), new PatternDateConverter("yyyy",true)); add(yearOfPublication); This field is added in a panel containing as well a required field (named title). This panel is added to a form containing a feedback panel and a compound property model. A simple html submit button does the submit.
In a new browser session, when I first access the page, if a put a value in this DateTextField and submit the form, no validation is made (be it of the required text field being null or the date field itself : I can put letters into it without error showing up) and everything is sent to the DB, which of course complain of the missing required title (of the required textfield). We are using Hibernate for the DAO, Guice for injection and Wicket 1.3.3. Any clue of why it happens ? Any help is really appreciated (users are waiting..). I add a file with the stack trace (I just removed some packages names) if it can help : http://www.nabble.com/file/p18379140/trace.txt trace.txt Thanks in advance bye Joseph -- View this message in context: http://www.nabble.com/DateTextField-%22bug%22-%3A-no-validation-and-giving-null-to-Hibernate-tp18379140p18379140.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]