annotate _test/Resources/form.schema @ 11:75980091813b

DOM и навигация
author Sergey
date Wed, 02 Sep 2009 17:47:44 +0400
parents 63f6653b094e
children 16795016e70b
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
Sergey
parents:
diff changeset
5 dataObject="App::Data::User"
Sergey
parents:
diff changeset
6 dataPolicy="AddOrUpdate"
Sergey
parents:
diff changeset
7 messageMin="Вы не заполнили %Node.formLabel.%"
Sergey
parents:
diff changeset
8 >
Sergey
parents:
diff changeset
9 <EditBox nodeName="Name"
Sergey
parents:
diff changeset
10 formLabel="Имя"
Sergey
parents:
diff changeset
11 formLabel.blame="имя"
Sergey
parents:
diff changeset
12 formLabel.no="имени"
Sergey
parents:
diff changeset
13 />
Sergey
parents:
diff changeset
14 <EditBox nodeName="Nick"
Sergey
parents:
diff changeset
15 formLabel="Прозвище"
Sergey
parents:
diff changeset
16 formLabel.no="прозвища"
Sergey
parents:
diff changeset
17 minOccur="0"
Sergey
parents:
diff changeset
18 >
Sergey
parents:
diff changeset
19 <RegExp>\w{4,10}</RegExp>
Sergey
parents:
diff changeset
20 </EditBox>
Sergey
parents:
diff changeset
21 <ListBox nodeName="Role"
Sergey
parents:
diff changeset
22 dataObject="App::Data::Role"
Sergey
parents:
diff changeset
23 dataSource="roles"
Sergey
parents:
diff changeset
24 formLabel="Роль"
Sergey
parents:
diff changeset
25 formLabel.blame="роль"
Sergey
parents:
diff changeset
26 />
Sergey
parents:
diff changeset
27 </Form>
Sergey
parents:
diff changeset
28 </schema>
Sergey
parents:
diff changeset
29