[opencms-dev] How to use <cms:info> in a <c:when> tag?
lk
cesto at email.it
Fri Apr 14 16:44:21 CEST 2006
Panos Kavalagios wrote:
> LuKe,
>
> I think the following might work:
>
> <c:set var="var1"><cms:info property="opencms.request.uri" /></c:set>
>
Thanks to Panos and Robert!!!
I would like to ask to you for a similar question.
In the tag <cms:contentload> I want to use a variable inside the param
attribute.
This code works:
<cms:contentload collector="allInFolder"
param="${param.folder}news_${number}.html|news" preload="true">
This other code works as well:
<cms:contentload collector="allInFolder"
param="/sites/default/mysite/newsfolder/news_${number}.html|news"
preload="true">
But if I put the path for the news in a variable and try to use this
variable, the tag doesn't work any more.
<c:set var="var1" value="/sites/default/mysite/newsfolder/" />
<cms:contentload collector="allInFolder"
param="${var1}news_${number}.html|news" preload="true">
Why?
And how can I put a variable in the attribute of the tag?
Many thanks again
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Logos Finanziaria SPA. SocietĪ° di credito ad erogazione diretta. Fino a 30.000 euro in 24 ore! Clicca e scopri come
*
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2909&d=14-4
More information about the opencms-dev
mailing list