AEM 6 Dynamic "parsys" with allowed Children
<p>I have an "issue" with setting allowedChildren for dynamic generater parsys</p>

<p>div_list.html</p>

<pre><code>&lt;div class="row" data-sly-list="${[0,1,2,3,4]}"&gt;
    &lt;sly data-sly-test.sxCol="${ '{0}{1}' @format=['col_sx_', itemList.index] }" /&gt;
    &lt;sly data-sly-test.dxCol="${ '{0}{1}' @format=['col_dx_', itemList.index] }" /&gt;
&lt;dt class="col-xs-12 col-sm-6"&gt;
    &lt;div data-sly-resource="${ @path=sxCol, resourceType='foundation/components/parsys'}"&gt;&lt;/div&gt;
    &lt;!--/*&lt;div data-sly-resource="${ @path=sxCol, resourceType='foundation/components/text'}"&gt;&lt;/div&gt;*/--&gt;
&lt;/dt&gt;
&lt;dd class="col-xs-12 col-sm-6"&gt;
    &lt;div data-sly-resource="${ @path=dxCol, resourceType='foundation/components/parsys'}"&gt;&lt;/div&gt;
    &lt;!--/*&lt;div data-sly-resource="${ @path=dxCol, resourceType='foundation/components/text'}"&gt;&lt;/div&gt;*/--&gt;
&lt;/dd&gt;
</code></pre>

<p></p>

<p>the .content.xml</p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0"" xmlns:jcr="http://www.jcp.org/jcr/1.0"
cq:isContainer="{Boolean}true"
jcr:primaryType="cq:Component"
jcr:title="Tabella Div"
allowedChildren="[foundation/components/text]"
componentGroup="Credem Components"/&gt;
</code></pre>

<p>My Issue it's that even giving to .content.xml properties of "allowedChildre" fundation/component/text and give to parent attribute of "cq:isContainer={boolean}true" it's fail to apply it..</p>

<p>And still allow my users to add any component.</p>

<p>Thanx for your time.
Andrea.</p>