> From: Christian Haul [mailto:haul@;dvs1.informatik.tu-darmstadt.de] > On 18.Oct.2002 -- 03:41 PM, Piroumian Konstantin wrote: > > Christian,
... > > > > > > What if we could do this in the sitemap: > > > > <map:parameter name="date" value="{date:date?format=dd/MM/yy}" />? > > It would be possible (easily) to extent the module in this > way. Another, easy and for consistency needed extension is to > allow configuration on declaration. Another idea came to me just as I wrote the previous letter. If we make the Date Input Module JXPath-enabled then it'll be easy to extend it by custom functions and use something like this: ... value="{format-date(date, 'dd/MM/yyyy'}" ... Though, this will require some additional configuration to plug-in function libraries to JXPath engine. And, btw, extending JXPath is quite easy using custom functions. Just take a look at the JXPath tests. Konstantin > > I'm right in the middle of having the database stuff live in > a block. I'll add it to my todo list for after that. > Unfortunately, this list is growing rapidly :-( > > Chris. > -- > C h r i s t i a n H a u l > [EMAIL PROTECTED] > 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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>