cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piroumian Konstantin <KPiroum...@protek.com>
Subject RE: Date Input Module
Date Fri, 18 Oct 2002 11:41:11 GMT
Christian,

> From: Christian Haul [mailto:haul@dvs1.informatik.tu-darmstadt.de] 
> On 18.Oct.2002 -- 12:21 PM, Martin Schimak wrote:
> > Hello!
> > 
> > Does anybody know how to tell the Date Input Module to deliver a 
> > certain
> > date format?
> 
> see java.text.SimpleDateFormat
> 
> and pass it via the format attribute. So currently, you 
> cannot provide a format if you use it from sitemap, only when 
> using it together with the mod-db actions.
> 
>    <mode name="date" format="EEE, MMM d, ''yy" type="all"/>
> 
> for example.

What if we could do this in the sitemap:

<map:parameter name="date" value="{date:date?format=dd/MM/yy}" />?

--
  Konstantin

> 
> 	Chris.
> -- 
> C h r i s t i a n       H a u l
> haul@informatik.tu-darmstadt.de
>     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


Mime
View raw message