cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Wielgus <lis...@o2.pl>
Subject [XSP] Java variables within tag attributes
Date Sat, 01 Nov 2003 19:48:58 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message