aspose file tools*
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 Spring in Action this week in the Spring 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: 16142
    
  21

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