cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: [Vote] Cocoon Advanced Control Flow
Date Fri, 11 Jul 2003 12:57:15 GMT

On Wednesday, July 9, 2003, at 06:03 PM, Christopher Oliver wrote:

> Just to clarify: what I added was the "cocoon.parameters" property 
> that contains a map of the parameters passed from the sitemap. The 
> parameters are also passed positionally to the function as before. So 
> if you want to access a  named parameter you can do this:
> <map:call function="myFlow">
>   <map:parameter name="x" value = y"/>
>    ...
>
> function myFlow() {
>    var x = cocoon.parameters.x;
> }
>
>
> The same functionality is in the original flow implementation.
>
> Do we want something different?

This looks perfect!

Many thanks

regards Jeremy


Mime
View raw message