Re: Hopefully an easy one

2007-05-18 Thread Daniel Kleine-Albers
Hi Tony, would using a minDate validator be an option - to restrict valid values to dates later as 01/01/2007 for example? Best regards Daniel On 18.05.2007, at 04:24, Tony Nelson wrote: No, it will accept user input as: 5/17/07 which gets translated in my queries to 5/17/0007 and causes

Re: Hopefully an easy one

2007-05-17 Thread Tony Nelson
No, it will accept user input as: 5/17/07 which gets translated in my queries to 5/17/0007 and causes hibernate to self destruct. If a user enters 5/17/07 I expect an error to be raise, but alas, no. Thanks Tony Andreas Andreou wrote: doesn't translator="translator:date,pattern=MM/dd/" wo

Re: Hopefully an easy one

2007-05-17 Thread Andreas Andreou
doesn't translator="translator:date,pattern=MM/dd/" work? On 5/17/07, Tony Nelson <[EMAIL PROTECTED]> wrote: I have a simple DatePicker All that I want to do is verify that the user entered the date as MM/DD/. What is the correct validator to use in this situati

Hopefully an easy one

2007-05-17 Thread Tony Nelson
I have a simple DatePicker value="ognl:tradeSearchKeys.receivedTimesheetForWeekEnding" translator="translator:date,pattern=M/d/" validators="validators:required" displayName="As of Date"/> All that I wa