>>>>> "Ugo" == Ugo Cei <[EMAIL PROTECTED]> writes:
Ugo> Il giorno 25/giu/04, alle 00:44, Colin Paul Adams ha scritto:
>> I will also need to get the month and year parameters from the
>> query string. What would be involved in adding a
>> <use-request-parameters> like the xslt transformer can take?
Ugo> Why would you want to do that? You can do:
Because I'm new to cocoon, and didn't know better.
Ugo> <map:generate type="calendar"> <map:parameter
Ugo> name="month" value="{request-param:year}"/> <map:parameter
Ugo> name="year" value="{request-param:year}"/> </map:generate>
That's exactly what I want to do.
Ugo> The set of parameters that you might pass to the generator is
Ugo> fairly small and I don't see much need for what you're
Ugo> proposing. Now that I think of it, it would even be better if
Ugo> the year and month were encoded in the "src" attribute,
Ugo> instead as parameters, like this:
Ugo> <map:generate type="calendar"
Ugo> src="{request-param:year}/{request-param:year}"/>
Ugo> WDYT?
I see no need to alter it.
--
Colin Paul Adams
Preston Lancashire
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]