You set a variable by the check box value and then test this variable, here is the code:

<c:set var="x">
        <cms:out nodeDataName="checkBoxNode"/>
</c:set>
<c:if test="${x=='false'}">
        //ur html code
</c:if>                   
<c:if test="${x=='true'}">
        //ur html code
</c:if>                   

where c is the prefix of JSTL library   

Regards,
Noura

Ronald Schouten wrote:
There must be a cms tag to check the value of checkbox node. Something like
<cms:ifNodeFalse ...> or <cms:ifNodeTrue ...> but I can't seem to find it in
the tag reference on magnolia.sourceforge.net. What are other Magnolia users
doing to check the value of a checkboxSwitch controltype?

Cheers,

Ronald Schouten
Senior Web Developer
Abebooks Inc. - Because You Read
[t] (250) 412-3213
[f] (250) 475-6014
Abebooks.com
Abebooks.de
Abebooks.fr
Abebooks.co.uk
Iberlibro.com


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to