Skip to content

Instantly share code, notes, and snippets.

@kuckmc01
Last active February 28, 2019 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kuckmc01/8fd8be32c8ce42713045b2f83cea6ea0 to your computer and use it in GitHub Desktop.
Save kuckmc01/8fd8be32c8ce42713045b2f83cea6ea0 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