38 cw_property_defs = { |
38 cw_property_defs = { |
39 _('visible'): dict(type='Boolean', default=True, |
39 _('visible'): dict(type='Boolean', default=True, |
40 help=_('display the component or not')), |
40 help=_('display the component or not')), |
41 _('order'): dict(type='Int', default=99, |
41 _('order'): dict(type='Int', default=99, |
42 help=_('display order of the component')), |
42 help=_('display order of the component')), |
43 _('context'): dict(type='String', default='header', |
43 _('context'): dict(type='String', default='navtop', |
44 vocabulary=(_('navtop'), _('navbottom'), |
44 vocabulary=(_('navtop'), _('navbottom'), |
45 _('navcontenttop'), _('navcontentbottom')), |
45 _('navcontenttop'), _('navcontentbottom'), |
46 #vocabulary=(_('header'), _('incontext'), _('footer')), |
46 _('ctxtoolbar')), |
47 help=_('context where this component should be displayed')), |
47 help=_('context where this component should be displayed')), |
48 } |
48 } |
49 |
49 |
50 context = 'navcontentbottom' # 'footer' | 'header' | 'incontext' |
50 context = 'navcontentbottom' |
51 |
51 |
52 def call(self, view=None): |
52 def call(self, view=None): |
53 return self.cell_call(0, 0, view=view) |
53 return self.cell_call(0, 0, view=view) |
54 |
54 |
55 def cell_call(self, row, col, view=None): |
55 def cell_call(self, row, col, view=None): |