maybe
<cinclude>
<xsp:attribute name="src"><xsp:expr>page</xsp:expr></xsp:attribute>
</cinclude>
|---------+---------------------------->
| | Jan Wielgus |
| | <[EMAIL PROTECTED]> |
| | |
| | 11/01/2003 02:48 |
| | PM |
| | Please respond to|
| | users |
| | |
|---------+---------------------------->
>--------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc:
|
| Subject: [XSP] Java variables within tag attributes
|
>--------------------------------------------------------------------------------------------------------------|
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Re: [XSP] Java variables within tag attributes
Christopher Painter-Wakefield Mon, 03 Nov 2003 07:27:01 -0800
- Re: [XSP] Java variables within tag attribut... Sonny Sukumar
- Re: Re: [XSP] Java variables within tag... Sonny Sukumar
- Christopher Painter-Wakefield
