Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save saulovenancio/9ff59b13917409e9c930d81fc60510a8 to your computer and use it in GitHub Desktop.
Save saulovenancio/9ff59b13917409e9c930d81fc60510a8 to your computer and use it in GitHub Desktop.
from: https://adobe-consulting-services.github.io/acs-aem-commons/features/generic-lists.html
Touch
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/select"
fieldLabel="Social Service"
name="./social">
<datasource
jcr:primaryType="nt:unstructured"
sling:resourceType="acs-commons/components/utilities/genericlist/datasource"
path="/etc/acs-commons/lists/sharethis-services" />
</jcr:root>
Classic
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:Widget"
fieldLabel="Target"
name="./target"
options="/etc/acs-commons/lists/age-ranges/_jcr_content.list.json"
type="select"
xtype="selection"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment