Hi Jan,
I did a similar thing by using by writing an XSLT stylesheet that declares an xsl:param, passing the param from my sitemap using map:transform, and having the XSLT stylesheet fill in the "src" attribute value for the <cinclude>. After that stage is done, you can pass it through the "cinclude" transformer.
HTH,
Sonny
From: Jan Wielgus <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [XSP] Java variables within tag attributes Date: Sat, 1 Nov 2003 20:48:58 +0100
Hello,
I want to do something like this: I want to include a page in my main page depending on a request parameter:
<xsp:logic> String page = <xsp-request:get-parameter name="page"/>; if(page==null || page=="") page = "cocoon:/pagecontent/kategorien.xsp"; </xsp:logic>
But then I have a problem. How can I pass the variable 'page' to the <cinclude>-tag?
<cinclude:include src=" <-- here I don't know how to do it :((
Any help will be appreciated
Regards
Jan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Fretting that your Hotmail account may expire because you forgot to sign in enough? Get Hotmail Extra Storage today! http://join.msn.com/?PAGE=features/es
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
