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/26 23:33:10 UTC

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

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


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

Posted by Carsten Ziegeler <cz...@sundn.de>.
Yes, that was the reason why it was not added, but I applied it
already yesterday. Please cross-check.

Carsten

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


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