cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: accessing sitemap parameters in a flow script
Date Sat, 23 Aug 2003 19:28:34 GMT
Marc Portier wrote:

<snip/>

>> There's already a "parameters" property in the "cocoon" object.
>>
>> We can have :
>> function whatever() {
>>  doSomething(cocoon.parameters.x, cocoon.parameters.y);
>> }
>

And nobody still answered the question: why passing of parameters into 
the function

  function whatever(x, y, z)

is required and can not be removed? Let's remove this and move along. 
cocoon.parameters is much better and has no place for confusion.


Vadim



Mime
View raw message