<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=575041219-05012006><FONT face=Arial
color=#0000ff size=2>Actually,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=575041219-05012006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=575041219-05012006><FONT face=Arial
color=#0000ff size=2>I already got the solution and here it
is:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=575041219-05012006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=575041219-05012006><FONT face=Arial
color=#0000ff size=2><c:set
var="localVar"><BR> <cms:contentshow
element="myBool" /><BR></c:set></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=575041219-05012006><FONT face=Arial
color=#0000ff size=2><c:if test="${localVar==
'true'}"> </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=575041219-05012006> <FONT
face=Arial><FONT color=#0000ff size=2> .......</FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=575041219-05012006><FONT face=Arial
color=#0000ff size=2></c:if></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=575041219-05012006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=575041219-05012006><FONT face=Arial
color=#0000ff size=2>Ann</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Dvoretsky,
Ann<BR><B>Sent:</B> Thursday, January 05, 2006 12:38 PM<BR><B>To:</B>
opencms-dev@opencms.org<BR><B>Subject:</B> [opencms-dev] How to get the value
of an OpenCmsBoolean element?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT size=2><SPAN
class=626402418-05012006>Hello,<SPAN class=559523618-05012006><FONT
color=#0000ff> </FONT></SPAN></SPAN></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT size=2><SPAN
class=626402418-05012006><SPAN
class=559523618-05012006></SPAN></SPAN></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=+0><FONT face=Arial><FONT size=2><SPAN
class=626402418-05012006>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!<SPAN class=559523618-05012006><FONT
color=#0000ff> </FONT></SPAN></SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT size=+0><FONT face=Arial><FONT size=2><SPAN
class=626402418-05012006><SPAN
class=559523618-05012006></SPAN></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=+0><FONT size=+0><FONT face=Arial><FONT
size=2><SPAN class=626402418-05012006>Thanks! <SPAN
class=559523618-05012006><FONT
color=#0000ff> </FONT></SPAN></SPAN></FONT></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT size=+0><FONT size=+0><FONT face=Arial><FONT
size=2><SPAN class=626402418-05012006><SPAN
class=559523618-05012006></SPAN></SPAN></FONT></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=+0><FONT size=+0><FONT face=Arial><FONT
size=2><SPAN class=626402418-05012006><SPAN class=559523618-05012006><FONT
color=#0000ff>Ann</FONT> </SPAN></SPAN></FONT></FONT></FONT></FONT></DIV></BLOCKQUOTE></BODY></HTML>