tag:help-archives.hannonhill.com,2010-02-09:/discussions/velocity-formats/13442-if-statement-to-only-display-data-when-block-chooser-is-emptyCascade CMS: Discussion 2018-10-18T20:37:48Ztag:help-archives.hannonhill.com,2010-02-09:Comment/389103992016-01-13T18:30:45Z2016-01-13T18:30:45ZIf statement to only display data when block chooser is empty<div><p>Hi Lauren,</p>
<p>Currently, your <code>$searchPath</code> variable stores an
<code>org.jdom.Element</code> object. You need to use the
<code>value</code> property and compare it with
<code>'/'</code>.</p>
<p>Wing</p></div>Wing Ming Chantag:help-archives.hannonhill.com,2010-02-09:Comment/389103992016-01-13T19:32:18Z2016-01-13T19:32:18ZIf statement to only display data when block chooser is empty<div><p>Wing,<br>
I kind of can’t believe I missed this. Thanks!</p></div>lauren.fraser