Skip to content

Instantly share code, notes, and snippets.

@trieloff
Created April 11, 2017 09:59
Show Gist options
  • Save trieloff/9c6ee62b491c4fcf771e24d205bd6d22 to your computer and use it in GitHub Desktop.
Save trieloff/9c6ee62b491c4fcf771e24d205bd6d22 to your computer and use it in GitHub Desktop.
A simple AEM dialog definition
<cq:dialog jcr:primaryType="nt:unstructured" jcr:title="Embed" sling:resourceType="cq/gui/components/authoring/dialog">
<content jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns">
<items jcr:primaryType="nt:unstructured">
<column jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<url
jcr:primaryType="nt:unstructured"
fieldDescription="URL of a page that supports oEmbed auto-discovery (e.g. YouTube)"
fieldLabel="Web page address"
name="./webpage"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"/>
</items>
</column>
</items>
</content>
</cq:dialog>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment