cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <>
Subject Pattern convertor - Bug?
Date Tue, 01 Mar 2005 08:23:52 GMT

If I use a pattern convertor according to the documentation

<fd:convertor type="formatting">
     <fd:pattern locale="nl-BE">dd/MM/yyyy</fd:pattern>
     <fd:pattern locale="fr">dd-MM-yyyy</fd:pattern>

I get following exception:

java.lang.IllegalArgumentException: Illegal pattern  character 'd'
	at java.text.SimpleDateFormat.translatePattern(
	at java.text.SimpleDateFormat.applyLocalizedPattern(
	at org.outerj.i18n.JdkDateFormat.applyLocalizedPattern(

(I've modified the birthday widget of our 'form1'-example and I'm using trunk 
checked-out yesterday. I've noticed the same problem in a 4 weeks old 2.2 
checkout too.)

Any ideas what's wrong here? Is it a bug or my mistake?

Reinhard Pötz           Independant Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}


View raw message