You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de> on 2003/02/28 10:10:40 UTC

Re: Passing format to DateInputModule

On 27.Feb.2003 -- 07:01 PM, Alex Romayev wrote:
> Hi,
> 
> It looks like DateInputModule has changed and doesn't
> accept format like it used to.  Here is what I used to
> be able to do in cocoon.xconf:
> 
> <component-instance
> class="org.apache.cocoon.components.modules.input.DateInputModule"
> logger="core.modules.input" name="my-date">
>   <format>yyyy-MM-dd</format>
> </component-instance>
> 
> However the input module now ignores the specified
> format.

Please update. This should have been fixed around 2003/02/21.

> Also, is cocoon.xconf the only place where the format
> can be specified, is it possible to do it in the
> sitemap?

Currently, yes. There are plans to make it possible to configure new
modules in sitemap as well.

	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

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