Hi All!

I use Cocoon 2.1.5 and cocoon.context.getInitParameter("upload-directory") doesn't seem to work:

  // returns an empty string
  var dir = cocoon.context.getInitParameter("upload-directory");

var list = new Array(dir);
cocoon.sendPage("test-pipeline", {"list": list});


The test-pipeline contains a JXTemplate which iterates over the list and show its items. The pipeline does work since I use it widely for debuging my flowscripts.

Where's the problem?

Thanks in advance.


Timur

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to