equal
deleted
inserted
replaced
70 * `EntityView`, view applying to lines or cell containing an entity (e.g. an eid) |
70 * `EntityView`, view applying to lines or cell containing an entity (e.g. an eid) |
71 * `StartupView`, start view that does not require a result set to apply to |
71 * `StartupView`, start view that does not require a result set to apply to |
72 * `AnyRsetView`, view applied to any result set |
72 * `AnyRsetView`, view applied to any result set |
73 * `EmptyRsetView`, view applied to an empty result set |
73 * `EmptyRsetView`, view applied to an empty result set |
74 |
74 |
|
75 |
75 The selection view principle |
76 The selection view principle |
76 ---------------------------- |
77 ---------------------------- |
77 |
78 |
78 A view is essentially defined by: |
79 A view is essentially defined by: |
79 |
80 |
94 |
95 |
95 .. include:: B1021-views-selectors.en.txt |
96 .. include:: B1021-views-selectors.en.txt |
96 |
97 |
97 Registerer |
98 Registerer |
98 `````````` |
99 `````````` |
|
100 [Registerers are deprecated: they will soon disappear for explicite |
|
101 registration...] |
|
102 |
99 A view is also customizable through its attribute ``__registerer__``. |
103 A view is also customizable through its attribute ``__registerer__``. |
100 This is used at the time the application is launched to manage how |
104 This is used at the time the application is launched to manage how |
101 objects (views, graphic components, actions, etc.) |
105 objects (views, graphic components, actions, etc.) |
102 are registered in the `cubicWeb` registry. |
106 are registered in the `cubicWeb` registry. |
103 |
107 |
107 |
111 |
108 The purpose of a `registerer` is to control object registry |
112 The purpose of a `registerer` is to control object registry |
109 at the application startup whereas `selectors` control objects |
113 at the application startup whereas `selectors` control objects |
110 when they are selected for display. |
114 when they are selected for display. |
111 |
115 |
112 |
|
113 `CubicWeb` provides a lot of standard views for the default class |
|
114 `EntityType`. You can find them in ``cubicweb/web/views/``. |
|
115 |
116 |
116 .. include:: B1022-views-stdlib.en.txt |
117 .. include:: B1022-views-stdlib.en.txt |
117 |
118 |
118 |
119 |
119 Examples of views class |
120 Examples of views class |