This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JSF and the fly likes f:convertDateTime issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "f:convertDateTime issue" Watch "f:convertDateTime issue" New topic
Author

f:convertDateTime issue

Kevin Schenck
Greenhorn

Joined: Apr 03, 2009
Posts: 2

I have the following date converter:

<f:convertDateTime type="date" pattern="dd/MM/yyyy"/>

But it is possible to type 12/12/20091.

What can I do to change this?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16901
    
  26

Actually, what you want there isn't conversion, it's validation!


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: f:convertDateTime issue
 
It's not a secret anymore!