Log message for revision 40808:
  manage_page_header when called through a ZPT seems to acquire
  the management_page_property from the Application object instead
  from the current context object
  

Changed:
  U   
Zope/branches/ajung-zpt-integration/lib/python/Products/PageTemplates/pt/ptEdit.pt

-=-
Modified: 
Zope/branches/ajung-zpt-integration/lib/python/Products/PageTemplates/pt/ptEdit.pt
===================================================================
--- 
Zope/branches/ajung-zpt-integration/lib/python/Products/PageTemplates/pt/ptEdit.pt
  2005-12-16 12:49:26 UTC (rev 40807)
+++ 
Zope/branches/ajung-zpt-integration/lib/python/Products/PageTemplates/pt/ptEdit.pt
  2005-12-16 13:37:46 UTC (rev 40808)
@@ -1,5 +1,5 @@
 
-<h1 tal:replace="structure python: 
context.manage_page_header(management_page_charset='utf-8')">Header</h1>
+<h1 tal:replace="structure python: 
context.manage_page_header(management_page_charset=context.pt_encoding())">Header</h1>
 <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
     tal:replace="structure context/manage_tabs">Tabs</h2>
 

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to