.content.xml
10.3 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
<?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 | Assign Device"
sling:resourceType="granite/ui/components/coral/foundation/page"
sling:vanityOrder="{Long}1200"
sling:vanityPath="/screens/assign-device-wizard">
<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.assigndevicewizard]"/>
</head>
<body
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/page/body">
<items jcr:primaryType="nt:unstructured">
<form
granite:class="screens-AssignDevice"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form"
async="{Boolean}false"
foundationForm="{Boolean}true"
maximized="{Boolean}true"
method="post"
novalidate="{Boolean}true"
style="vertical">
<items jcr:primaryType="nt:unstructured">
<charset
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/hidden"
name="_charset_"
value="utf-8"/>
<deviceconfig
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/hidden"
name="deviceConfig"
value="${param.deviceConfig}"/>
<wizard
granite:class="screens-AssignDeviceWizard"
jcr:primaryType="nt:unstructured"
jcr:title="Assign Device"
sling:resourceType="granite/ui/components/coral/foundation/wizard"
cancelHref="${empty param.returnPage ? (empty header.Referer ? "/screens/devices.html?assigned=false" : header.Referer) : param.returnPage}">
<items jcr:primaryType="nt:unstructured">
<step1
jcr:primaryType="nt:unstructured"
jcr:title="Device"
sling:resourceType="granite/ui/components/coral/foundation/container"
maximized="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<device
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/advancedselect"
foundation-validation-ui="none"
maximized="{Boolean}true"
name="device"
required="{Boolean}true"
selectionMode="single">
<field
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/masonry"
limit="{Long}20"
path="${requestPathInfo.suffix}"
selectionCount="single"
selectionMode="{Boolean}true"
size="${empty requestPathInfo.selectors[1] ? "20" : requestPathInfo.selectors[1]}"
src="/mnt/overlay/screens/dcc/content/assigndevicewizard/jcr:content/body/items/form/items/wizard/items/step1/items/device/field{.offset,limit}.html{+id}">
<datasource
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/datasources/devices"
assigned="false"
exclude="/home/users/(?!screens)(/.*)*"
itemResourceType="screens/dcc/components/card"
limit="${empty requestPathInfo.selectors[1] ? "21" : requestPathInfo.selectors[1] + 1}"
offset="${requestPathInfo.selectors[0]}"/>
</field>
</device>
</items>
<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">
<granite:data
jcr:primaryType="nt:unstructured"
foundation-wizard-control-action="next"/>
</next>
</parentConfig>
</step1>
<step2
jcr:primaryType="nt:unstructured"
jcr:title="Display"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<fixedcolumns
granite:class="coral-FixedColumn"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<column
granite:class="coral-FixedColumn-column"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<display
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/pathbrowser"
fieldLabel="Display/Device Config Path"
name="display"
pickerTitle="Display Path"
required="{Boolean}true"
rootPath="/content/screens"
value="${empty param.display ? '' : granite:encodeURIPath(param.display)}"/>
</items>
</column>
</items>
</fixedcolumns>
</items>
<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="Assign"
type="submit"
variant="primary">
<granite:data
jcr:primaryType="nt:unstructured"
foundation-wizard-control-action="next"/>
</next>
</parentConfig>
</step2>
</items>
</wizard>
</items>
</form>
</items>
</body>
</jcr:content>
</jcr:root>