Created
April 11, 2017 10:24
-
-
Save trieloff/eeaed6cd6ed8318acd3adfa2d753651d to your computer and use it in GitHub Desktop.
Defining a simple design dialog for configuring a component's content policies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cq:design_dialog jcr:primaryType="nt:unstructured" jcr:title="Embed" sling:resourceType="cq/gui/components/authoring/dialog" jcr:description="Content policy for embedding content"> | |
<content jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/container"> | |
<items jcr:primaryType="nt:unstructured"> | |
<tabs jcr:primaryType="nt:unstructured" maximized="true" sling:resourceType="granite/ui/components/coral/foundation/tabs"> | |
<items jcr:primaryType="nt:unstructured"> | |
<properties jcr:primaryType="nt:unstructured" jcr:title="Main" margin="true" sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns"> | |
<items jcr:primaryType="nt:unstructured"> | |
<content jcr:primaryType="nt:unstructured" margin="false" sling:resourceType="granite/ui/components/coral/foundation/container"> | |
<items jcr:primaryType="nt:unstructured"> | |
<allowedSites jcr:primaryType="nt:unstructured" fieldDescription="If you set a value here, only pages from the listed sites can be embedded." fieldLabel="Allowed sites" sling:resourceType="granite/ui/components/coral/foundation/form/multifield"> | |
<field jcr:primaryType="nt:unstructured" name="./allowedSites" required="true" sling:resourceType="granite/ui/components/coral/foundation/form/textfield"/> | |
</allowedSites> | |
</items> | |
</content> | |
</items> | |
</properties> | |
</items> | |
</tabs> | |
</items> | |
</content> | |
</cq:design_dialog> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment