[Zope-dev] 2.7 management_page_charset cannot be callable anymore

kf kf at atransia.co.jp
Fri Jan 16 01:05:21 EST 2004


> -----Original Message-----
> > Sorry I have not execute Zope 2.7 or HEAD now.
> > But I think needs not only the patch, 
> > 
> http://cvs.zope.org/Zope/lib/python/OFS/dtml/properties.dtml.d
> iff?r1=1.14&r2=1.15
> > but also below
> [patch to properties.dtml]
> 
> To repeat: patching properties.dtml will never be able to solve the
> backwards compatibility breakage involving management_page_charset not
> being treated as a callable (if possible) anymore.
> 
> It sounds therefore that Hajime and I are talking about two different
> things.

 <dtml-if management_page_charset>
  	     <dtml-comment>
  	     A site-global encoding specification in a property.
  	     Note that this feature only works if there are no unicode
objects
  	     around. This means that this feature is not likely to be
supported
  	     in all future versions of zope.
  	     </dtml-comment>
+               <dtml-call "REQUEST.set(
'management_page_charset',management_page_charset)">
  	     <dtml-call "REQUEST.set('management_page_charset_tag','')">
  	 <dtml-else>

It seems we need one more line ;-)
Without this line, you cannot set management_page_charset form
ZMI-properties tab.

Thanks for all,
Kazuya Fukamachi





More information about the Zope-Dev mailing list