7
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
|
2 <schema>
|
|
3 <SimpleType
|
|
4 template="dojo/form/DateTextBox"
|
|
5 type="date"
|
|
6 inflator="Benzin::DateTime::Inflator.parse_date"
|
|
7 messageInflateError="ID:InvalidDateFormat"
|
|
8 />
|
|
9 <SimpleType
|
|
10 type="text"
|
|
11 template="dojo/form/Input"
|
|
12 inputType="text"
|
|
13 />
|
|
14 <SimpleType
|
|
15 type="password"
|
|
16 template="dojo/form/Input"
|
|
17 inputType="password"
|
|
18 />
|
|
19 <SimpleType
|
|
20 type="email"
|
|
21 template="dojo/form/Input"
|
|
22 inputType="text"
|
|
23 />
|
|
24 <SimpleType type="login" template="dojo/form/Input" inputType="text">
|
|
25 <RegExp message="ID:InvalidLoginFormat">^\w+$</RegExp>
|
|
26 </SimpleType>
|
|
27 <SimpleType type="password_retype" inputType="password" template="dojo/form/Input">
|
|
28 <Compare op="eq" message="ID:PasswordDoesntMatch" nodePath="siblings:*[nodeName eq '%source.linkedField%']" />
|
|
29 </SimpleType>
|
|
30 </schema> |