[Zope-PTK] CVS: ZopePTK - PortalFolder.py:1.33 TypesTool.py:1.6 __init__.py:1.44 utils.py:1.11
Tres
tseaver@zope.org
Thu, 25 Jan 2001 20:30:04 -0800
Update of /cvs-repository/ZopePTK/PTKBase
In directory zope.codeit.com:/tmp/cvs-serv9344/PTKBase
Modified Files:
PortalFolder.py TypesTool.py __init__.py utils.py
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.