You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Sergio Carvalho <se...@acm.org> on 2001/09/23 20:59:10 UTC

[C2][patch] Default value support for RequestParamAction

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

AW: [C2][patch] Default value support for RequestParamAction

Posted by Carsten Ziegeler <cz...@sundn.de>.
Hi Sergio,

thanks for your patch - it's applied to both cvs - please cross-check.


Carsten 

Open Source Group                        sunShine - b:Integrated
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de                          mailto: cziegeler@sundn.de 
================================================================


> -----Ursprungliche Nachricht-----
> Von: Sergio Carvalho [mailto:sergio.carvalho@acm.org]
> Gesendet: Sonntag, 23. September 2001 20:59
> An: cocoon-dev@xml.apache.org
> Betreff: [C2][patch] Default value support for RequestParamAction
> 
> 
> 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
> 

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