cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Artur Matos <ama...@create.human.nagoya-u.ac.jp>
Subject Re: {requestQuery} from RequestParamAction not working in command line mode
Date Fri, 18 Jul 2003 09:52:10 GMT
Hi,

> Hi,
> 
> This is an example of syntax I use which works although I haven't
> tried running anything from a command line.
> in sitemap.xmap:
> 
> <map:transform src="xslt/error2html.xslt">
>   <map:parameter name="contextPath" value="{request:contextPath}" />
>   <map:parameter name="requestURI" value="{request:requestURI}" />
>   <map:parameter name="sitemapURI" value="{request:sitemapURI}" />
> </map:transform>

Thank you for your reply. I tried this syntax in the sitemap,
but it is giving me an "invalid pattern" error. I guess it only works with the 2.1 branch.

> :
> Perhaps the command line environment doesn't simulate an HTTP
> request correctly for the sitemap to pick up 

Yes, probably is something like that. I wonder if 
it is working correctly in 2.1 . Does anyone
in this list working with the 2.1 command line knows if the query string is being
mapped correctly in the latest version? 

> 
> Hope you manage to sort it out.

Thank you. Thank you very much for the help.


Best regards,

Artur Matos.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message