annotate _test/Resources/form.schema @ 15:16795016e70b

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