Nevermind, I get the date directly from inside xsp : <util:time format="dd-MM-yyyy"/> works fine
Julien ----- Original Message ----- From: "julien bloit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 20, 2004 7:05 PM Subject: DateInputModule : formatting > Hi, > I'm confused because although I've read several threads about the question, > I can't seem to get a final solution to formatting the result from > DateInputModule. > > http://wiki.cocoondev.org/Wiki.jsp?page=InputModules article mentions the > problem about format attributes not working, and also says that "nested > <format/> tags work fine". > > I've tried format using format tags in cocoon.xconf , in the > component-instance tag of DateInputModule (and restarted tomcat) : > <fr-format>dd-MM-yyyy</fr-format> > > and tried passing the date to an xsp : > <map:parameter name="mydate" value="{date:fr-format}"/> > > -> date outputs with default format. > > Is there something I'm missing? > (I use cocoon-2.1.3) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
