On 9 Nov 2004, at 13:38, Vadim Gritsenko wrote:
Hi Guys,
As discussed before, and several times already, it is time to phase
out "feature" of passing parameters from the sitemap into flowscript
as positioned function parameters:
function myflow (a, b, c) {
...
}
Because this syntax relies on order of <map:parameter/> elements in
the sitemap but not names of the parameters. This syntax is replaced
with non-ambigous:
function myflow () {
var a = cocoon.parameters.a;
...
}
Proposed phase out plan is:
1. Write ERROR into the log file in 2.1.6 when usage of deprecated
syntax is detected.
2. Throw exception in 2.1.7 when usage of deprecated syntax
is detected.
3. Completely remove support of deprecated syntax in 2.2.
Please cast your votes.
+1 to all
regards Jeremy
--------------------------------------------------------
If email from this address is not signed
IT IS NOT FROM ME
Always check the label, folks !!!!!
--------------------------------------------------------