cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Huttar" <lars_hut...@sil.org>
Subject RE: passing sitemap parameters to XSP?
Date Wed, 11 Aug 2004 14:18:10 GMT
Thank you, Jan and Olivier.
Lars

> -----Original Message-----
> From: news [mailto:news@sea.gmane.org]On Behalf Of Olivier Billard
> Sent: Wednesday, August 11, 2004 7:24 AM
> To: users@cocoon.apache.org
> Subject: Re: passing sitemap parameters to XSP?
> 
> 
> 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


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


Mime
View raw message