Last active
January 5, 2025 19:31
-
-
Save salomao-santos/1adfd2fcdb7aa0719312eb2508504624 to your computer and use it in GitHub Desktop.
AEM Component: cq template, _cq_template, _cq_template.content.xml: sample content
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
<?xml version="1.0" encoding="UTF-8"?> | |
<jcr:root 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" | |
title="Sample Card" | |
description"Description Card"> | |
</jcr:root> |
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_template start --> | |
<?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"> | |
<states jcr:primaryType="nt:unstructured"> | |
<item0 | |
jcr:primaryType="nt:unstructured" | |
name="Brazil" | |
flag="/content/dam/brazil.png"/> | |
<item1 | |
jcr:primaryType="nt:unstructured" | |
name="Spain" | |
flag="/content/dam/spain.png"/> | |
</states> | |
</jcr:root> | |
<!-- _cq_template end --> | |
<!-- _cq_dialog.content.xml --> | |
<!-- https://gist.github.com/salomao-santos/0cd0240b9824b52a5fdf777ab712cfe2#file-multifield-coral-xml --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment