annotate _test/Resources/sample.xml @ 361:eff7f75a4408

added cookie support for the request language detection
author cin
date Wed, 27 Nov 2013 17:12:38 +0400
parents b6cde007a175
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
218
sergey
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
221
e997e6fbac0b sync: working on resources schema
sergey
parents: 220
diff changeset
2 <resources xmlns="http://implab.org/schemas/resources"
e997e6fbac0b sync: working on resources schema
sergey
parents: 220
diff changeset
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
e997e6fbac0b sync: working on resources schema
sergey
parents: 220
diff changeset
4 xsi:schemaLocation="http://implab.org/schemas/resources resources.xsd ">
e997e6fbac0b sync: working on resources schema
sergey
parents: 220
diff changeset
5 <root>
226
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
6 <get>
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
7 <bind expr="$model" />
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
8 </get>
223
edf011437be8 updated resources schema
sergey
parents: 222
diff changeset
9
edf011437be8 updated resources schema
sergey
parents: 222
diff changeset
10 <resource>
edf011437be8 updated resources schema
sergey
parents: 222
diff changeset
11 <name>projects</name>
226
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
12 <bind expr="$model" />
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
13
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
14 <get>
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
15 <bind expr="$model" />
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
16 </get>
223
edf011437be8 updated resources schema
sergey
parents: 222
diff changeset
17
226
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
18 <post>
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
19 <bind expr="$model->CreateProject($project)">
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
20 <var name="project">
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
21 <transform class="IMPL::Web::Transform::BindModel" />
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
22 </var>
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
23 </bind>
224
e6c050db7d98 resources schema update
sergey
parents: 223
diff changeset
24 <response>
e6c050db7d98 resources schema update
sergey
parents: 223
diff changeset
25 <redirect>
e6c050db7d98 resources schema update
sergey
parents: 223
diff changeset
26 <location locator="projects-locator" />
e6c050db7d98 resources schema update
sergey
parents: 223
diff changeset
27 </redirect>
223
edf011437be8 updated resources schema
sergey
parents: 222
diff changeset
28 </response>
edf011437be8 updated resources schema
sergey
parents: 222
diff changeset
29 </post>
221
e997e6fbac0b sync: working on resources schema
sergey
parents: 220
diff changeset
30
223
edf011437be8 updated resources schema
sergey
parents: 222
diff changeset
31 <resource>
226
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
32 <match vars="id">(\w+)</match>
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
33 <bind expr="$model->GetProject($id)" />
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
34
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
35 <get>
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
36 <bind expr="$model" />
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
37 </get>
224
e6c050db7d98 resources schema update
sergey
parents: 223
diff changeset
38
226
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
39 <put>
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
40 <bind expr="$model->update(data)">
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
41 <var name="data">
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
42 <transform class="IMPL::Web::Transform::BindModel"/>
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
43 </var>
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
44 </bind>
223
edf011437be8 updated resources schema
sergey
parents: 222
diff changeset
45 </put>
224
e6c050db7d98 resources schema update
sergey
parents: 223
diff changeset
46
223
edf011437be8 updated resources schema
sergey
parents: 222
diff changeset
47 <resource>
224
e6c050db7d98 resources schema update
sergey
parents: 223
diff changeset
48 <name>library</name>
226
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
49 <bind expr="$model" />
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
50 <get>
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
51 <bind expr="$model" />
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
52 </get>
223
edf011437be8 updated resources schema
sergey
parents: 222
diff changeset
53 </resource>
edf011437be8 updated resources schema
sergey
parents: 222
diff changeset
54 <resource>
224
e6c050db7d98 resources schema update
sergey
parents: 223
diff changeset
55 <name>sources</name>
226
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
56 <bind expr="$model" />
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
57 <get>
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
58 <bind expr="$model" />
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
59 </get>
223
edf011437be8 updated resources schema
sergey
parents: 222
diff changeset
60 </resource>
edf011437be8 updated resources schema
sergey
parents: 222
diff changeset
61 </resource>
221
e997e6fbac0b sync: working on resources schema
sergey
parents: 220
diff changeset
62 </resource>
e997e6fbac0b sync: working on resources schema
sergey
parents: 220
diff changeset
63 </root>
223
edf011437be8 updated resources schema
sergey
parents: 222
diff changeset
64 <contracts>
225
a1e868b0fba9 Bindings concept in progress
sergey
parents: 224
diff changeset
65 <contract id="project-contract" modelType="IMPL::Web::Model::Project">
226
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
66 <get>
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
67 <bind expr="$model" />
b6cde007a175 Added resource contract
sergey
parents: 225
diff changeset
68 </get>
224
e6c050db7d98 resources schema update
sergey
parents: 223
diff changeset
69 </contract>
223
edf011437be8 updated resources schema
sergey
parents: 222
diff changeset
70 </contracts>
218
sergey
parents:
diff changeset
71 </resources>