Mercurial > pub > Impl
comparison _test/Resources/form.schema @ 10:63f6653b094e
DOM
author | Sergey |
---|---|
date | Fri, 28 Aug 2009 16:26:20 +0400 |
parents | |
children | 16795016e70b |
comparison
equal
deleted
inserted
replaced
9:5899df8c289e | 10:63f6653b094e |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <schema> | |
3 <Include src="forms.schema"/> | |
4 <Form | |
5 dataObject="App::Data::User" | |
6 dataPolicy="AddOrUpdate" | |
7 messageMin="Вы не заполнили %Node.formLabel.%" | |
8 > | |
9 <EditBox nodeName="Name" | |
10 formLabel="Имя" | |
11 formLabel.blame="имя" | |
12 formLabel.no="имени" | |
13 /> | |
14 <EditBox nodeName="Nick" | |
15 formLabel="Прозвище" | |
16 formLabel.no="прозвища" | |
17 minOccur="0" | |
18 > | |
19 <RegExp>\w{4,10}</RegExp> | |
20 </EditBox> | |
21 <ListBox nodeName="Role" | |
22 dataObject="App::Data::Role" | |
23 dataSource="roles" | |
24 formLabel="Роль" | |
25 formLabel.blame="роль" | |
26 /> | |
27 </Form> | |
28 </schema> | |
29 |