[Zope-Checkins] CVS: Zope/lib/python/OFS - Application.py:1.176.4.1
Casey Duncan
casey_duncan@yahoo.com
Fri, 14 Dec 2001 00:26:02 -0500
Update of /cvs-repository/Zope/lib/python/OFS
In directory cvs.zope.org:/tmp/cvs-serv28262
Modified Files:
Tag: casey-better_put_handling-branch
Application.py
Log Message:
Added default class attrs for default view name and default mkdir
meta_type in support of "Death to index_html" and "better put handling"
=== Zope/lib/python/OFS/Application.py 1.176 => 1.176.4.1 ===
__allow_groups__=UserFolder()
+ # The __default_view_name__ class-default is used to specify
+ # index_html as the default published view for all folders
+ # This can now be changed in a folder's "settings" tab (casey)
+
+ __default_view_name__ = 'index_html'
+
+ # this class-default _mkdir_meta_type is the default meta type
+ # of the object created from the mkdir command. This can also
+ # be changed from a folder's "settings" tab (casey)
+
+ _mkdir_meta_type = 'Folder'
+
def title_and_id(self): return self.title
def title_or_id(self): return self.title