cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Daniel <alexander.dan...@gmx.at>
Subject Re: Cocoon calendar generator padweeks
Date Fri, 14 Mar 2008 12:23:36 GMT
On 11.03.2008, at 17:19, Carlos Martínez wrote:

> I'm trying to use de Calendar Generator in the cocoon 2.1.9. All  
> works good, buy the parameter padweeks is ignored.
>
> The match in the sitemap
>
> <map:match pattern="mes_*_*.src">
>          <map:generate type="calendar">
>            <map:parameter name="month" value="{1}"/>
>            <map:parameter name="year" value="{2}"/>
>            <map:parameter name="dateFormat" value="yyyyMMdd"/>
>            <map:parameter name="lang" value="ca"/>
>            <map:parameter name="country" value="ES"/>
>            <map:parameter name="padweeks" value="true"/>
>       </map:generate>
>      <map:serialize type="xml"/>
>    </map:match>


According to the user documentation [2] "padweeks" should work. But in  
the Cocoon 2.1.9 source [1] "padWeeks" (note the capital W) is used.

Please let us known whether it works with padWeeks, Alex

[1] http://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.1/RELEASE_2_1_9/src/java/org/apache/cocoon/generation/CalendarGenerator.java
[2] http://cocoon.apache.org/2.1/userdocs/calendar-generator.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message