File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 16014
    
  20

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.
 
jQuery in Action, 2nd edition
 
subject: f:convertDateTime issue