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/yyyy" work?

On 5/17/07, Tony Nelson <[EMAIL PROTECTED]> wrote:

I have a simple DatePicker

                    <input jwcid="[EMAIL PROTECTED]"
value="ognl:tradeSearchKeys.receivedTimesheetForWeekEnding"
                        translator="translator:date,pattern=M/d/yyyy"
                        validators="validators:required"
                        displayName="As of Date"/>


All that I want to do is verify that the user entered the date as
MM/DD/YYYY.

What is the correct validator to use in this situation?

Thanks again
Tony Nelson


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to