equal
deleted
inserted
replaced
83 self.content_navigation_components('navcontentbottom') |
83 self.content_navigation_components('navcontentbottom') |
84 |
84 |
85 |
85 |
86 def content_navigation_components(self, context): |
86 def content_navigation_components(self, context): |
87 self.w(u'<div class="%s">' % context) |
87 self.w(u'<div class="%s">' % context) |
88 for comp in self.vreg.possible_vobjects('contentnavigation', |
88 for comp in self.vreg.possible_vobjects('contentnavigation', self.req, |
89 self.req, self.rset, row=self.row, |
89 rset=self.rset, row=self.row, |
90 view=self, context=context): |
90 view=self, context=context): |
91 try: |
91 try: |
92 comp.render(w=self.w, row=self.row, view=self) |
92 comp.render(w=self.w, row=self.row, view=self) |
93 except NotImplementedError: |
93 except NotImplementedError: |
94 warn('component %s doesnt implement cell_call, please update' |
94 warn('component %s doesnt implement cell_call, please update' |
160 if not rset: |
160 if not rset: |
161 continue |
161 continue |
162 label = display_name(self.req, rschema.type, role) |
162 label = display_name(self.req, rschema.type, role) |
163 vid = dispctrl.get('vid', 'sidebox') |
163 vid = dispctrl.get('vid', 'sidebox') |
164 sideboxes.append( (label, rset, vid) ) |
164 sideboxes.append( (label, rset, vid) ) |
165 sideboxes += self.vreg.possible_vobjects('boxes', self.req, self.rset, |
165 sideboxes += self.vreg.possible_vobjects('boxes', self.req, rset=self.rset, |
166 row=self.row, view=self, |
166 row=self.row, view=self, |
167 context='incontext') |
167 context='incontext') |
168 return sideboxes |
168 return sideboxes |
169 |
169 |
170 def _section_def(self, entity, where): |
170 def _section_def(self, entity, where): |