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

Create Fragment Template #1235

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<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"
jcr:primaryType="nt:unstructured"
jcr:title="Fragment"
fd:viewType="fragment"
fieldType="panel"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?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"
jcr:primaryType="cq:Template">
<jcr:content
author="adobe"
cq:lastModified="{Date}2022-05-27T13:57:01.856+05:30"
cq:lastModifiedBy="adobe"
cq:templateType="/conf/${appId}/settings/wcm/template-types/afv2-fragment-page"
jcr:primaryType="cq:PageContent"
jcr:title="Blank Fragment With Core Components"
jcr:description="Blank Fragment Template based on Adaptive Forms Core Components allows users to create an adaptive form structure, content, and rules from scratch. It offers complete flexibility, as no components are pre-incorporated, enabling users to build forms entirely according to their requirements."
status="enabled"/>
</jcr:root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:fd="http://www.adobe.com/aemfd/fd/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="cq:Page">
<jcr:content
cq:deviceGroups="[/etc/mobile/groups/responsive]"
cq:template="/conf/${appId}/settings/wcm/templates/blank-aff-v2"
jcr:primaryType="cq:PageContent"
sling:resourceType="${appId}/components/adaptiveForm/page"
#if ( $aemVersion == "cloud")
sling:configRef="/conf/${appId}/forms"
#end
guideComponentType="fd/af/templates">
<guideContainer
fd:version="2.1"
actionType="fd/af/components/guidesubmittype/restendpoint"
fieldType="form"
fd:type="fragment"
schemaType="none"
textIsRich="true"
jcr:primaryType="nt:unstructured"
#if ( $aemVersion != "cloud")
themeClientLibRef="adaptiveform.theme.canvas3"
#end
sling:resourceType="${appId}/components/adaptiveForm/fragmentcontainer"/>
</jcr:content>
</jcr:root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?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="cq:Page">
<jcr:content
cq:policy="${appId}/components/page/policy"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mappings">
<guideContainer
cq:policy="${appId}/components/adaptiveForm/formcontainer/default"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping">
<${appId} jcr:primaryType="nt:unstructured">
<components jcr:primaryType="nt:unstructured">
<adaptiveForm jcr:primaryType="nt:unstructured">
<numberinput
cq:policy="${appId}/components/adaptiveForm/numberinput/default"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"/>
<datepicker
cq:policy="${appId}/components/adaptiveForm/datepicker/default"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"/>
<telephoneinput
cq:policy="${appId}/components/adaptiveForm/telephoneinput/default"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping"/>
<panelcontainer
cq:policy="${appId}/components/adaptiveForm/panelcontainer/default"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping">
</panelcontainer>
<switch
cq:policy="${appId}/components/adaptiveForm/switch/default"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policies/mapping">
</switch>
</adaptiveForm>
</components>
</${appId}>
</guideContainer>
</jcr:content>
</jcr:root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:fd="http://www.adobe.com/aemfd/fd/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="cq:Page">
<jcr:content
cq:deviceGroups="[/etc/mobile/groups/responsive]"
cq:template="/conf/${appId}/settings/wcm/templates/blank-aff-v2"
jcr:primaryType="cq:PageContent"
sling:resourceType="${appId}/components/adaptiveForm/page"
guideComponentType="fd/af/templates">
<guideContainer
fd:version="2.1"
fieldType="form"
fd:type="fragment"
jcr:primaryType="nt:unstructured"
editable="{Boolean}true"
sling:resourceType="${appId}/components/adaptiveForm/fragmentcontainer"/>
<cq:responsive jcr:primaryType="nt:unstructured">
<breakpoints jcr:primaryType="nt:unstructured">
<phone
jcr:primaryType="nt:unstructured"
title="Smaller Screen"
width="{Long}768"/>
<tablet
jcr:primaryType="nt:unstructured"
title="Tablet"
width="{Long}1200"/>
</breakpoints>
</cq:responsive>
</jcr:content>
</jcr:root>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading