Skip to content

Instantly share code, notes, and snippets.

@jimfrenette
Last active December 17, 2019 14:00
Show Gist options
  • Save jimfrenette/bc9b8277a3c099ec1c773d86186be981 to your computer and use it in GitHub Desktop.
Save jimfrenette/bc9b8277a3c099ec1c773d86186be981 to your computer and use it in GitHub Desktop.
AEM Touch UI Component Dialog - Picture component tabs jumpstart
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0"
xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:nt="http://www.jcp.org/jcr/nt/1.0" jcr:primaryType="nt:unstructured"
jcr:title="Picture" sling:resourceType="cq/gui/components/authoring/dialog"
mode="edit" helpPath="style-guide.html#picture">
<content
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/container">
<layout
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/layouts/tabs"
type="nav"/>
<items jcr:primaryType="nt:unstructured">
<tab1
jcr:primaryType="nt:unstructured"
jcr:title="Desktop Image"
sling:resourceType="granite/ui/components/foundation/section">
<layout
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns"
margin="{Boolean}false"/>
<items jcr:primaryType="nt:unstructured">
<column
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/container">
<items jcr:primaryType="nt:unstructured">
<!-- paste image items -->
</items>
</column>
</items>
</tab1>
<tab2
jcr:primaryType="nt:unstructured"
jcr:title="Mobile Image"
sling:resourceType="granite/ui/components/foundation/section">
<layout
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns"
margin="{Boolean}false"/>
<items jcr:primaryType="nt:unstructured">
<column
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/container">
<items jcr:primaryType="nt:unstructured">
<!-- paste image items -->
</items>
</column>
</items>
</tab2>
</items>
</content>
</jcr:root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment