-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #902 from adobe/dev2Master
Dev to Master
- Loading branch information
Showing
5 changed files
with
161 additions
and
104 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
...ent/dam/formsanddocuments/core-components-it/samples/tabsontop/focusWithRule/.content.xml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:dam="http://www.day.com/dam/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:fd="http://www.adobe.com/aemfd/fd/1.0" | ||
jcr:primaryType="dam:Asset"> | ||
<jcr:content | ||
jcr:lastModified="{Date}2023-05-30T17:15:39.239+05:30" | ||
jcr:primaryType="dam:AssetContent" | ||
sling:resourceType="fd/fm/af/render" | ||
guide="1" | ||
type="guide"> | ||
<metadata | ||
fd:version="2.1" | ||
jcr:primaryType="nt:unstructured" | ||
allowedRenderFormat="HTML" | ||
author="admin" | ||
availableInMobileApp="{Boolean}false" | ||
dorType="none" | ||
formmodel="none" | ||
hasCustomThumbnail="{Boolean}false" | ||
title="focusWithRule"/> | ||
</jcr:content> | ||
</jcr:root> |
179 changes: 106 additions & 73 deletions
179
...jcr_root/content/forms/af/core-components-it/samples/tabsontop/focusWithRule/.content.xml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,128 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" | ||
xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0" | ||
xmlns:fd="http://www.adobe.com/aemfd/fd/1.0" | ||
jcr:primaryType="cq:Page"> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:fd="http://www.adobe.com/aemfd/fd/1.0" | ||
jcr:primaryType="cq:Page"> | ||
<jcr:content | ||
cq:deviceGroups="[/etc/mobile/groups/responsive]" | ||
cq:lastModified="{Date}2023-03-02T08:16:42.769+05:30" | ||
cq:lastModifiedBy="admin" | ||
cq:template="/conf/core-components-examples/settings/wcm/templates/af-blank-v2" | ||
jcr:language="en" | ||
jcr:primaryType="cq:PageContent" | ||
jcr:title="afv2_tabs" | ||
sling:resourceType="forms-components-examples/components/page"> | ||
cq:deviceGroups="[/etc/mobile/groups/responsive]" | ||
cq:lastModified="{Date}2023-09-29T16:44:34.202+05:30" | ||
cq:lastModifiedBy="admin" | ||
cq:template="/conf/core-components-examples/settings/wcm/templates/af-blank-v2" | ||
jcr:language="en" | ||
jcr:primaryType="cq:PageContent" | ||
jcr:title="afv2_tabs" | ||
sling:resourceType="forms-components-examples/components/page"> | ||
<guideContainer | ||
fd:version="2.1" | ||
jcr:primaryType="nt:unstructured" | ||
sling:resourceType="forms-components-examples/components/form/container" | ||
dorType="none" | ||
fieldType="form" | ||
thankYouOption="page" | ||
themeRef="/libs/fd/af/themes/canvas"> | ||
fd:version="2.1" | ||
jcr:primaryType="nt:unstructured" | ||
sling:resourceType="forms-components-examples/components/form/container" | ||
dorType="none" | ||
fieldType="form" | ||
thankYouOption="page" | ||
themeRef="/libs/fd/af/themes/canvas"> | ||
<tabsontop | ||
jcr:lastModified="{Date}2023-03-01T13:01:26.589+05:30" | ||
jcr:lastModified="{Date}2023-03-01T13:01:26.589+05:30" | ||
jcr:lastModifiedBy="admin" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="tabs" | ||
sling:resourceType="forms-components-examples/components/form/tabsontop" | ||
fieldType="panel" | ||
name="tabsfp"> | ||
<panelcontainerft1 | ||
jcr:lastModified="{Date}2023-03-01T13:01:44.222+05:30" | ||
jcr:lastModifiedBy="admin" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="tabs" | ||
sling:resourceType="forms-components-examples/components/form/tabsontop" | ||
jcr:title="FT1" | ||
sling:resourceType="forms-components-examples/components/form/panelcontainer" | ||
enabled="{Boolean}true" | ||
fieldType="panel" | ||
name="tabsfp"> | ||
<panelcontainerft1 | ||
jcr:lastModified="{Date}2023-03-01T13:01:44.222+05:30" | ||
name="FT1" | ||
visible="{Boolean}true" | ||
wrapData="{Boolean}false"> | ||
<textinputft1 | ||
jcr:lastModified="{Date}2023-03-02T08:07:56.078+05:30" | ||
jcr:lastModifiedBy="admin" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="FT1" | ||
sling:resourceType="forms-components-examples/components/form/panelcontainer" | ||
jcr:title="Text Input 1" | ||
sling:resourceType="forms-components-examples/components/form/textinput" | ||
enabled="{Boolean}true" | ||
fieldType="panel" | ||
name="FT1" | ||
visible="{Boolean}true" | ||
wrapData="{Boolean}false"> | ||
<textinputft1 | ||
jcr:lastModified="{Date}2023-03-02T08:07:56.078+05:30" | ||
jcr:lastModifiedBy="admin" | ||
fieldType="text-input" | ||
name="textinputft1" | ||
readOnly="{Boolean}false" | ||
type="string" | ||
visible="{Boolean}true"/> | ||
<button | ||
jcr:created="{Date}2023-09-29T16:39:32.767+05:30" | ||
jcr:createdBy="admin" | ||
jcr:lastModified="{Date}2023-09-29T16:40:10.695+05:30" | ||
jcr:lastModifiedBy="admin" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="goto FT2" | ||
sling:resourceType="forms-components-examples/components/form/button" | ||
dorExclusion="true" | ||
enabled="{Boolean}true" | ||
fieldType="button" | ||
hideTitle="false" | ||
name="goto FT2" | ||
readOnly="{Boolean}false" | ||
textIsRich="[true,true]" | ||
unboundFormElement="{Boolean}false" | ||
visible="{Boolean}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.tabsfp.FT1.goto FT2"\,"type":"BUTTON"\,"name":"goto FT2"}}\,{"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":"SET_FOCUS"\,"items":[{"nodeName":"to"\,"value":null}\,{"nodeName":"AFCOMPONENT"\,"value":{"id":"$form.tabsfp.FT2"\,"displayName":"FT2"\,"type":"AFCOMPONENT"\,"displayPath":"FORM/tabs/FT2/"\,"name":"FT2"\,"parent":"$form.tabsfp"}}]}}]}]}}]\,"isValid":true\,"enabled":true\,"version":1\,"script":["setFocus($form.tabsfp.FT2)"]\,"eventName":"Click"\,"ruleType":""\,"description":""}]" | ||
jcr:primaryType="nt:unstructured" | ||
validationStatus="valid"/> | ||
<fd:events | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="Text Input 1" | ||
sling:resourceType="forms-components-examples/components/form/textinput" | ||
enabled="{Boolean}true" | ||
fieldType="text-input" | ||
name="textinputft1" | ||
readOnly="{Boolean}false" | ||
type="string" | ||
visible="{Boolean}true"/> | ||
click="[setFocus($form.tabsfp.FT2)]"/> | ||
</button> | ||
</panelcontainerft1> | ||
<panelcontainerft2 | ||
jcr:lastModified="{Date}2023-03-01T13:01:44.222+05:30" | ||
jcr:lastModified="{Date}2023-03-01T13:01:44.222+05:30" | ||
jcr:lastModifiedBy="admin" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="FT2" | ||
sling:resourceType="forms-components-examples/components/form/panelcontainer" | ||
enabled="{Boolean}true" | ||
fieldType="panel" | ||
name="FT2" | ||
visible="{Boolean}true" | ||
wrapData="{Boolean}false"> | ||
<textinputft2 | ||
jcr:lastModified="{Date}2023-03-02T08:07:56.078+05:30" | ||
jcr:lastModifiedBy="admin" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="FT2" | ||
sling:resourceType="forms-components-examples/components/form/panelcontainer" | ||
jcr:title="Text Input 2" | ||
sling:resourceType="forms-components-examples/components/form/textinput" | ||
enabled="{Boolean}true" | ||
fieldType="panel" | ||
name="FT2" | ||
visible="{Boolean}true" | ||
wrapData="{Boolean}false"> | ||
<textinputft2 | ||
jcr:lastModified="{Date}2023-03-02T08:07:56.078+05:30" | ||
jcr:lastModifiedBy="admin" | ||
fieldType="text-input" | ||
name="textinputft2" | ||
readOnly="{Boolean}false" | ||
type="string" | ||
visible="{Boolean}true"/> | ||
<button | ||
jcr:lastModified="{Date}2023-09-29T16:44:34.196+05:30" | ||
jcr:lastModifiedBy="admin" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="goto FT1" | ||
sling:resourceType="forms-components-examples/components/form/button" | ||
enabled="{Boolean}true" | ||
fieldType="button" | ||
hideTitle="false" | ||
name="button" | ||
readOnly="{Boolean}false" | ||
textIsRich="[true,true]" | ||
type="button" | ||
unboundFormElement="{Boolean}false" | ||
visible="{Boolean}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.tabsfp.FT2.button"\,"type":"BUTTON"\,"name":"button"}}\,{"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":"SET_FOCUS"\,"items":[{"nodeName":"to"\,"value":null}\,{"nodeName":"AFCOMPONENT"\,"value":{"id":"$form.tabsfp.FT1"\,"displayName":"FT1"\,"type":"AFCOMPONENT"\,"displayPath":"FORM/tabs/FT1/"\,"name":"FT1"\,"parent":"$form.tabsfp"}}]}}]}]}}]\,"isValid":true\,"enabled":true\,"version":1\,"script":["setFocus($form.tabsfp.FT1)"]\,"eventName":"Click"\,"ruleType":""\,"description":""}]" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="Text Input 2" | ||
sling:resourceType="forms-components-examples/components/form/textinput" | ||
enabled="{Boolean}true" | ||
fieldType="text-input" | ||
name="textinputft2" | ||
readOnly="{Boolean}false" | ||
type="string" | ||
visible="{Boolean}true"/> | ||
validationStatus="valid"/> | ||
<fd:events | ||
jcr:primaryType="nt:unstructured" | ||
click="[setFocus($form.tabsfp.FT1)]"/> | ||
</button> | ||
</panelcontainerft2> | ||
</tabsontop> | ||
<button | ||
type="button" | ||
jcr:primaryType="nt:unstructured" | ||
name="button" | ||
fieldType="button" | ||
jcr:title="button" | ||
enabled="{Boolean}true" | ||
visible="{Boolean}true" | ||
sling:resourceType="forms-components-examples/components/form/button"> | ||
<fd:events | ||
jcr:primaryType="nt:unstructured" | ||
click="[setFocus($form.tabsfp.FT2)]"/> | ||
</button> | ||
</guideContainer> | ||
</jcr:content> | ||
</jcr:root> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.