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] Default value support for RequestParamAction
Date Sun, 23 Sep 2001 18:59:10 GMT
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