cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From holger.willenb...@armacell.com
Subject Re: Re: Input modules
Date Wed, 13 Jul 2005 09:20:10 GMT
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

users-return-80931-holger.willenborg=armacell.com@cocoon.apache.org 
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: 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
> 
> 
> 
> 
> 
Mime
View raw message