You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Roberto Marra <rm...@montefiore.ch> on 2005/07/13 12:03:32 UTC

Re: Input modules[SOLVED]

I don't know what happen I mean I reebooted coocon & now it works.

Thanx in any case
Cheers
Roberto
  ----- Original Message ----- 
  From: Roberto Marra 
  To: users@cocoon.apache.org 
  Sent: Wednesday, July 13, 2005 10:21 AM
  Subject: Input modules


  Hi guys,
  Im trying to read the contextPath in the flow. In my sitemap I got this:

  <map:match pattern="**.lista">
  <map:call function="{1}ls">
  <map:parameter name="form-name" value="{1}"/>
  <map:parameter name="contextPath" value="{request:contextPath}"/>
  </map:call>
  </map:match>

  In the flow I try to read with:

  var contesto = cocoon.parameters["contextPath"];

  but "contesto" is empty. Anybody knows why?

  Thanx in advance
  Roberto