CQ5 - Dynamically populating options in selection xtype
问题 I've been banging my head for hours on this now. I'm trying to dynamically populate options in a selection xtype and can't get it to work. Here is my dialog.xml <resourceType jcr:primaryType="cq:Panel" title="Header Type"> <items jcr:primaryType="cq:WidgetCollection"> <headerType jcr:primaryType="cq:Widget" fieldLabel="Header Type" name="./headerType" type="select" xtype="selection"> <options jcr:primaryType="cq:WidgetCollection"> <categories jcr:primaryType="cq:Widget" path="/content/admin