cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "julien bloit" <Julien.Bl...@ircam.fr>
Subject Re: DateInputModule : formatting
Date Wed, 21 Jan 2004 09:57:12 GMT
Nevermind, I get the date directly from inside xsp :
<util:time format="dd-MM-yyyy"/>
works fine

Julien

----- Original Message ----- 
From: "julien bloit" <Julien.Bloit@ircam.fr>
To: <users@cocoon.apache.org>
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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message