[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/ZPTPage - ZPTPage.py:1.1.2.1 ZPTPage.pyc:1.1.2.1 ZPTPageEdit.py:1.1.2.1 ZPTPageEdit.pyc:1.1.2.1 ZPTPageEval.py:1.1.2.1 ZPTPageEval.pyc:1.1.2.1 __init__.py:1.1.2.1 __init__.pyc:1.1.2.1 edit.pt:1.1.2.1
Jens Vagelpohl
jens@zope.com
Mon, 21 Jan 2002 17:15:53 -0500
stephan,
it looks like you are adding *.pyc files... you need a .cvsignore file=20=
somewhere
jens
On Monday, January 21, 2002, at 05:00 , Stephan Richter wrote:
> Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/ZPTPage
> In directory cvs.zope.org:/tmp/cvs-serv23517
>
> Added Files:
> Tag: Zope-3x-branch
> ZPTPage.py ZPTPage.pyc ZPTPageEdit.py ZPTPageEdit.pyc
> ZPTPageEval.py ZPTPageEval.pyc __init__.py __init__.pyc
> edit.pt
> Log Message:
> - Add a very simple ZPT Page as content object. It does not do =
security
> yet, so someone should look at it.
> - Also, even though I have tested the code via the Web, there are no =
unit
> tests yet; I will provide them later.
>
>
> =3D=3D=3D Added File Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPage.py =
=3D=3D=3D
> # This software is subject to the provisions of the Zope Public =
License,
> # Version 1.1 (ZPL). A copy of the ZPL should accompany this=20
> distribution.
> # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
> # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE =
IMPLIED
> # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND =
FITNESS
> # FOR A PARTICULAR PURPOSE.
>
> from Interface import Interface
> from Persistence import Persistent
> from Zope.PageTemplate.PageTemplate import PageTemplate
> from Zope.App.Security.IAttributeRolePermissionManageable \
> import IAttributeRolePermissionManageable
>
>
> class IZPTPage(Interface):
> """ZPT Pages are a persistent implementation of Page Templates.
>
> Note: I introduced some new methods whose functionality is
> actually already covered by some other methods but I
> want to start inforcing a common coding standard.
> """
>
> def setSource(text):
> """Save the source of the page template.
> """
>
>
> def getSource():
> """Get the source of the page template.
> """
>
>
>
> class ZPTPage(Persistent, PageTemplate):
> """ """
>
> __implements__ =3D IZPTPage
>
>
> def __init__(self, text=3D''):
> """ """
> self.setSource(text)
>
>
> ############################################################
> # Implementation methods for interface
> # Zope.App.OFS.ZPTPage.ZPTPage.IZPTPage
>
> def getSource(self):
> '''See interface IZPTPage'''
> return self.read()
>
>
> def setSource(self, text):
> '''See interface IZPTPage'''
> self.pt_edit(text, 'text/html')
>
> #
> ############################################################
>
> _need__name__=3D1
> _v_last_read =3D 0
>
> _default_bindings =3D {'name_subpath': 'traverse_subpath'}
>
>
>
> =3D=3D=3D Added File Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPage.pyc =
=3D=3D=3D
> -=C3=8C
> =C3=B5=C2=A5K<c=00=00=00=00=03=00=00=00s|=00=00=00=7F=00=00=7F=08=00d=00=
=00k=00=00l=00=00Z=00=00=01=7F =00d=01=00k=01=00l=02=00Z=02=00=01=7F
> =00d=02=00k=03=00l=04=00Z=04=00=01=7F=0B=
=00d=03=00k=05=00l=06=00Z=06=00=01=7F=0F=00d=04=00e=00=00f=01=00d=05=00=C3=
=91=00=00=C3=89=00=00YZ=07=00=7F"=00d=06=00e=02=00e=04=00f=02=00d=07=00=C3=
=91=00
> =00=C3=89=00=00YZ=08=00d=08=00S( =00=00=00(=01=00=00=00s =
=00=00=00Interface(=01=00=00=00s
> =00=00=00Persistent(=01=00=00=00s=0C=
=00=00=00PageTemplate(=01=00=00=00s"=00=00=00IAttributeRolePermissionManag=
eables=08
> =
=00=00=00IZPTPagec=00=00=00=00=01=00=02=00s&=00=00=00=7F=0F=00d=00=00Z=00=00=
=7F=15=00=7F=17=00d=01=00=C3=91=00=00Z=01=00=7F=1C=00d=02=00=C3=91=00=00Z=02=
=00RS(=03=00=00=00s=05=01=00=00ZPT=20
> Pages are a persistent implementation of Page Templates.
>
> Note: I introduced some new methods whose functionality is
> actually already covered by some other methods but I
> want to start inforcing a common coding standard.
> c=01=00=01=00=01=00=03=00s
> =00=00=00=7F=17=00=7F=19=00d=01=00S(=02=00=00=00s.=00=00=00Save the =
source of the page template.
> =
N(=00=00=00=00(=01=00=00=00s=04=00=00=00text(=00=00=00=00(=00=00=00=00s5=00=
=00=00/opt/Zope3/lib/python/Zope/App/
> OFS/ZPTPage/ZPTPage.pys =00=00=00setSource=17=00s=02=00=00=00=03=02=
c=00=00=00=00=01=00=03=00s
> =00=00=00=7F=1C=00=7F=1E=00d=01=00S(=02=00=00=00s-=00=00=00Get the =
source of the page template.
> =20
> =
N(=00=00=00=00(=00=00=00=00(=00=00=00=00(=00=00=00=00s5=00=00=00/opt/Zope3=
/lib/python/Zope/App/OFS/ZPTPage/ZPTPage.
> pys =00=00=00getSource=1C=00s=02=00=00=00=03=02(=03=00=00=00s=07=00=00=
=00__doc__s =00=00=00setSources =00=00=00getSource(=00=00=00=00(=00=
=00=00=00(=00=00=00=00s5=00
> =
=00=00/opt/Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPage.pys=08=00=00=00IZ=
PTPage=0F=00s=06=00=00=00
> =06=03=02=0C=
=05s=07=00=00=00ZPTPagec=00=00=00=00=04=00=02=00sb=00=00=00=7F"=00d=00=00Z=
=00=00=7F#=00=7F%=00e=01=00Z=02=00=7F(=00d=01=00d=02=00=C3=91=01=00Z=03=00=
=7F1=00d=03
> =00=C3=91=00=00Z=04=00=7F6=00d=04=00=C3=91=00=00Z=05=00=7F=3D=00d=05=00Z=
=06=00=7F>=00d=06=00Z=07=00=7F@=00h=00=00=04d=07=00=02d=08=00<Z=08=00RS( =
=00=00=00s=01=00=00=00 s=00=00=00=00c=02
> =00=02=00=02=00=03=00s=1A=00=00=00=7F(=00=7F)=00=7F*=00|=00=00i=01=00|=01=
=00=C3=89=01=00=01d=01=00S(=02=00=00=00s=01=00=00=00 N(=03=00=00=00s=04=00=
=00=00selfs =00=00=00setSources=04
> =
=00=00=00text(=02=00=00=00s=04=00=00=00selfs=04=00=00=00text(=00=00=00=00(=
=00=00=00=00s5=00=00=00/opt/Zope3/lib/python/Zope/App/
> =
OFS/ZPTPage/ZPTPage.pys=08=00=00=00__init__(=00s=04=00=00=00=03=01=03=01c=01=
=00=01=00=01=00=03=00s=17=00=00=00=7F1=00=7F2=00=7F3=00|=00=00i=01
> =00=C3=89=00=00Sd=01=00S(=02=00=00=00s=16=00=00=00See interface=20
> =
IZPTPageN(=02=00=00=00s=04=00=00=00selfs=04=00=00=00read(=01=00=00=00s=04=00=
=00=00self(=00=00=00=00(=00=00=00=00s5=00=00=00/opt/Zope3/lib/
> python/Zope/App/OFS/ZPTPage/ZPTPage.pys =
=00=00=00getSource1=00s=04=00=00=00=03=01=03=01c=02=00=02=00=03=00=03=00s=1D=
> =00=00=00=7F6=00=7F7=00=7F8=00|=00=00i=01=00|=01=00d=01=00=C3=89=02=00=01=
d=02=00S(=03=00=00=00s=16=00=00=00See interface IZPTPages =00=00=00t=
ext/
> =
htmlN(=03=00=00=00s=04=00=00=00selfs=07=00=00=00pt_edits=04=00=00=00text(=02=
=00=00=00s=04=00=00=00selfs=04=00=00=00text(=00=00=00=00(=00=00=00=00s5=00=
> =00=00/opt/Zope3/lib/python/Zope/A!
> pp/OFS/ZPTPage/ZPTPage.pys
> =00=00=00setSource6=00s=04=00=00=00=03=01=03=01i=01=00=00=00i=00=00=
=00=00s=10=00=00=00traverse_subpaths=0C=00=00=00name_subpath(
> =00=00=00s=07=00=00=00__doc__s=08=00=00=00IZPTPages=0E=00=00=00__i=
mplements__s=08=00=00=00__init__s =00=00=00getSources=09
> =00=00=00setSources
> =00=00=00_need__name__s=0C=
=00=00=00_v_last_reads=11=00=00=00_default_bindings(=00=00=00=00(=00=00=00=
=00(=00=00=00=00s5=00
> =
=00=00/opt/Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPage.pys=07=00=00=00ZP=
TPage"=00s=10=00=00=00 =01=03=02 =03=0F =0C=05=0C=07 =01 =
=02N(
> =00=00=00s =00=00=00Interfaces=0B=00=00=00Persistences
> =00=00=00Persistents=1E=00=00=00Zope.PageTemplate.PageTemplates=0C=
=00=00=00PageTemplates4=00=00=00Zope.
> =
App.Security.IAttributeRolePermissionManageables"=00=00=00IAttributeRolePe=
rmissionManageables=08
> =00=00=00IZPTPages=07=00=00=00ZPTPage(=06=00=00=00s"=00=00=00IAttributeR=
olePermissionManageables =00=00=00Interfaces=08
> =00=00=00IZPTPages=07=00=00=00ZPTPages
> =00=00=00Persistents=0C=
=00=00=00PageTemplate(=00=00=00=00(=00=00=00=00s5=00=00=00/opt/Zope3/lib/p=
ython/Zope/App/
> OFS/ZPTPage/ZPTPage.pys=01=00=00=00?=08=00s
> =00=00=00=13=01=10=01=10=01=10=04=19=13
>
> =3D=3D=3D Added File =
Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPageEdit.py =3D=3D=3D
> # This software is subject to the provisions of the Zope Public =
License,
> # Version 1.1 (ZPL). A copy of the ZPL should accompany this=20
> distribution.
> # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
> # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE =
IMPLIED
> # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND =
FITNESS
> # FOR A PARTICULAR PURPOSE.
>
> """
> Define view component for ZPT page editing.
> """
>
> from Zope.Publisher.Browser.AttributePublisher import =
AttributePublisher
> from Zope.PageTemplate.PageTemplateFile import PageTemplateFile
>
>
> class ZPTPageEdit( AttributePublisher ):
>
> __implements__ =3D AttributePublisher.__implements__
>
> def __init__( self, zptpage ):
> self._zptpage =3D zptpage
>
>
> def editAction(self, source, REQUEST=3DNone):
> zptpage =3D self.getContext()
> zptpage.setSource(source)
>
> if REQUEST is not None:
> return self.index(REQUEST, msg=3D'ZPT Page Edited.')
>
>
> def getContext( self ):
> return self._zptpage
>
> index =3D PageTemplateFile('edit.pt')
>
>
>
> =3D=3D=3D Added File =
Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPageEdit.pyc =3D=3D=3D
> -=C3=8C
> =C2=AC=C3=B9K<c=00=00=00=00=03=00=00=00sI=00=00=00=7F=00=00d=00=00Z=00=00=
=7F
> =00=7F=0C=00d=01=00k=01=00l=02=00Z=02=00=01=7F
> =00d=02=00k=03=00l=04=00Z=04=00=01=7F=10=00d=03=00e=02=00f=01=00d=04=00=C3=
=91=00=00=C3=89=00=00YZ=05=00d=05=00S(=06=00=00=00s1=00=00=00
> Define view component for ZPT page editing.
> (=01=00=00=00s=12=00=00=00AttributePublisher(=01=00=00=00s=10=00=00=00Pa=
geTemplateFiles=0B=00=00=00ZPTPageEditc=00=00=00=00=02=00=02=00sG=00
> =00=00=7F=10=00=7F=12=00e=00=00i=01=00Z=01=00=7F=14=00d=01=00=C3=91=00=00=
Z=02=00=7F=18=00e=03=00d=02=00=C3=91=01=00Z=04=00=7F =
=00d=03=00=C3=91=00=00Z=05=00=7F#=00e=06=00d=04=00=C3=89=01=00Z=07=00RS(
> =
=05=00=00=00Nc=02=00=02=00=02=00=03=00s=13=00=00=00=7F=14=00=7F=15=00|=01=00=
|=00=00_=02=00d=00=00S(=01=00=00=00N(=03=00=00=00s=07=00=00=00zptpages=04=00=
=00=00selfs=08=00=00=00_zptpage(
> =
=02=00=00=00s=04=00=00=00selfs=07=00=00=00zptpage(=00=00=00=00(=00=00=00=00=
s9=00=00=00/opt/Zope3/lib/python/Zope/App/OFS/
> =
ZPTPage/ZPTPageEdit.pys=08=00=00=00__init__=14=00s=02=00=00=00=03=01c=03=00=
=04=00=04=00=03=00sP=00=00=00=7F=18=00=7F=19=00|=00=00i=01=00=C3=89=00=00}=
=03=00=7F=1A=00|=03=00i=03
> =00|=01=00=C3=89=01=00=01=7F=1C=00|=02=00t=06=00j
> =00o=1A=00=01=7F=1D=00|=00=00i=07=00|=02=00d=01=00d=02=00=C3=89=01=
=01Sn=01=00=01d=00=00S(=03=00=00=00Ns=03=00=00=00msgs=10=00=00=00ZPT =
Page=20
> Edited.(=08=00=00=00s=04=00=00=00selfs
> =00=00=00getContexts=07=00=00=00zptpages =
=00=00=00setSources=06=00=00=00sources=07=00=00=00REQUESTs=04=00=00=00None=
s=05
> =
=00=00=00index(=04=00=00=00s=04=00=00=00selfs=06=00=00=00sources=07=00=00=00=
REQUESTs=07=00=00=00zptpage(=00=00=00=00(=00=00=00=00s9=00=00=00/opt/
> Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPageEdit.pys
> =00=00=00editAction=18=00s=08=00=00=00=03=01=0F=01=10=02=10=01c=01=00=01=
=00=01=00=03=00s=11=00=00=00=7F=20
> =
=00=7F!=00|=00=00i=01=00Sd=00=00S(=01=00=00=00N(=02=00=00=00s=04=00=00=00s=
elfs=08=00=00=00_zptpage(=01=00=00=00s=04=00=00=00self(=00=00=00=00(=00=00=
=00=00s9=00
> =00=00/opt/Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPageEdit.pys
> =00=00=00getContext=20
> =
=00s=02=00=00=00=03=01s=07=00=00=00edit.pt(=08=00=00=00s=12=00=00=00Attrib=
utePublishers=0E=00=00=00__implements__s=08=00=00=00__init__s=04
> =00=00=00Nones
> =00=00=00editActions
> =
=00=00=00getContexts=10=00=00=00PageTemplateFiles=05=00=00=00index(=00=00=00=
=00(=00=00=00=00(=00=00=00=00s9=00=00=00/opt/Zope3/
> lib/python/Zope/App/OFS/ZPTPage/ZPTPageEdit.pys=0B=00=00=00ZPTPageEdit=10=
=00s
> =00=00=00=03=02=0C=02=0C=04=0F=08=0C=
=03N(=06=00=00=00s=07=00=00=00__doc__s)=00=00=00Zope.Publisher.Browser.Att=
ributePublishers=12
> =
=00=00=00AttributePublishers"=00=00=00Zope.PageTemplate.PageTemplateFiles=10=
=00=00=00PageTemplateFiles=0B
> =00=00=00ZPTPageEdit(=03=00=00=00s=12=00=00=00AttributePublishers=0B=
=00=00=00ZPTPageEdits=10=00=00=00PageTemplateFile(
> =
=00=00=00=00(=00=00=00=00s9=00=00=00/opt/Zope3/lib/python/Zope/App/OFS/ZPT=
Page/ZPTPageEdit.pys=01
> =00=00=00?
> =00s=06=00=00=00=0C=02=10=01=10=03
>
> =3D=3D=3D Added File =
Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPageEval.py =3D=3D=3D
> # This software is subject to the provisions of the Zope Public =
License,
> # Version 1.1 (ZPL). A copy of the ZPL should accompany this=20
> distribution.
> # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
> # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE =
IMPLIED
> # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND =
FITNESS
> # FOR A PARTICULAR PURPOSE.
>
> """
> Define view component for ZPT page eval results.
> """
>
> from Zope.Publisher.Browser.AttributePublisher import =
AttributePublisher
> from Zope.PageTemplate.Expressions import SecureModuleImporter
>
>
> class ZPTPageEval( AttributePublisher ):
>
> __implements__ =3D AttributePublisher.__implements__
>
> def __init__( self, zptpage ):
> self._zptpage =3D zptpage
>
>
> def getContext( self ):
> return self._zptpage
>
>
> def pt_getContext(self, inst=3DNone, REQUEST=3DNone):
> #root =3D self.getPhysicalRoot()
> c =3D {'template': self.getContext(),
> 'nothing': None,
> #XXX 'root': root,
> 'modules': SecureModuleImporter,
> }
> if inst is not None:
> c['here'] =3D inst.getContext()
> c['container'] =3D inst
> c['views'] =3D ViewMapper(inst.getContext(), REQUEST)
> return c
>
>
> def index(self, inst=3DNone, REQUEST=3DNone, **kw):
> """Call a Page Template"""
> bound_names =3D {}
> bound_names.update(self.pt_getContext(inst, REQUEST))
> bound_names['options'] =3D kw
> bound_names['request'] =3D REQUEST
>
> try:
> self.REQUEST.RESPONSE.setHeader('content-type',
> =
self.getContect.content_type)
> except AttributeError:
> pass
>
> # Execute the template in a new security context.
> self.getContext()._cook()
> return self.getContext().pt_render(extra_context=3Dbound_names)
>
>
> def document_src(self, REQUEST=3DNone, RESPONSE=3DNone):
> """Return expanded document source."""
>
> if RESPONSE is not None:
> RESPONSE.setHeader('Content-Type', self.content_type)
> return self.read()
>
>
>
> =3D=3D=3D Added File =
Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPageEval.pyc =3D=3D=3D
> -=C3=8C
> =C3=A6=E2=89=A5K<c=00=00=00=00=03=00=00=00sI=00=00=00=7F=00=00d=00=00Z=00=
=00=7F
> =00=7F=0C=00d=01=00k=01=00l=02=00Z=02=00=01=7F
> =00d=02=00k=03=00l=04=00Z=04=00=01=7F=10=00d=03=00e=02=00f=01=00d=04=00=C3=
=91=00=00=C3=89=00=00YZ=05=00d=05=00S(=06=00=00=00s6=00=00=00
> Define view component for ZPT page eval results.
> (=01=00=00=00s=12=00=00=00AttributePublisher(=01=00=00=00s=14=00=00=00Se=
cureModuleImporters=0B=00=00=00ZPTPageEvalc=00
> =
=00=00=00=03=00=02=00s_=00=00=00=7F=10=00=7F=12=00e=00=00i=01=00Z=01=00=7F=
=14=00d=01=00=C3=91=00=00Z=02=00=7F=18=00d=02=00=C3=91=00=00Z=03=00=7F=1C=00=
e=04=00e=04=00d=03=00=C3=91=02=00Z=05=00=7F*=00e=04
> =
=00e=04=00d=04=00=C3=91=02=00Z=06=00=7F<=00e=04=00e=04=00d=05=00=C3=91=02=00=
Z=07=00RS(=06=00=00=00Nc=02=00=02=00=02=00=03=00s=13=00=00=00=7F=14=00=7F=15=
=00|=01=00|=00=00_=02=00d=00=00S(
> =
=01=00=00=00N(=03=00=00=00s=07=00=00=00zptpages=04=00=00=00selfs=08=00=00=00=
_zptpage(=02=00=00=00s=04=00=00=00selfs=07=00=00=00zptpage(=00=00=00=00(=00=
=00=00=00s9=00
> =
=00=00/opt/Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPageEval.pys=08=00=00=00=
__init__=14=00s=02
> =
=00=00=00=03=01c=01=00=01=00=01=00=03=00s=11=00=00=00=7F=18=00=7F=19=00|=00=
=00i=01=00Sd=00=00S(=01=00=00=00N(=02=00=00=00s=04=00=00=00selfs=08=00=00=00=
_zptpage(=01=00=00=00s=04
> =
=00=00=00self(=00=00=00=00(=00=00=00=00s9=00=00=00/opt/Zope3/lib/python/Zo=
pe/App/OFS/ZPTPage/ZPTPageEval.
> pys
> =
=00=00=00getContext=18=00s=02=00=00=00=03=01c=03=00=04=00=04=00=03=00s=C3=A0=
=00=00=00=7F=1C=00=7F=1E=00h=00=00=04|=00=00i=01=00=C3=89=00=00=02d=01=00<=
=04t=02=00=02d=02=00<=04t=03=00=02d=03
> =00<}=03=00=7F#=00|=01=00t=02=00j =
=00o@=00=01=7F$=00|=01=00i=01=00=C3=89=00=00|=03=00d=04=00<=7F%=00|=01=00|=
=03=00d=05=00<=7F&=00t=06=00|=01=00i=01=00=C3=89=00=00|=02=00=C3=89=02
> =
=00|=03=00d=06=00<n=01=00=01=7F'=00|=03=00Sd=00=00S(=07=00=00=00Ns=08=00=00=
=00templates=07=00=00=00nothings=07=00=00=00moduless=04=00=00=00heres=09
> =00=00=00containers=05=00=00=00views(=08=00=00=00s=04=00=00=00selfs
> =00=00=00getContexts=04=00=00=00Nones=14=00=00=00SecureModuleImporters=01=
=00=00=00cs=04=00=00=00insts
> =
=00=00=00ViewMappers=07=00=00=00REQUEST(=04=00=00=00s=04=00=00=00selfs=04=00=
=00=00insts=07=00=00=00REQUESTs=01=00=00=00c(=00=00=00=00(=00=00=00=00s9=00=
> =00=00/opt/Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPageEval.pys
> =00=00=00pt_getContext=1C=00s=0C=00=00=00=03=02*=05=10=01=13=01
> =01=20
> =01c=03=00=05=00=05=00=0B=
=00s=E2=88=AB=00=00=00=7F*=00=7F+=00=7F,=00h=00=00}=04=00=7F-=00|=04=00i=01=
=00|=00=00i=03=00|=01=00|=02=00=C3=89=02=00=C3=89=01=00=01=7F.=00|=03=00|=04=
=00d=01=00<=7F/=00|=02=00|=04=00d=02
> =00<=7F1=00y&=00=7F2=00|=00=00i=05=00i=07=00i=08=00d=03=00=7F3=00|=00=00=
i =00i
> =00=C3=89=02=00=01Wn=19=00=7F4=00=04t=0B=00j
> =00o
> =00=01=01=01=01=7F5=00n=02=00=01X=7F8=00|=00=00i=0C=00=C3=89=00=00i
> =00=C3=89=00=00=01=7F9=00|=00=00i=0C=
=00=C3=89=00=00i=0E=00d=04=00|=04=00=C3=89=00=01Sd=05=00S(=06=00=00=00s=14=
=00=00=00Call a Page Templates=07=00=00=00optionss=07
> =00=00=00requests=0C=00=00=00content-types
> =00=00=00extra_contextN(=0F=00=00=00s=0B=
=00=00=00bound_namess=06=00=00=00updates=04=00=00=00selfs
> =00=00=00pt_getContexts=04=00=00=00insts=07=00=00=00REQUESTs=02=00=00=00=
kws=08=00=00=00RESPONSEs =00=00=00setHeaders
> =00=00=00getContects=0C=00=00=00content_types=0E=00=00=00AttributeErrors=
> =00=00=00getContexts=05=00=00=00_cooks
> =00=00=00pt_render(=05=00=00=00s=04=00=00=00selfs=04=00=00=00insts=
=07=00=00=00REQUESTs=02=00=00=00kws=0B=00=00=00bound_names(=00=00=00=00(=00=
=00=00=00s9=00
> =
=00=00/opt/Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPageEval.pys=05=00=00=00=
index*=00s=18
> =00=00=00=03=01=03=01 =01=1C=01
> =01
> =02=06=01=12=01=14=01=11=01=08=03=13=01c=03=00=03=00=03=00=03=00sA=00=00=
=00=7F<=00=7F=3D=00=7F?=00|=02=00t=01=00j =
=00o=1A=00=01=7F@=00|=02=00i=02=00d=01=00|=00=00i=04=00=C3=89=02=00=01n=01=
> =00=01=7FA=00|=00=00i=05=00=C3=89=00=00Sd=02=00S(=03=00=00=00s =
=00=00=00Return expanded document source.s=0C=00=00=00Content-TypeN(
> =06=00=00=00s=08=00=00=00RESPONSEs=04=00=00=00Nones =
=00=00=00setHeaders=04=00=00=00selfs=0C=00=00=00content_types=04=00=00=00r=
ead(
> =
=03=00=00=00s=04=00=00=00selfs=07=00=00=00REQUESTs=08=00=00=00RESPONSE(=00=
=00=00=00(=00=00=00=00s9=00=00=00/opt/Zope3/lib/python/
> Zope/App/OFS/ZPTPage/ZPTPageEval.pys=0C=
=00=00=00document_src<=00s=08=00=00=00=03=01=03=02=10=01=1A=01(=08=00=00=00=
s=12
> =00=00=00AttributePublishers=0E=00=00=00__implements__s=08=00=00=00__ini=
t__s
> =00=00=00getContexts=04=00=00=00Nones
> =00=00=00pt_getContexts=05=00=00=00indexs=0C=
=00=00=00document_src(=00=00=00=00(=00=00=00=00(=00=00=00=00s9=00=00=00/op=
t/Zope3/
> lib/python/Zope/App/OFS/ZPTPage/ZPTPageEval.pys=0B=00=00=00ZPTPageEval=10=
=00s=0C=00=00=00=03=02=0C=02=0C=04=0C=04=12=0E=12=12N(
> =
=06=00=00=00s=07=00=00=00__doc__s)=00=00=00Zope.Publisher.Browser.Attribut=
ePublishers=12=00=00=00AttributePublishers=1D
> =00=00=00Zope.PageTemplate.Expressionss=14=00=00=00SecureModuleImporters=
=0B=00=00=00ZPTPageEval(
> =03=00=00=00s=14=00=00=00SecureModuleImporters=12=00=00=00AttributePubli=
shers=0B=00=00=00ZPTPageEval(=00=00=00=00(=00=00=00=00s9=00
> =00=00/opt/Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPageEval.pys=01=00=00=
=00?
> =00s=06=00=00=00=0C=02=10=01=10=03
>
> =3D=3D=3D Added File Zope3/lib/python/Zope/App/OFS/ZPTPage/__init__.py =
=3D=3D=3D
>
>
> =3D=3D=3D Added File =
Zope3/lib/python/Zope/App/OFS/ZPTPage/__init__.pyc =3D=3D=3D
> -=C3=8C
> =
EaK<c=00=00=00=00=01=00=00=00s=07=00=00=00=7F=00=00d=00=00S(=01=00=00=00N(=
=00=00=00=00(=00=00=00=00(=00=00=00=00(=00=00=00=00s6=00=00=00/opt/Zope3/l=
ib/python/
> Zope/App/OFS/ZPTPage/__init__.pys=01=00=00=00?=00=00s=00=00=00=00
>
> =3D=3D=3D Added File Zope3/lib/python/Zope/App/OFS/ZPTPage/edit.pt =3D=3D=
=3D
> <html metal:use-macro=3D"views/standard_macros/page">
> <head>
> <style metal:fill-slot=3D"headers" type=3D"text/css">
> <!--
> .ContentIcon {
> width: 20px;
> }
>
> .ContentTitle {
> text-align: left;
> }
> -->
> </style>
> </head>
>
> <body>
> <div metal:fill-slot=3D"body">
>
>
> <p tal:content=3D"options/msg | nothing">
> Message will go here.
> </p>
>
> <form action=3D"editAction" method=3D"post"=20
> enctype=3D"multipart/form-data">
>
> <table class=3D"EditTable">
> <tbody>
>
> <tr>
> <th class=3D"EditAttributeName">Source</th>
> <td class=3D"EditAttributeValue">
> <textarea name=3D"source" cols=3D"80" rows=3D"10"
> tal:content=3D"here/getSource">Source</textarea>=
> </td>
> </tr>
>
> </tbody>
> </table>
>
> <input type=3D"submit" name=3D"edit" value=3D"Save Changes">
>
> </form>
>
> </div>
> </body>
> </html>
>
>
>
>
> _______________________________________________
> Zope-Checkins maillist - Zope-Checkins@zope.org
> http://lists.zope.org/mailman/listinfo/zope-checkins