cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Carvalho <sergio.carva...@acm.org>
Subject [C2][patch] Resent: Default value support for RequestParamAction
Date Wed, 26 Sep 2001 21:33:10 GMT
When I last sent this, C2 was on a code freeze for RC1, so it probably got
missed. Here it goes again...
----

Hi,

I'm sending attached a patch to the RequestParamAction which allows definition
of default values for the parameters inserted into the sitemap by the action.
Default values are defined by passing the action a parameter named
default.<parameter-name>. Ex:
...
 <map:act type="request">
   <map:parameter name="parameters" value="true" />
   <map:parameter name="default.looknfeel" value="blue_gray" />
...

Cheers,

--
Sergio Carvalho
---------------
sergio.carvalho@acm.org

If at first you don't succeed, skydiving is not for you


Mime
View raw message