equal
deleted
inserted
replaced
46 The selection view principle |
46 The selection view principle |
47 ---------------------------- |
47 ---------------------------- |
48 |
48 |
49 A view includes : |
49 A view includes : |
50 |
50 |
51 - an identifier (all objects in `LAX` are entered in a registry |
51 - an identifier (all objects in `CubicWeb` are entered in a registry |
52 and this identifier will be used as a key) |
52 and this identifier will be used as a key) |
53 |
53 |
54 - a filter to select the resulsets it can be applied to |
54 - a filter to select the resulsets it can be applied to |
55 |
55 |
56 |
56 |
62 |
62 |
63 |
63 |
64 `CubicWeb` provides a lot of standard views, for a complete list, you |
64 `CubicWeb` provides a lot of standard views, for a complete list, you |
65 will have to read the code in directory ``cubicweb/web/views/`` (XXX |
65 will have to read the code in directory ``cubicweb/web/views/`` (XXX |
66 improve doc). |
66 improve doc). |
|
67 |
|
68 `CubicWeb` provides a lot of standard views for the default class |
|
69 `EntityType`. You can find them in ``cubicweb/web/views/``. |
|
70 |
|
71 The basic views defined are : |
|
72 |
|
73 *null* |
|
74 |
|
75 |
|
76 |
|
77 |
67 |
78 |
68 For example, the view named ``primary`` is the one used to display |
79 For example, the view named ``primary`` is the one used to display |
69 a single entity. |
80 a single entity. |
70 |
81 |
71 If you want to change the way a ``BlogEntry`` is displayed, just |
82 If you want to change the way a ``BlogEntry`` is displayed, just |