FYI, I have updated http://wiki.apache.org/cocoon/XSPEnvironment
showing this example, which I think should be helpful to some.

Lars

> -----Original Message-----
> From: Lars Huttar [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 11, 2004 10:55 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: passing sitemap parameters to XSP?
> 
> 
> Thanks Jan. It worked!
> 
> Yes, I had looked at the wiki pages you mentioned, although
> at the time I was searching particularly for how to access
> sitemap parameters.
> You're right, XSPSyntax in particular is helpful in figuring
> out how to use raw Java in XSP.
> 
> Maybe I should put up a little wiki page on this topic,
> or add to one of the existing ones what I just learned.
> 
> Thanks again to both of you who responded (twice).
> 
> Lars
> 
> 
> > -----Original Message-----
> > From: Jan Hoskens [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, August 11, 2004 10:29 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: passing sitemap parameters to XSP?
> > 
> > 
> > Try this:
> > 
> > <xsp:page language="java" xmlns:xsp="http://apache.org/xsp";
> > xmlns:xsp-request="http://apache.org/xsp/request/2.0"; 
> > xmlns:esql="http://apache.org/cocoon/SQL/v2";>
> >     <language-entry>
> >             <xsp:logic>String id = 
> > parameters.getParameter("id", "-1");</xsp:logic>
> >             <class>Language in Country</class>
> >             <id>
> >                     <xsp:expr>id</xsp:expr>
> >             </id>
> >     </language-entry>
> > </xsp:page>
> > 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to