[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/form/browser/metaconfigure.py
Converted XXX to explanatory statement.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Jul 9 11:47:00 EDT 2004
Log message for revision 26350:
Converted XXX to explanatory statement.
-=-
Modified: Zope3/trunk/src/zope/app/form/browser/metaconfigure.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/metaconfigure.py 2004-07-09 15:46:58 UTC (rev 26349)
+++ Zope3/trunk/src/zope/app/form/browser/metaconfigure.py 2004-07-09 15:47:00 UTC (rev 26350)
@@ -167,7 +167,8 @@
if (not self.menu) or (not self.title):
raise ValueError("If either menu or title are specified, "
"they must both be specified")
- # XXX why no self.schema in for as in EditFormDirective
+ # Add forms are really for IAdding components, so do not use
+ # for=self.schema.
menuItemDirective(
self._context, self.menu, self.for_, '@@' + self.name,
self.title, permission=self.permission,
More information about the Zope3-Checkins
mailing list