[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/ZPTPage - ZPTPageEval.py:1.1.2.3 edit.pt:1.1.2.2
Steve Alexander
steve@cat-box.net
Mon, 1 Apr 2002 04:53:27 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/ZPTPage
In directory cvs.zope.org:/tmp/cvs-serv17619/lib/python/Zope/App/OFS/ZPTPage
Modified Files:
Tag: Zope-3x-branch
ZPTPageEval.py edit.pt
Log Message:
Changed here -> context and container -> view
as described in http://collector.zope.org/Zope3-dev/43
=== Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPageEval.py 1.1.2.2 => 1.1.2.3 ===
}
if inst is not None:
- c['here'] = inst.getContext()
- c['container'] = inst
+ c['context'] = inst.getContext()
+ c['view'] = inst
c['views'] = ViewMapper(inst.getContext(), REQUEST)
return c
=== Zope3/lib/python/Zope/App/OFS/ZPTPage/edit.pt 1.1.2.1 => 1.1.2.2 ===
<td class="EditAttributeValue">
<textarea name="source" cols="80" rows="10"
- tal:content="here/getSource">Source</textarea>
+ tal:content="context/getSource">Source</textarea>
</td>
</tr>