Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OOTB Core Component Adaptive Form templates and themes updates #1155

Merged
merged 18 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
bd9483f
OOTB Templates Updates
pankaj-parashar Nov 22, 2023
b2beb4a
Submit button resizing to take full width and align to left
pankaj-parashar Nov 22, 2023
2f66e6e
OOTB Template Updates
pankaj-parashar Nov 22, 2023
a900b3d
Submit button updates
pankaj-parashar Nov 22, 2023
9ba5983
Replacing foundation component by core component
pankaj-parashar Nov 23, 2023
266d8ad
Replacing foundation text/image components by core components and pol…
pankaj-parashar Nov 23, 2023
87990dc
Fixing blank template policies and footer policy in other templates
pankaj-parashar Nov 23, 2023
81cdce9
Fixing template type policy
pankaj-parashar Nov 23, 2023
5c3f356
Merge branch 'develop' into develop
pankaj-parashar Nov 23, 2023
a04c95f
Fixing theme ACLs issue for publish scenario
pankaj-parashar Nov 24, 2023
4f72787
Adding acHandling property for theme ACLs
pankaj-parashar Nov 24, 2023
6912cad
Adding acHandling property for theme ACLs
pankaj-parashar Nov 24, 2023
a04b4dc
Moving rep policy a level up and conditional inclusion of accessContr…
pankaj-parashar Nov 27, 2023
e2f9f77
Moving rep policy to theme level to avoid policy listing on theme sel…
pankaj-parashar Nov 28, 2023
d766af0
Fixing telephone fiels validation and field type for Email Field
pankaj-parashar Nov 28, 2023
3bd2c28
Merge branch 'develop' into develop
pankaj-parashar Nov 29, 2023
62a4280
Configuring REST endpoint as submit action for all the templates
pankaj-parashar Nov 29, 2023
2fff0f2
Disabling date validation rule
pankaj-parashar Nov 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3,328 changes: 3,328 additions & 0 deletions output.log

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions src/main/archetype/ui.apps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@
<group>${groupId}</group>
<name>${artifactId}</name>
<packageType>application</packageType>
#if (($includeForms == "y" || $includeFormsenrollment == "y" || $includeFormscommunications == "y" || $includeFormsheadless == "y") && $aemVersion == "cloud")
#if (($includeForms == "y" || $includeFormsenrollment == "y" || $includeFormscommunications == "y" || $includeFormsheadless == "y") && $aemVersion == "cloud")
<skipSubPackageValidation>true</skipSubPackageValidation>
#end
<accessControlHandling>merge</accessControlHandling>
#end
<repositoryStructurePackages>
<repositoryStructurePackage>
<groupId>${groupId}</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rep="internal"
jcr:primaryType="rep:ACL">
<allow
jcr:primaryType="rep:GrantACE"
rep:principalName="everyone"
rep:privileges="{Name}[jcr:read]"/>
</jcr:root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rep="internal"
jcr:primaryType="rep:ACL">
<allow
jcr:primaryType="rep:GrantACE"
rep:principalName="everyone"
rep:privileges="{Name}[jcr:read]"/>
</jcr:root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rep="internal"
jcr:primaryType="rep:ACL">
<allow
jcr:primaryType="rep:GrantACE"
rep:principalName="everyone"
rep:privileges="{Name}[jcr:read]"/>
</jcr:root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rep="internal"
jcr:primaryType="rep:ACL">
<allow
jcr:primaryType="rep:GrantACE"
rep:principalName="everyone"
rep:privileges="{Name}[jcr:read]"/>
</jcr:root>
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,28 @@
</assetToComponentMapping>
</cq:authoring>
</policy_1575040440977>
#if ($includeForms == "y" or $includeFormsenrollment == "y" or $includeFormscommunications == "y")
<cc-af-header-policy
jcr:lastModified="{Date}2023-06-07T15:48:33.506+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Core Component Adaptive Form Header Policy"
jcr:description="Includes only Core Component Adaptive Form header component."
sling:resourceType="wcm/core/components/policy/policy"
components="/apps/${appId}/components/adaptiveForm/pageheader">
<jcr:content jcr:primaryType="nt:unstructured"/>
</cc-af-header-policy>
<cc-af-footer-policy
jcr:lastModified="{Date}2022-07-12T11:41:57.902+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Core Component Adaptive Form Footer Policy"
jcr:description="Includes only Core Component Adaptive Form footer component."
sling:resourceType="wcm/core/components/policy/policy"
components="/apps/${appId}/components/adaptiveForm/footer">
<jcr:content jcr:primaryType="nt:unstructured"/>
</cc-af-footer-policy>
#end
</container>
<teaser jcr:primaryType="nt:unstructured">
<policy_1575031387650
Expand Down Expand Up @@ -684,28 +706,7 @@
<jcr:content jcr:primaryType="nt:unstructured"/>
</policy_1518118565779>
#end
#if ($includeForms == "y" or $includeFormsenrollment == "y" or $includeFormscommunications == "y")
<cc-af-header-policy
jcr:lastModified="{Date}2023-06-07T15:48:33.506+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Core Component Adaptive Form Header Policy"
jcr:description="Includes only Core Component Adaptive Form header component."
sling:resourceType="wcm/core/components/policy/policy"
components="/apps/${appId}/components/adaptiveForm/pageheader">
<jcr:content jcr:primaryType="nt:unstructured"/>
</cc-af-header-policy>
<cc-af-footer-policy
jcr:lastModified="{Date}2022-07-12T11:41:57.902+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Core Component Adaptive Form Footer Policy"
jcr:description="Includes only Core Component Adaptive Form footer component."
sling:resourceType="wcm/core/components/policy/policy"
components="/apps/${appId}/components/adaptiveForm/footer">
<jcr:content jcr:primaryType="nt:unstructured"/>
</cc-af-footer-policy>
#end

</responsivegrid>
</components>
</foundation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<container1
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"
cq:policy="fd/af/components/responsivegrid/page-header"
cq:policy="${appId}/components/container/cc-af-header-policy"
layout="responsiveGrid"/>
<guideContainer
cq:policy="${appId}/components/adaptiveForm/formcontainer/default"
Expand All @@ -18,7 +18,7 @@
<container2
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"
cq:policy="fd/af/components/responsivegrid/page-footer"
cq:policy="${appId}/components/container/cc-af-footer-policy"
layout="responsiveGrid"/>
</jcr:content>
</jcr:root>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
sling:resourceType="${appId}/components/adaptiveForm/page">
<container1
jcr:primaryType="nt:unstructured"
sling:resourceType="core/wcm/components/container/v1/container"
sling:resourceType="${appId}/components/container"
layout="responsiveGrid"
editable="{Boolean}true" />
<guideContainer
Expand All @@ -21,7 +21,7 @@
</guideContainer>
<container2
jcr:primaryType="nt:unstructured"
sling:resourceType="core/wcm/components/container/v1/container"
sling:resourceType="${appId}/components/container"
layout="responsiveGrid"
editable="{Boolean}true" />
<cq:responsive jcr:primaryType="nt:unstructured">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
jcr:lastModified="{Date}2023-06-15T10:15:15.538Z"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Text"
jcr:title="Form Introduction"
sling:resourceType="${appId}/components/adaptiveForm/text"
fieldType="plain-text"
name="text_21451224891684997830821"
name="FormIntro"
textIsRich="true"
value="&lt;p>Please complete the following form to request a benefit summary. These details will help us provide you with an overview of your eligible benefits.&lt;/p>&#xd;&#xa;"/>
<textinput
Expand Down Expand Up @@ -202,14 +202,15 @@
<cq:responsive jcr:primaryType="nt:unstructured">
<default
jcr:primaryType="nt:unstructured"
offset="6"
width="6"/>
offset="0"
width="12"/>
</cq:responsive>
</submit>
</guideContainer>
<parsys1
<container1
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/foundation/components/responsivegrid">
sling:resourceType="${appId}/components/container"
layout="responsiveGrid">
<pageheader
jcr:lastModified="{Date}2023-05-25T06:28:44.438Z"
jcr:lastModifiedBy="admin"
Expand Down Expand Up @@ -241,15 +242,16 @@
jcr:lastModified="{Date}2023-05-25T06:28:44.438Z"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/foundation/components/text"
sling:resourceType="${appId}/components/text"
text="&lt;p>Employee Benefits Summary&lt;/p>&#xd;&#xa;"
textIsRich="true"
value="Company Name Here"/>
</pageheader>
</parsys1>
<parsys2
</container1>
<container2
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/foundation/components/responsivegrid">
sling:resourceType="${appId}/components/container"
layout="responsiveGrid">
<footer
jcr:lastModified="{Date}2023-05-25T06:28:44.438Z"
jcr:lastModifiedBy="admin"
Expand All @@ -261,11 +263,11 @@
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Footer"
sling:resourceType="core/wcm/components/text/v2/text"
sling:resourceType="${appId}/components/text"
css="footerText"
text="&lt;p>© YYYY WKND | All rights reserved.&lt;/p>&#xd;&#xa;"
textIsRich="true"/>
</footer>
</parsys2>
</container2>
</jcr:content>
</jcr:root>
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
cq:policy="${appId}/components/page/default"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mappings">
<parsys1
cq:policy="wcm/foundation/components/responsivegrid/cc-af-header-policy"
<container1
cq:policy="${appId}/components/container/cc-af-header-policy"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"/>
<guideContainer
cq:policy="${appId}/components/adaptiveForm/formcontainer/default"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"/>
<parsys2
cq:policy="wcm/foundation/components/responsivegrid/cc-af-footer-policy"
<container2
cq:policy="${appId}/components/container/cc-af-footer-policy"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"/>
</jcr:content>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,21 @@
jcr:uuid="aa07e3c9-a52a-44bc-9c9c-27591f605aad"
sling:resourceType="${appId}/components/adaptiveForm/page"
guideComponentType="fd/af/templates">
<parsys1
<container1
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/foundation/components/responsivegrid"
sling:resourceType="${appId}/components/container"
layout="responsiveGrid"
editable="{Boolean}true"/>
<guideContainer
fd:version="2.1"
jcr:primaryType="nt:unstructured"
sling:resourceType="${appId}/components/adaptiveForm/formcontainer"
editable="{Boolean}true"
fieldType="form"/>
<parsys2
<container2
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/foundation/components/responsivegrid"
sling:resourceType="${appId}/components/container"
layout="responsiveGrid"
editable="{Boolean}true"/>
<cq:responsive jcr:primaryType="nt:unstructured">
<breakpoints jcr:primaryType="nt:unstructured">
Expand Down