Skip to content

Commit

Permalink
FORMS-9473: replaced parsys with container with responsive grid (#1121)
Browse files Browse the repository at this point in the history
* FORMS-9473: replaced parsys with container with responsive grid

* FORMS-9473: resolved PR comments

* FORMS-9473: removed unnecessary change for af-v1 changes

---------

Co-authored-by: Gulshan Mishra <[email protected]>
Co-authored-by: Pankaj Parashar <[email protected]>
  • Loading branch information
3 people authored Sep 6, 2023
1 parent 6df5d00 commit 3bb5404
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@
cq:policy="${appId}/components/page/policy"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mappings">
<parsys1
cq:policy="fd/af/components/responsivegrid/page-header"
<container1
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"/>
sling:resourceType="wcm/core/components/policies/mapping"
cq:policy="fd/af/components/responsivegrid/page-header"
layout="responsiveGrid"/>
<guideContainer
cq:policy="${appId}/components/adaptiveForm/formcontainer/default"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping">
</guideContainer>
<parsys2
cq:policy="fd/af/components/responsivegrid/page-footer"
<container2
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"/>
sling:resourceType="wcm/core/components/policies/mapping"
cq:policy="fd/af/components/responsivegrid/page-footer"
layout="responsiveGrid"/>
</jcr:content>
</jcr:root>
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,23 @@
guideComponentType="fd/af/templates"
jcr:primaryType="cq:PageContent"
sling:resourceType="${appId}/components/adaptiveForm/page">
<parsys1
<container1
jcr:primaryType="nt:unstructured"
editable="{Boolean}true"
sling:resourceType="wcm/foundation/components/responsivegrid"/>
sling:resourceType="core/wcm/components/container/v1/container"
layout="responsiveGrid"
editable="{Boolean}true" />
<guideContainer
fd:version="2.1"
fieldType="form"
jcr:primaryType="nt:unstructured"
editable="{Boolean}true"
sling:resourceType="${appId}/components/adaptiveForm/formcontainer">
</guideContainer>
<parsys2
<container2
jcr:primaryType="nt:unstructured"
editable="{Boolean}true"
sling:resourceType="wcm/foundation/components/responsivegrid"/>
sling:resourceType="core/wcm/components/container/v1/container"
layout="responsiveGrid"
editable="{Boolean}true" />
<cq:responsive jcr:primaryType="nt:unstructured">
<breakpoints jcr:primaryType="nt:unstructured">
<smallScreen
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@
cq:policy="${appId}/components/page/policy"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mappings">
<parsys1
cq:policy="fd/af/components/responsivegrid/page-header"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"/>
<container1
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"
cq:policy="fd/af/components/responsivegrid/page-header"
layout="responsiveGrid"/>
<guideContainer
cq:policy="${appId}/components/adaptiveForm/formcontainer/default"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping">
</guideContainer>
<parsys2
cq:policy="fd/af/components/responsivegrid/page-footer"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"/>
<container2
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"
cq:policy="fd/af/components/responsivegrid/page-footer"
layout="responsiveGrid"/>
</jcr:content>
</jcr:root>
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,22 @@
jcr:primaryType="cq:PageContent"
sling:resourceType="${appId}/components/adaptiveForm/page"
guideComponentType="fd/af/templates">
<parsys1
jcr:primaryType="nt:unstructured"
editable="{Boolean}true"
sling:resourceType="wcm/foundation/components/responsivegrid"/>
<container1
jcr:primaryType="nt:unstructured"
sling:resourceType="core/wcm/components/container/v1/container"
layout="responsiveGrid"
editable="{Boolean}true" />
<guideContainer
fd:version="2.1"
fieldType="form"
jcr:primaryType="nt:unstructured"
editable="{Boolean}true"
sling:resourceType="${appId}/components/adaptiveForm/formcontainer"/>
<parsys2
jcr:primaryType="nt:unstructured"
editable="{Boolean}true"
sling:resourceType="wcm/foundation/components/responsivegrid"/>
<container2
jcr:primaryType="nt:unstructured"
sling:resourceType="core/wcm/components/container/v1/container"
layout="responsiveGrid"
editable="{Boolean}true" />
<cq:responsive jcr:primaryType="nt:unstructured">
<breakpoints jcr:primaryType="nt:unstructured">
<smallScreen
Expand Down

0 comments on commit 3bb5404

Please sign in to comment.