You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Timur Izhbulatov <ti...@yxo.ru> on 2004/10/18 15:55:04 UTC
[Flow] cocoon.context.getInitParameter()
Hi All!
My flowscript function try to get the value of an init parameter but the
getInitParameter() method doesn't seem to work:
// ...
var list = new Array(
"qwer",
cocoon.context.getInitParameter("configurations"),
cocoon.context.getInitParameter("upload-directory"),
"asdf"
);
cocoon.sendPage("test-pipeline", { "list":list })
// ...
The test-pipeline (it uses a jx template to iterate over the list) shows the
"qwer" and the "asdf" strings but the other elements of the list are empty.
Where's the problem?
Thanks in advance.
Timur
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org