.content.xml
10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:granite="http://www.adobe.com/jcr/granite/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:mixinTypes="[granite:InternalArea]"
jcr:primaryType="cq:Page">
<jcr:content
jcr:mixinTypes="[sling:VanityPath]"
jcr:primaryType="nt:unstructured"
jcr:title="AEM Screens | Create Project"
sling:redirect="{Boolean}false"
sling:resourceType="granite/ui/components/coral/foundation/page"
sling:vanityOrder="{Long}1200"
sling:vanityPath="/screens/createstructurewizard">
<redirector
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/admin/contentchecker"
allowed="^(/content/screens|/content/screens/(.*))$"
path="${requestPathInfo.suffix}"
redirectWhenEmpty="/screens.html/content/screens"/>
<head jcr:primaryType="nt:unstructured">
<viewport
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/admin/page/viewport"/>
<favicon
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/page/favicon"/>
<clientlibs
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/includeclientlibs"
categories="[coralui3,granite.ui.coral.foundation,screens.dcc.createstructurewizard]"/>
</head>
<body
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/page/body">
<items jcr:primaryType="nt:unstructured">
<form
granite:class="cq-siteadmin-admin-createsite"
granite:comment="We set "novalidate" = true as the wizard is doing validation already, to avoid double validation"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form"
action="/bin/wcmcommand"
foundationForm="{Boolean}true"
maximized="{Boolean}true"
method="post"
novalidate="{Boolean}true"
style="vertical">
<granite:data
jcr:primaryType="nt:unstructured"
foundation-form-response-ui-success="\{"name": "foundation.redirect", "href": "${granite:url(empty param.returnPage ? granite:concat("/screens.html", granite:encodeURIPath(requestPathInfo.suffix)) : param.returnPage)}"}"/>
<items jcr:primaryType="nt:unstructured">
<cmd
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/hidden"
name="cmd"
value="createSite"/>
<charset
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/hidden"
name="_charset_"
value="utf-8"/>
<wizard
jcr:primaryType="nt:unstructured"
jcr:title="Create Screens Project"
sling:resourceType="granite/ui/components/coral/foundation/wizard"
cancelHref="${empty header.Referer ? granite:concat("/screens.html", granite:encodeURIPath(requestPathInfo.suffix)) : header.Referer}">
<items jcr:primaryType="nt:unstructured">
<blueprint
jcr:primaryType="nt:unstructured"
jcr:title="Blueprint"
sling:resourceType="granite/ui/components/coral/foundation/form/advancedselect"
maximized="{Boolean}true"
name="srcPath"
required="{Boolean}true">
<granite:data
jcr:primaryType="nt:unstructured"
foundation-validation-ui="none"/>
<field
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/masonry"
selectionCount="single"
selectionMode="{Boolean}true">
<datasource
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/siteadmin/admin/createsitewizard/blueprintdatasource"
exclude="(/etc/blueprints/|/(apps|libs)/msm/)(?!screens).*"
itemResourceType="cq/gui/components/siteadmin/admin/createsitewizard/blueprintcard"/>
</field>
<parentConfig jcr:primaryType="nt:unstructured">
<next
granite:class="foundation-wizard-control"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/button"
disabled="{Boolean}true"
text="Next"
variant="primary">
<granite:data
jcr:primaryType="nt:unstructured"
foundation-wizard-control-action="next"/>
</next>
</parentConfig>
</blueprint>
<properties
jcr:primaryType="nt:unstructured"
jcr:title="Properties"
sling:resourceType="granite/ui/components/coral/foundation/wizard/lazycontainer"
src="/mnt/overlay/screens/dcc/content/createstructurewizard/properties.html${granite:encodeURIPath(requestPathInfo.suffix)}?blueprint={srcPath}">
<parentConfig jcr:primaryType="nt:unstructured">
<next
granite:class="foundation-wizard-control"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/button"
disabled="{Boolean}true"
text="Create"
type="submit"
variant="primary">
<granite:data
jcr:primaryType="nt:unstructured"
foundation-wizard-control-action="next"/>
</next>
</parentConfig>
</properties>
</items>
</wizard>
</items>
</form>
</items>
</body>
</jcr:content>
<properties
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns"
margin="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<column1
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<masters
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/select"
emptyText="Select"
fieldDescription="Select the folders of the blueprint that you want to copy to the Screens project"
fieldLabel="Master Pages"
multiple="true"
name="msm:masterPages">
<datasource
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/datasources/masterpages"
blueprint="${param.blueprint}"/>
</masters>
</items>
</column1>
<column2
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<destination
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/pathbrowser"
fieldLabel="Destination Path"
name="destPath"
required="true"
rootPath="/content/screens"
value="${requestPathInfo.suffix}"/>
<title
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Title"
name="./jcr:title"
required="{Boolean}true"/>
<name
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Name"
name="label"
validation="foundation.jcr.name"/>
</items>
</column2>
</items>
</properties>
</jcr:root>