[jboss-user] [JBoss Seam] - Re: Date format with parameter
rengar
do-not-reply at jboss.com
Wed Mar 7 10:54:55 EST 2007
Now I use:
| <f:converter converterId="com.xxxx.converters.DateConverter" />
|
And not:
| <s:convertDateTime pattern="dd/MM/yyyy"/>
|
Code :
| package com.xxxx.converters;
|
| import javax.faces.convert.DateTimeConverter;
|
| public class DateConverter extends DateTimeConverter {
|
| public static final String pattern = "dd/MM/yyyy";
|
| public DateConverter(){
| this.setPattern(pattern);
| }
|
| }
|
This works fine.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025840#4025840
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025840
More information about the jboss-user
mailing list