Changeset 313

Show
Ignore:
Timestamp:
03/18/08 18:10:27 (9 months ago)
Author:
johnbywater
Message:

Changes to support 'list all' view.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/dm/view/base.py

    r311 r313  
    729729        return False 
    730730 
     731    def hasListallPage(self): 
     732        return False 
     733 
    731734 
    732735class AbstractClassView(SessionView): 
  • trunk/src/dm/view/registry.py

    r308 r313  
    273273        super(RegistryListView, self).__init__(**kwds) 
    274274 
     275 
     276class RegistryListallView(RegistryListView): 
     277     
     278    def __init__(self, actionName='list', **kwds): 
     279        kwds['actionName'] = actionName 
     280        super(RegistryListallView, self).__init__(**kwds) 
     281 
     282    def makeTemplatePath(self): 
     283        return self.getViewPosition() + 'all' 
     284         
    275285 
    276286class RegistrySearchView(RegistryView, AbstractSearchView):