Is there a way in CQ 5.6 to restrict use of specific components within a parsys? e.g. I want to restrict author to use only text component within a parsys, following is how I render the parsys inside one of my component JSP file:
<cq:include path="textpar" resourceType="foundation/components/parsys" />
Previously in CQ 5.4 following code in /etc/designs/myapp/.content.xml used to work for this:
<textpar jcr:lastModified="{Date}2012-10-21T15:00:00.000-07:00" jcr:lastModifiedBy="admin" jcr:primaryType="nt:unstructured" sling:resourceType="foundation/components/parsys" components="[/libs/foundation/components/text]"> <section jcr:primaryType="nt:unstructured"/>
But in CQ 5.6 it's not working. Am I missing something or the way to restrict components changed?
Thanks