[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: nothing is displayed when formatting with a pattern of <

meurisse do-not-reply at jboss.com
Fri Nov 16 05:00:10 EST 2007


I forgot to mention that the _pattern property of javax.faces.convert.DateTimeConverter is an empty string, hence getAsString()  which returns prepareDateFormat().format(value) returns an empty string.
This is because of prepareDateFormat() returning new SimpleDateFormat(_pattern, getLocale()).

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105365#4105365

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105365



More information about the jboss-user mailing list