cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject Re: accessing sitemap parameters in a flow script
Date Fri, 15 Aug 2003 16:03:39 GMT
Sylvain Wallez wrote:
> <map:call function="foo">
>  <map:parameter name="bar" value="baz"/>
> </map:call>
> 
> and
> 
> function foo() {
>  var x = cocoon.parameters["baz"];
> }

It's even easier:

<map:call function="foo">
   <map:parameter name="bar" value="baz"/>
</map:call>

function foo(bar) {
     ...
}

Andreas



Mime
View raw message