cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: accessing sitemap parameters in a flow script
Date Sun, 31 Aug 2003 06:14:20 GMT
Vadim Gritsenko wrote:

> 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.


+1. But this creates a back incompatibility with the released 2.1 version...

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com



Mime
View raw message