[Zope-PTK] CVS: ZopePTK - Document.py:1.10 File.py:1.8 Image.py:1.7 Link.py:1.6 NewsItem.py:1.8 __init__.py:1.15
Tres
tseaver@zope.org
Thu, 25 Jan 2001 20:30:05 -0800
Update of /cvs-repository/ZopePTK/PTKDemo
In directory zope.codeit.com:/tmp/cvs-serv9344/PTKDemo
Modified Files:
Document.py File.py Image.py Link.py NewsItem.py __init__.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.