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