Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

f:convertDateTime issue

 
Kevin Schenck
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Pie
Posts: 18276
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, what you want there isn't conversion, it's validation!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic