[gen] Added parameter Ref.collapsible allowing to show/hide (via a cookie in the UI, similar to object history) available or tied items.

This commit is contained in:
Gaetan Delannay 2015-01-26 17:26:05 +01:00
parent 73f81d9304
commit fcf6a52974
6 changed files with 67 additions and 35 deletions

View file

@ -1240,6 +1240,11 @@ class BaseMixin:
res.append(event)
return Object(events=res, totalNumber=len(history))
def getHistoryCollapse(self):
'''Gets a Collapsible instance for showing a collapse or expanded
history in this object.'''
return Collapsible('appyHistory', self.REQUEST)
def mayNavigate(self):
'''May the currently logged user see the navigation panel linked to
this object?'''