[opencms-dev] How to use <cms:info> in a <c:when> tag?

Panos Kavalagios Panagiotis.Kavalagios at eurodyn.com
Fri Apr 14 16:19:28 CEST 2006


LuKe,

    I think the following might work:

<c:set var="var1"><cms:info property="opencms.request.uri" /></c:set>

Regards,
Panos

lk wrote:
> Hi,
>
> I need to test in a <c:when> tag some info I get using <cms:info> tag.
> How can I do that?
>
> I've tried to use <c:set> tag to set a variable to use in <c:when>:
>
> <c:set var="var1" value="<cms:info property='opencms.request.uri' />" />
>
> But var1 is set to "<cms:info property='opencms.request.uri' />" and 
> not to the value returnet by the cms:info tag.
>
> Thanks for any advices
>
> LuKe
>
>
> -- 
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
> Sponsor:
> Conto Arancio: 3.50% per tutto il 2006! Scopri come
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5042&d=14-4
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please 
> visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev

-- 
Panagiotis Th. Kavalagios
Electrical & Computer Engineer
European Dynamics S.A.
Athens, Hellas
Tel: +30-210-8094500




More information about the opencms-dev mailing list