49
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
|
2 <schema>
|
|
3 <Include src="forms.schema"/>
|
|
4 <Form
|
|
5 type="Form"
|
|
6 dataPolicy="AddOrUpdate"
|
|
7 dataType="App::Data::User"
|
|
8 messageMin="Вы не заполнили %Node.formLabel_blame%"
|
|
9 >
|
|
10 <Name
|
|
11 formLabel="Имя"
|
|
12 formLabel_blame="имя"
|
|
13 formLabel_no="имени"
|
|
14 type="EditBox"
|
|
15 />
|
|
16 <!-- Опциональный элемент -->
|
|
17 <Nick
|
|
18 formLabel="Прозвище"
|
|
19 formLabel_no="прозвища"
|
|
20 minOccur="0"
|
|
21 type="EditBox"
|
|
22 >
|
|
23 <RegExp>\w{4,10}</RegExp>
|
|
24 </Nick>
|
|
25 <Role
|
|
26 dataType="App::Data::Role"
|
|
27 dataSource="roles"
|
|
28 formLabel="Роль"
|
|
29 formLabel_blame="роль"
|
|
30 type="MultiSelect"
|
|
31 maxOccur="unbounded"
|
|
32 />
|
|
33 <Contacts
|
|
34 minOccur="0"
|
|
35 maxOccur="unbounded"
|
|
36 formLabel="Контакты"
|
|
37 dataType="App::Data::Contacts"
|
|
38 type="Container"
|
|
39 >
|
|
40 <NodeSet>
|
|
41 <EMail
|
|
42 type="EditBox"
|
|
43 minOccur="0"
|
|
44 formLabel="Эл. почта"
|
|
45 formLabel_no="эл. почты"
|
|
46 />
|
|
47 <Phone
|
|
48 type="EditBox"
|
|
49 minOccur="0"
|
|
50 formLabel="Телефон"
|
|
51 formLabel_no="телефона"
|
|
52 />
|
|
53 </NodeSet>
|
|
54 </Contacts>
|
|
55 </Form>
|
|
56
|
|
57 </schema>
|
|
58
|