[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - view.py:1.3
Guido van Rossum
guido@python.org
Thu, 29 May 2003 16:48:14 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv19772
Modified Files:
view.py
Log Message:
Add the omitted 'expand' attribute.
=== Zope3/src/zope/app/interfaces/services/view.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/interfaces/services/view.py:1.2 Thu May 1 15:35:22 2003
+++ Zope3/src/zope/app/interfaces/services/view.py Thu May 29 16:48:14 2003
@@ -19,7 +19,7 @@
from zope.app.interfaces.services.configuration import IConfiguration
from zope.app.component.interfacefield import InterfaceField
from zope.app.security.permission import PermissionField
-from zope.schema import BytesLine, TextLine, Text
+from zope.schema import BytesLine, TextLine, Text, Bool
from zope.interface import Interface
from zope.app.services.field import ComponentPath
from zope.component.interfaces import IPresentation
@@ -134,6 +134,10 @@
title=u"Source",
description=u"""The source of the page template.""",
required=True)
+
+ expand = Bool(
+ title=u"Expand macros",
+ )
def render(context, request, *args, **kw):
"""Render the page template.