[Zope-Checkins] CVS: Zope/lib/python/OFS/dtml - properties.dtml:1.8.22.1

Toby Dickenson tdickenson@geminidataloggers.com
Tue, 1 Oct 2002 08:21:50 -0400


Update of /cvs-repository/Zope/lib/python/OFS/dtml
In directory cvs.zope.org:/tmp/cvs-serv15316

Modified Files:
      Tag: toby-unicode-properties-fix-branch
	properties.dtml 
Log Message:
Fix for correct rendering of non-latin-1 string properties in the case where there are no unicode properties around. (is this a workaround for a dtml optimisation). Also a fix for non-latin-1 property names

=== Zope/lib/python/OFS/dtml/properties.dtml 1.8 => 1.8.22.1 ===
--- Zope/lib/python/OFS/dtml/properties.dtml:1.8	Tue May  7 13:54:56 2002
+++ Zope/lib/python/OFS/dtml/properties.dtml	Tue Oct  1 08:21:49 2002
@@ -1,5 +1,5 @@
 <dtml-call "REQUEST.set('management_page_charset','UTF-8')">
-<dtml-var "u''">
+<dtml-var "u' '">
 <dtml-var manage_page_header>
 <dtml-with "_(management_view='Properties')">
 <dtml-var manage_tabs>
@@ -44,7 +44,7 @@
 <tr>
   <td align="left" valign="top" width="16">
   <dtml-if "'d' in _['sequence-item'].get('mode', 'awd')">
-  <input type="checkbox" name="_ids:utf8:list" value="<dtml-var id html_quote>"
+  <input type="checkbox" name="_ids:utf8:string:list" value="<dtml-var id html_quote>"
    id="cb-<dtml-var id>">
   <dtml-else>
   </dtml-if>