How to limit how many components can be dropped into an iparsys
In a page template I have a parsys in which a header component can be dropped. Something similar to this:
<cq:include path="parsys-header" resourceType="foundation/components/iparsys"/>
How can I configure this iparsys so that when it is empty, the header component can be dropped into it but when the header component is already dropped into it, nothing else can be dropped into it?
Thanks.