2
<!DOCTYPE I2CEConfiguration SYSTEM "I2CE_Configuration.dtd">
3
<I2CEConfiguration name='one-day'>
5
<displayName>One Day</displayName>
6
<className>iHRIS_Module_One_Day</className>
7
<category>Baylor Modules</category>
8
<description>Adds in One Day Training Module</description>
9
<creator>iHRIS Uganda</creator>
10
<email>dkibiye@baylor-uganda.org</email>
11
<version>4.1.0</version>
16
<value>./configs</value>
18
<path name='templates'>
19
<value>./templates</value>
21
<priority>350</priority>
24
<configurationGroup name='one-day' path='/I2CE'>
25
<displayName>One Day</displayName>
27
<configurationGroup name='tasks' path='/I2CE/tasks/task_description' locale='en_US'>
28
<configuration name='person_can_view_child_form_person_one_day'>
29
<value>Can view person_one_day child form of a person</value>
31
<configuration name='person_can_edit_child_form_one_day'>
32
<value>Can edit person_one_day child forms of a person</value>
34
<configuration name="can_edit_database_list_one_day_type" locale="en_US">
35
<version>4.1.0</version>
36
<value>Can edit the department one_day type list.</value>
38
<configuration name="can_view_database_list_one_day_type" locale="en_US">
39
<version>4.1.0</version>
40
<value>Can view the department one_day type list.</value>
45
<configurationGroup name='tasks_trickle_down' path='/I2CE/tasks/task_trickle_down/'>
46
<configuration name='person_can_view_child_form_person_one_day' values='many'>
47
<value>person_can_view</value>
49
<configuration name='person_can_edit_child_form_person_one_day' values='many'>
50
<value>person_can_view_child_form_person_one_day</value>
51
<value>person_can_view</value>
54
<configuration name='person_can_view_child_forms' values='many'>
55
<value>person_can_view_child_form_person_one_day</value>
57
<configuration name='person_can_edit_child_forms' values='many'>
58
<value>person_can_edit_child_form_person_one_day</value>
60
<configuration name="can_edit_database_list_one_day_type" values="many">
61
<version>4.1.0</version>
62
<value>can_view_database_list_baylor_training_type</value>
63
<value>can_edit_employee_database_lists</value>
65
<configuration name="can_edit_all_employee_database_lists" values="many">
66
<version>4.1.0</version>
67
<value>can_edit_database_list_baylor_training_type</value>
69
<configuration name="can_view_all_employee_database_lists" values="many">
70
<version>4.1.0</version>
71
<value>can_view_database_list_baylor_training_type</value>
76
<configurationGroup name='forms' path='/modules/forms'>
77
<displayName>Forms</displayName>
78
<description>Information about the forms made available by One Day</description>
80
<configurationGroup name='forms'>
81
<displayName>Forms available to the form factory</displayName>
82
<status>advanced:true</status>
83
<status>required:true</status>
85
<!-- This section is to add a new form called person_one_day with the associated
86
class. The class will be defined in the classes section below. -->
87
<configurationGroup name='person_one_day'>
88
<displayName>Person One Day</displayName>
89
<description>The Person One Day Form</description>
90
<configuration name='class' values='single'>
91
<displayName>Class Name</displayName>
92
<description>The name of the class providing the form</description>
93
<value>iHRIS_PersonOne_Day</value>
95
<configuration name='display' values='single'>
96
<displayName>Display name</displayName>
97
<description>The display name for this form</description>
98
<value>Person One Day</value>
100
</configurationGroup> <!-- person_one_day -->
101
<configurationGroup name="one_day_type">
102
<displayName>One Day Training Type</displayName>
103
<description>The One Day Training Type Form</description>
104
<version>4.1.0</version>
105
<configuration name="class" values="single">
106
<displayName>Class Name</displayName>
107
<description>The name of the class providing the form</description>
108
<value>I2CE_SimpleList</value>
110
<configuration name="display" values="single" locale="en_US">
111
<displayName>Display name</displayName>
112
<description>The display name for this form</description>
113
<value>One Day Training Type</value>
115
<configuration name="storage" values="single">
116
<displayName>Storage Details</displayName>
117
<description>The storage mechanism for this form.</description>
118
<value>magicdata</value>
120
</configurationGroup>
122
<!-- This section will modify the existing information for the person form to include
123
two new child forms which are the new forms created for this module. -->
124
<configurationGroup name='person_meta' path='/modules/forms/forms/person/meta'>
125
<displayName>MetaData on the form</displayName>
126
<configuration name='child_forms' values='many' >
127
<status>uniquemerge:true</status>
128
<displayName>Child Forms</displayName>
129
<value>person_one_day</value>
131
</configurationGroup> <!-- person_meta -->
133
</configurationGroup> <!-- End /modules/forms/forms-->
136
<configurationGroup name="formClasses" >
137
<displayName>Form Class Configuration</displayName>
140
<!-- This section will define the person_one_day form class with all the fields and field types.
141
This class will be created dynamically since no extra funcationality needs to be added for it. -->
142
<configurationGroup name="iHRIS_PersonOne_Day">
143
<displayName>Configuration for the class 'iHRIS_PersonOne_Day'</displayName>
144
<configuration name="extends">
145
<displayName>The class this form extends</displayName>
146
<value>I2CE_Form</value>
148
<configurationGroup name="fields">
149
<displayName>The fields defined for this form.</displayName>
150
<configurationGroup name="one_day_type">
151
<displayName>The fields 'one_day_type'</displayName>
152
<configuration name="formfield">
153
<displayName>The form field type</displayName>
156
<configuration name="headers" type="delimited">
157
<displayName>The headers for this field.</displayName>
158
<value>default:One Day Training Type</value>
160
<configuration name="required" type="boolean">
161
<displayName>This field is required to be set</displayName>
164
</configurationGroup> <!-- one_day_type -->
165
<configurationGroup name="baylor_training_type">
166
<displayName>The fields 'baylor_training_type'</displayName>
167
<configuration name="formfield">
168
<displayName>The form field type</displayName>
171
<configuration name="headers" type="delimited">
172
<displayName>The headers for this field.</displayName>
173
<value>default:Topic</value>
175
<configuration name="required" type="boolean">
176
<displayName>This field is required to be set</displayName>
179
</configurationGroup> <!-- baylor_training_type -->
181
<configurationGroup name="venue">
182
<displayName>The fields 'venue'</displayName>
183
<configuration name="formfield">
184
<displayName>The form field type</displayName>
187
<configuration name="headers" type="delimited">
188
<displayName>The headers for this field.</displayName>
189
<value>default:Venue</value>
191
<configuration name="required" type="boolean">
192
<displayName>This field is required to be set</displayName>
195
</configurationGroup> <!-- venue -->
197
<configurationGroup name="training_date">
198
<displayName>The fields 'training_date'</displayName>
199
<configuration name="formfield">
200
<displayName>The form field type</displayName>
201
<value>DATE_YMD</value>
203
<configuration name="headers" type="delimited">
204
<displayName>The headers for this field.</displayName>
205
<value>default:Date</value>
207
<configuration name="required" type="boolean">
208
<displayName>This field is required to be set</displayName>
211
</configurationGroup> <!-- training date -->
215
</configurationGroup> <!-- fields -->
216
</configurationGroup> <!-- iHRIS_PersonOne_Day -->
219
</configurationGroup> <!-- End /modules/forms/formClasses -->
221
</configurationGroup> <!-- End /modules/forms -->
224
<configurationGroup name='page'>
225
<displayName>Pages</displayName>
226
<description>Information about various pages made available by the system</description>
227
<status>required:true</status>
230
<!-- This section will create the person_one_day page so that new professional development
231
forms can be created and assigned to a person's record. -->
232
<configurationGroup name='person_one_day'>
233
<displayName>Person One Day Page</displayName>
234
<description> The page 'person_one_day' which has the action of: Add/Update One_Day</description>
235
<configuration name='class' values='single'>
236
<displayName>Page Class</displayName>
237
<description>The class responsible for displaying this page</description>
238
<status>required:true</status>
239
<value>iHRIS_PageFormParentPerson</value>
241
<configuration name='style' values='single'>
242
<displayName>Page Style</displayName>
243
<description>The Page Style</description>
244
<value>ihris_common_page_form_parent_person</value>
246
<configurationGroup name='args'>
247
<displayName>Page Options</displayName>
248
<description>The options that control the access and display of all pages</description>
249
<configuration name='title' values='single'>
250
<displayName>Page Title</displayName>
251
<description>Page Title</description>
252
<status>required:true</status>
253
<value>Add/Update One Day Training</value>
255
<configuration name='page_form' values='single'>
256
<displayName>Form</displayName>
257
<description>The form this page is using</description>
258
<status>required:true</status>
259
<value>person_one_day</value>
261
</configurationGroup>
262
</configurationGroup> <!-- person_one_day -->
265
</configurationGroup> <!-- page -->
268
</configurationGroup> <!-- One_Day -->