annotate schemas/form.types.xml @ 10:83ad674a8cdd

updated styles
author sergey
date Thu, 15 May 2014 01:51:42 +0400
parents fa7a99c2d079
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
2 <schema>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
3 <SimpleType
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
4 template="dojo/form/DateTextBox"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
5 type="date"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
6 inflator="Benzin::DateTime::Inflator.parse_date"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
7 messageInflateError="ID:InvalidDateFormat"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
8 />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
9 <SimpleType
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
10 type="text"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
11 template="dojo/form/Input"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
12 inputType="text"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
13 />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
14 <SimpleType
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
15 type="password"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
16 template="dojo/form/Input"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
17 inputType="password"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
18 />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
19 <SimpleType
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
20 type="email"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
21 template="dojo/form/Input"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
22 inputType="text"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
23 />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
24 <SimpleType type="login" template="dojo/form/Input" inputType="text">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
25 <RegExp message="ID:InvalidLoginFormat">^\w+$</RegExp>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
26 </SimpleType>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
27 <SimpleType type="password_retype" inputType="password" template="dojo/form/Input">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
28 <Compare op="eq" message="ID:PasswordDoesntMatch" nodePath="siblings:*[nodeName eq '%source.linkedField%']" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
29 </SimpleType>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
30 </schema>