Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

f:convertDateTime issue  RSS feed

 
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
Bartender
Posts: 18531
61
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
Boost this thread!