How to get checkbox value from strutcure in template (velocity)
<p>I've a <strong>structure</strong> in <strong>liferay</strong> which has a checkbox into a <code>dynamic-element</code> tag (called <strong>item_name_1</strong>)
Now how can i read checkbox value in my template ?</p>

<p><strong>Structure</strong></p>

<pre><code>&lt;dynamic-element dataType="string" indexType="keyword" name="item_name_1" readOnly="false" repeatable="true" required="false" showLabel="true" type="text" width="small"&gt;
    &lt;dynamic-element dataType="link-to-page" fieldNamespace="ddm" indexType="keyword" name="content_lnk" readOnly="false" repeatable="false" required="false" showLabel="true" type="ddm-link-to-page" width="small"&gt;
        &lt;dynamic-element dataType="boolean" indexType="keyword" name="service_menustat" readOnly="true" repeatable="true" required="false" showLabel="true" type="checkbox" width=""&gt;
            &lt;meta-data locale="fa_IR"&gt;
                &lt;entry name="label"&gt;
                    &lt;![CDATA[منو بصورت پیش فرض باز باشد]]&gt;
                &lt;/entry&gt;
                &lt;entry name="predefinedValue"&gt;
                    &lt;![CDATA[false]]&gt;
                &lt;/entry&gt;
                &lt;entry name="tip"&gt;
                    &lt;![CDATA[]]&gt;
                &lt;/entry&gt;
            &lt;/meta-data&gt;
        &lt;/dynamic-element&gt;
        &lt;meta-data locale="fa_IR"&gt;
            &lt;entry name="label"&gt;
                &lt;![CDATA[اتصال به صفحه]]&gt;
            &lt;/entry&gt;
            &lt;entry name="predefinedValue"&gt;
                &lt;![CDATA[]]&gt;
            &lt;/entry&gt;
            &lt;entry name="tip"&gt;
                &lt;![CDATA[]]&gt;
            &lt;/entry&gt;
        &lt;/meta-data&gt;
    &lt;/dynamic-element&gt;
&lt;/dynamic-element&gt;
</code></pre>

<p>also I tried to get specific checkbox in my template (velocity) using <code>$service_menustat.getData()</code> and <code>$service_menustat.data</code> and even <code>'$service_menustat'</code> </p>

<p><code>$service_menustat</code> is not exist in template intellisense..</p>

<p>Thanks</p>