Skip to content

Instantly share code, notes, and snippets.

@davidtruchet
Created August 1, 2017 18:10
Show Gist options
  • Save davidtruchet/433100483fdb85ecd8106d962ae805b1 to your computer and use it in GitHub Desktop.
Save davidtruchet/433100483fdb85ecd8106d962ae805b1 to your computer and use it in GitHub Desktop.
<?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="Explore Speciality"
sling:resourceType="cq/gui/components/authoring/dialog"
mode="edit">
<content
sling:resourceType="granite/ui/components/coral/foundation/container"
jcr:primaryType="nt:unstructured">
<items jcr:primaryType="nt:unstructured">
<tabs
sling:resourceType="granite/ui/components/coral/foundation/tabs"
jcr:primaryType="nt:unstructured"
maximized="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<basic
sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns"
jcr:primaryType="nt:unstructured"
margin="{Boolean}false"
jcr:title="Config Explore Speciality">
<items jcr:primaryType="nt:unstructured">
<column
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<enterheadline
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldDescription="Please enter headline"
fieldLabel="Enter Headline"
jcr:primaryType="nt:unstructured"
name="./headline"/>
<multifieldcollection
sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
fieldDescription="Click + to add a new Speciality"
fieldLabel="Speciality"
jcr:primaryType="nt:unstructured"
composite="{Boolean}true"
name="./multiCol">
<field
sling:resourceType="granite/ui/components/coral/foundation/container"
jcr:primaryType="nt:unstructured"
name="./items">
<items jcr:primaryType="nt:unstructured">
<linkurl
sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"
fieldDescription="Speciality Page Path"
fieldLabel="Speciality Page"
jcr:primaryType="nt:unstructured"
rootPath="/content/pdmahub"
name="./specialityPath" />
<asseturl
sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"
fieldLabel="Speciality Icon Image"
jcr:primaryType="nt:unstructured"
fieldDescription="Speciality Icon Image path"
rootPath="/content/dam/pdmahub"
name="./specialityAsset" />
<dropDownList
jcr:primaryType="nt:unstructured"
name="./comingSoon"
fieldLabel="Coming Soon?"
sling:resourceType="granite/ui/components/coral/foundation/form/select">
<items jcr:primaryType="nt:unstructured">
<yes jcr:primaryType="nt:unstructured"
text="Yes"
value="yes" />
<no jcr:primaryType="nt:unstructured"
text="No"
value="no" />
</items>
</dropDownList>
</items>
</field>
</multifieldcollection>
</items>
</column>
</items>
</basic>
<modal
sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns"
jcr:primaryType="nt:unstructured"
margin="{Boolean}false"
jcr:title="Config Modal">
<items jcr:primaryType="nt:unstructured">
<column
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<enterheadline
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldDescription="Please enter form headline"
fieldLabel="Form headline"
jcr:primaryType="nt:unstructured"
name="./modalHeadline"/>
<entersubheadline
sling:resourceType="granite/ui/components/coral/foundation/form/textarea"
fieldDescription="Please enter form description"
fieldLabel="Form description"
jcr:primaryType="nt:unstructured"
name="./modalDescription"/>
<successheadline
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldDescription="Please enter success message headline"
fieldLabel="Success message headline"
jcr:primaryType="nt:unstructured"
name="./successHeadline"/>
<successdescription
sling:resourceType="granite/ui/components/coral/foundation/form/textarea"
fieldDescription="Please enter success message description"
fieldLabel="Success message description"
jcr:primaryType="nt:unstructured"
name="./successDescription"/>
<errorheadline
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldDescription="Please enter success message headline"
fieldLabel="Success message headline"
jcr:primaryType="nt:unstructured"
name="./errorHeadline"/>
<errordescription
sling:resourceType="granite/ui/components/coral/foundation/form/textarea"
fieldDescription="Please enter error message description"
fieldLabel="Error message description"
jcr:primaryType="nt:unstructured"
name="./errorDescription"/>
</items>
</column>
</items>
</modal>
</items>
</tabs>
</items>
</content>
</jcr:root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment