I have no clue concerning Flow, but have you tried

var param = cocoon.parameters.contextPath

or

var param = cocoon.parameters['contextPath ']


Just an idea...
HTH

[EMAIL PROTECTED] schrieb am 13.07.2005 11:07:04:

> Actually any of the RequestModule Accessor gave me back a value, is
> always empty. I try with different like:

>  
> contextPath
> method
> protocol
> remoteAddr
> requestURI
> scheme
> serverName
> sitemapURI
>  
> all of those are empty!! Quite strange isn't? Any suggestion?
>  
>  
>  
>  
>  
>  
> ----- Original Message -----
> From: Roberto Marra
> To: [email protected]
> 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
>  
>  
>  
>  
>  

Reply via email to