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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "f:convertDateTime issue" Watch "f:convertDateTime issue" New topic

f:convertDateTime issue

Kevin Schenck

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: 17260

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

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: f:convertDateTime issue
It's not a secret anymore!