[jboss-user] [JBoss Seam] - Why does <s:convertDateTime pattern=
grettke_spdr
do-not-reply at jboss.com
Fri Oct 5 09:54:41 EDT 2007
During testing we found that text input fields for date values set up with a converter:
<s:convertDateTime pattern="MM/dd/yyyy"/>
allow for the year input as 20007, which blows up on the DB side of things.
The unexpected thing here is that I expected the converter to limit year inputs to 4 characters (yyyy). I'm pretty sure this is right; but obviously not.
What are we doing wrong?
The actual db error is that in DB2 the year exceeds '9999'
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092005#4092005
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092005
More information about the jboss-user
mailing list