-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui_schema.xml
291 lines (291 loc) · 11.5 KB
/
ui_schema.xml
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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
<?xml version="1.0" encoding="utf-8"?>
<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="http://openrosa.org/javarosa">
<!-- ****** -->
<!--FAIMS UI Schema generated by Heurist Vsn 3.2.0, Tuesday 5th of August 2014 09:45:56 AM-->
<!--Database: hdb_adela_H2O Heurist user:Adela Sobotkova-->
<!-- ****** -->
<h:head>
<h:title>hdb adela H2O</h:title>
<!--model lists user interface tabgroups, tabs and content of tabs-->
<model>
<instance>
<faims id="hdb_adela_H2O">
<style>
<orientation>
<orientation/>
</orientation>
<even>
<layout_weight/>
</even>
<large>
<layout_weight/>
</large>
</style>
<user>
<usertab>
<users/>
<login/>
</usertab>
</user>
<!--control tabgroup that contains button to manipulate entities: load, list, create-->
<control>
<data>
<entityTypeList/>
<newEntity/>
<entityList/>
</data>
<myData>
<myRecords/>
</myData>
<gps>
<connectInternal/>
<connectExternal/>
<GPSIndicator/>
<SyncOn/>
<SyncOff/>
</gps>
</control>
<!--list of tabgroups for ArchEntTypes)-->
<!--ArchEntType: WATER SUPPLY-->
<WaterSupply>
<WaterSupply_General_Information>
<WaterSupplyID/>
<Timestamp/>
<container1>
<child1>
<Latitude/>
</child1>
<child2>
<Longitude/>
</child2>
</container1>
<takeGPS/>
<AddressOfReportedProblemoptional/>
<Contact/>
<ProblemDescription/>
<ProblemFrequency/>
<ProblemDuration/>
<ProblemOnset/>
<ProblemHistory/>
<TypeOfStructure/>
<FloorWhereProblemNoted/>
<gap/>
<Update/>
<UpdateAndClose/>
<Delete/>
</WaterSupply_General_Information>
<hidden>
<Northing/>
<Easting/>
<Z/>
</hidden>
</WaterSupply>
</faims>
</instance>
<!--list of numeric and blocktext(memo) attributes(fields)-->
<bind nodeset="/faims/WaterSupply/WaterSupply_General_Information/AddressOfReportedProblemoptional" type="string"/>
<bind nodeset="/faims/WaterSupply/WaterSupply_General_Information/ProblemDescription" type="string"/>
<bind nodeset="/faims/WaterSupply/WaterSupply_General_Information/FloorWhereProblemNoted" type="decimal"/>
<bind nodeset="/faims/WaterSupply/WaterSupply_General_Information/container1/child1/Latitude" type="decimal"/>
<bind nodeset="/faims/WaterSupply/WaterSupply_General_Information/container1/child2/Longitude" type="decimal"/>
</model>
</h:head>
<h:body>
<!--Describes controls for each tabgroup and its nested tabs-->
<group ref="style">
<label/>
<group ref="orientation">
<label/>
<input ref="orientation">
<label>horizontal</label>
</input>
</group>
<group ref="even">
<label/>
<input ref="layout_weight">
<label>1</label>
</input>
</group>
<group ref="large">
<label/>
<input ref="layout_weight">
<label>3</label>
</input>
</group>
</group>
<group ref="user">
<label>{User_List}</label>
<group ref="usertab" faims_scrollable="false">
<label>{User_List}</label>
<select1 ref="users">
<label>{Users}:</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<trigger ref="login">
<label>{Login}</label>
</trigger>
</group>
</group>
<group ref="control">
<label/>
<group ref="data" faims_scrollable="false">
<label>{Reports}</label>
<select1 ref="entityTypeList">
<label>{Select_Entity_Type}</label>
<item>
<label>{Water_Supply}</label>
<value>WaterSupply</value>
</item>
</select1>
<trigger ref="newEntity">
<label>{Create_New_Entity}</label>
</trigger>
<select1 appearance="compact" faims_annotation="false" faims_certainty="false" ref="entityList">
<label>{Tap_to_load}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
</group>
<group ref="myData" faims_scrollable="false">
<label>{My_Data}</label>
<select1 appearance="compact" faims_annotation="false" faims_certainty="false" ref="myRecords">
<label>{My_Reports}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
</group>
<group ref="gps">
<label>{Control}</label>
<trigger ref="connectInternal">
<label>{Connect_To_Internal_GPS}</label>
</trigger>
<trigger ref="connectExternal">
<label>{Connect_To_External_GPS}</label>
</trigger>
<input ref="GPSIndicator" faims_certainty="false" faims_attribute_type="freetext" faims_read_only="true">
<label>{GPS_Indicator}</label>
</input>
<trigger ref="SyncOn">
<label>{Sync_On}</label>
</trigger>
<trigger ref="SyncOff">
<label>{Sync_Off}</label>
</trigger>
</group>
</group>
<!--WATERSUPPLY-->
<group ref="WaterSupply" faims_archent_type="Water Supply">
<label>{Water_Supply}</label>
<group ref="WaterSupply_General_Information">
<label>{Water_Supply_Report}</label>
<input ref="WaterSupplyID" faims_attribute_name="Water Supply ID" faims_attribute_type="freetext" faims_certainty="false" faims_annotation="false" faims_read_only="true">
<label>{Water_Supply_ID}</label>
</input>
<input ref="Timestamp" faims_attribute_name="Timestamp" faims_certainty="false" faims_attribute_type="freetext" faims_read_only="true">
<label>{Timestamp}</label>
</input>
<group faims_style="orientation" ref="container1">
<label/>
<group faims_style="even" ref="child1">
<label/>
<input faims_attribute_name="Latitude" faims_attribute_type="measure" faims_certainty="true" faims_annotation="true" faims_read_only="false" ref="Latitude">
<label>{Latitude}</label>
</input>
</group>
<group faims_style="even" ref="child2">
<label/>
<input faims_attribute_name="Longitude" faims_attribute_type="measure" faims_certainty="true" faims_annotation="true" faims_read_only="false" ref="Longitude">
<label>{Longitude}</label>
</input>
</group>
</group>
<trigger ref="takeGPS">
<label>{Take_GPS}</label>
</trigger>
<input ref="AddressOfReportedProblemoptional" faims_attribute_name="Address of reported problem (optional)" faims_certainty="true" faims_attribute_type="freetext" faims_read_only="false">
<label>{Address_of_reported_problem_(optional)}</label>
</input>
<input ref="Contact" faims_attribute_name="Contact Details" faims_certainty="true" faims_attribute_type="freetext" faims_read_only="false">
<label>{Contact_Details}</label>
</input>
<input ref="ProblemDescription" faims_attribute_name="Problem Description" faims_certainty="true" faims_attribute_type="freetext" faims_read_only="false">
<label>{Problem_Description}</label>
</input>
<!--We would like to see Radiogroup-->
<select1 ref="ProblemFrequency" faims_attribute_name="Problem Frequency" faims_certainty="true" faims_annotation="true" appearance="full" faims_attribute_type="vocab" faims_read_only="false">
<label>{Problem_Frequency}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<!--We would like to see Radiogroup-->
<select1 ref="ProblemDuration" faims_attribute_name="Problem Duration" faims_certainty="true" faims_annotation="true" appearance="full" faims_attribute_type="vocab" faims_read_only="false">
<label>{Problem_Duration}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<!--We would like to see Radiogroup-->
<select1 ref="ProblemOnset" faims_attribute_name="Problem Onset" faims_certainty="true" faims_annotation="true" appearance="full" faims_attribute_type="vocab" faims_read_only="false">
<label>{Problem_Onset}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<!--We would like to see Dropdown-->
<select1 ref="ProblemHistory" faims_attribute_name="Problem History" faims_certainty="true" faims_annotation="true" faims_attribute_type="vocab" faims_read_only="false">
<label>{Problem_History}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<!--We would like to see Dropdown-->
<select1 ref="TypeOfStructure" faims_attribute_name="Type of Structure" faims_certainty="true" faims_annotation="true" faims_attribute_type="vocab" faims_read_only="false">
<label>{Type_of_Structure}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<input ref="FloorWhereProblemNoted" faims_attribute_name="Floor where problem noted" faims_certainty="true" faims_annotation="true" faims_attribute_type="measure" faims_read_only="false">
<label>{Floor_where_problem_noted}</label>
</input>
<input ref="gap" faims_attribute_type="freetext" faims_certainty="false" faims_read_only="true">
<label/>
</input>
<trigger ref="Update">
<label>{Save_Entity}</label>
</trigger>
<trigger ref="UpdateAndClose">
<label>{Save_Entity_and_Close}</label>
</trigger>
<trigger ref="Delete">
<label>{Delete_Entity}</label>
</trigger>
</group>
<group ref="hidden" faims_hidden="true">
<label>hidden</label>
<input faims_attribute_name="Northing" faims_attribute_type="measure" faims_certainty="true" faims_annotation="true" faims_read_only="false" ref="Northing">
<label>{Northing}</label>
</input>
<input faims_attribute_name="Easting" faims_attribute_type="measure" faims_certainty="true" faims_annotation="true" faims_read_only="false" ref="Easting">
<label>{Easting}</label>
</input>
<input faims_attribute_name="Z" faims_attribute_type="measure" faims_certainty="true" faims_annotation="true" faims_read_only="false" ref="Z">
<label>{Z}</label>
</input>
</group>
</group>
</h:body>
</h:html>