-
Notifications
You must be signed in to change notification settings - Fork 45
/
_cq_template.xml
15 lines (15 loc) · 1.85 KB
/
_cq_template.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:fd="http://www.adobe.com/aemfd/fd/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0"
jcr:primaryType="nt:unstructured"
jcr:title="Submit"
type="button"
fieldType="button"
buttonType="submit"
dorExclusion="true">
<fd:rules
fd:click="[{"nodeName":"ROOT"\,"items":[{"nodeName":"STATEMENT"\,"choice":{"nodeName":"EVENT_SCRIPTS"\,"items":[{"nodeName":"EVENT_CONDITION"\,"choice":{"nodeName":"EVENT_AND_COMPARISON"\,"items":[{"nodeName":"COMPONENT"\,"value":{"id":"$form.button1667450213112"\,"type":"BUTTON"\,"name":"button1667450213112"}}\,{"nodeName":"EVENT_AND_COMPARISON_OPERATOR"\,"choice":{"nodeName":"is clicked"\,"value":null}}\,{"nodeName":"PRIMITIVE_EXPRESSION"\,"choice":null}]}\,"nested":false}\,{"nodeName":"Then"\,"value":null}\,{"nodeName":"BLOCK_STATEMENTS"\,"items":[{"nodeName":"BLOCK_STATEMENT"\,"choice":{"nodeName":"SUBMIT_FORM"\,"items":[]}}]}]}}]\,"isValid":true\,"enabled":true\,"version":1\,"script":["submitForm()"]\,"eventName":"Click"\,"ruleType":""\,"description":""}]"
jcr:primaryType="nt:unstructured"/>
<fd:events
jcr:primaryType="nt:unstructured"
click="[submitForm()]"/>
</jcr:root>