cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Billard <olivier.billard.coc...@laposte.net>
Subject Re: passing sitemap parameters to XSP?
Date Wed, 11 Aug 2004 12:23:47 GMT
Hi Lars,

Lars Huttar wrote:
> Dear Cocoonists,
> I'm trying to pass sitemap parameters to an XSP page:
> 
>       <map:match pattern="data/language-entry/*">
>         <map:generate src="sources/language-entry.xsp" type="serverpages">
>           <map:parameter name="id" value="{1}" />
>         </map:generate>
>         <map:serialize type="xml" />
>       </map:match>
> 
> But in the xsp page, where I use <xsp-request:get-parameter name="id"/>,
> the result is nothing (empty string).

<xsp-request:get-parameter name="id"/>, as its name show, is for getting _request_ parameters.
What you want is _sitemap_ parameters :

parameters.getParameter("id");

HTH,
--
Olivier Billard

PS : in general, you should have a look at the list archives before posting, you could have
your answer more quickly :)
ex for your question : http://marc.theaimsgroup.com/?t=108255368000001&r=1&w=2


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


Mime
View raw message