[opencms-dev] How to get the value of an OpenCmsBoolean element?
Dvoretsky, Ann
ADvoretsky at cme.com
Thu Jan 5 20:13:42 CET 2006
Actually,
I already got the solution and here it is:
<c:set var="localVar">
<cms:contentshow element="myBool" />
</c:set>
<c:if test="${localVar== 'true'}">
.......
</c:if>
Ann
________________________________
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Dvoretsky, Ann
Sent: Thursday, January 05, 2006 12:38 PM
To: opencms-dev at opencms.org
Subject: [opencms-dev] How to get the value of an OpenCmsBoolean
element?
Hello,
I defined a OpenCmsBoolean element in my XSD file and now want
to execute a conditional statement in my JSP template based on whether
the user sets the boolean to true or not. But I can't figure out what
cms tag or method to use to access the value. Please let me know if you
have any ideas!
Thanks!
Ann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060105/46ea5834/attachment.htm>
More information about the opencms-dev
mailing list