cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timur Izhbulatov <...@yxo.ru>
Subject [Flow] getInitParameter()
Date Thu, 14 Oct 2004 17:27:07 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message