[Zope-PTK] CVS: ZopePTK - default_stylesheet.dtml:1.4 folder_factories.dtml:1.4
Tres
tseaver@zope.org
Thu, 25 Jan 2001 20:30:06 -0800
Update of /cvs-repository/ZopePTK/PTKDemo/skins/generic
In directory zope.codeit.com:/tmp/cvs-serv9344/PTKDemo/skins/generic
Modified Files:
default_stylesheet.dtml folder_factories.dtml
Log Message:
* CSSify 'folder_factories'.
* Updated PTKDemo content classes to have '__init__' methods allowing
calling w/ only 'id' passed (others defaulted). Updated ctor functions,
etc., accordingly.
* Added ContentInit "jumbo factory" to PTKBase.utils (parallels the
ToolInit class, but specialized to construct all content types for
a single product/permission).
* Modified PTKBase and PTKDemo to each register one of these "jumbo"
factories for their content types.
* Updated 'TypesTool.ContentTypeInfo.invokeFactory' to wrap the ctor
method in the container (this may not be needed).
* Added PTKBase.PortalFolder.__init__, explicitly allowing passing only
id; reworked ctor methods accordingly.