cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Reijn" <j.re...@hippo.nl>
Subject RE: Re: Input modules
Date Wed, 13 Jul 2005 10:01:00 GMT
Roberto,
 
what version of cocoon are you using?
 
Greetz,
 
Jeroen

-----Original Message-----
From: holger.willenborg@armacell.com [mailto:holger.willenborg@armacell.com]
Posted At: Wednesday, July 13, 2005 11:20 AM
Posted To: Cocoon User List
Conversation: Re: Input modules
Subject: Re: Re: Input modules



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