218 *render_entity_attributes(self, entity, siderelations)* |
218 *render_entity_attributes(self, entity, siderelations)* |
219 Renders all the attribute of an entity with the exception of attribute |
219 Renders all the attribute of an entity with the exception of attribute |
220 of type `Password` and `Bytes`. |
220 of type `Password` and `Bytes`. |
221 |
221 |
222 *content_navigation_components(self, context)* |
222 *content_navigation_components(self, context)* |
|
223 This method is applicable only for entity type implementing the interface |
|
224 `IPrevNext`. This interface is for entities which can be linked to a previous |
|
225 and/or next entity. This methods will render the navigation links between |
|
226 entities of this type, either at the top or at the bottom of the page |
|
227 given the context (navcontent{top|bottom}). |
223 |
228 |
224 *render_entity_relations(self, entity, siderelations)* |
229 *render_entity_relations(self, entity, siderelations)* |
225 Renders all the relations of the entity. |
230 Renders all the relations of the entity in the main section of the page. |
226 |
231 |
227 *render_side_related(self, entity, siderelations)* |
232 *render_side_related(self, entity, siderelations)* |
228 Renders side related relations. |
233 Renders all the relations of the entity in a side box. This is equivalent |
|
234 to *render_entity_relations* in addition to render the relations |
|
235 in a box. |
229 |
236 |
230 Also, please note that by setting the following attributes in you class, |
237 Also, please note that by setting the following attributes in you class, |
231 you can already customize some of the rendering: |
238 you can already customize some of the rendering: |
232 |
239 |
233 *show_attr_label* |
240 *show_attr_label* |