[Erp5-report] r23223 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Aug 28 14:10:16 CEST 2008


Author: ivan
Date: Thu Aug 28 14:10:02 2008
New Revision: 23223

URL: http://svn.erp5.org?rev=23223&view=rev
Log:
Tab's renderers should return charset as they are (usually!) asynchronously loaded in order to explicitly define charser for browser.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderContributionDialog.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderDocumentCreationActionList.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderDocumentSearchActionList.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderExchangeActionList.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderPrintActionList.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderQuickSearchDialog.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderReportActionList.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderViewActionList.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderContributionDialog.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderContributionDialog.xml?rev=23223&r1=23222&r2=23223&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderContributionDialog.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderContributionDialog.xml Thu Aug 28 14:10:02 2008
@@ -52,7 +52,9 @@
             <value> <string encoding="cdata"><![CDATA[
 
 <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
-           xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n
+           xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
+  tal:define="dummy python: request.RESPONSE.setHeader(\'Content-Type\', \n
+                                                       \'text/html;; charset=utf-8\');">\n
   <div class="fieldset hidden_label">\n
     \n
     <div>\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderDocumentCreationActionList.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderDocumentCreationActionList.xml?rev=23223&r1=23222&r2=23223&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderDocumentCreationActionList.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderDocumentCreationActionList.xml Thu Aug 28 14:10:02 2008
@@ -54,8 +54,10 @@
 <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
            xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
            tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n
-           module_category_list info_dict/add | nothing;\n
-           dummy python:module_category_list.sort()">\n
+                       module_category_list info_dict/add | nothing;\n
+                       dummy python:module_category_list.sort();\n
+                       dummy python: request.RESPONSE.setHeader(\'Content-Type\', \n
+                                                                \'text/html;; charset=utf-8\');">\n
   <table tal:define="max_per_line python: 4;\n
                     cell_number python: len(module_category_list);\n
                     row_number python: (cell_number/max_per_line+1)">\n
@@ -117,6 +119,12 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>uid</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderDocumentSearchActionList.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderDocumentSearchActionList.xml?rev=23223&r1=23222&r2=23223&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderDocumentSearchActionList.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderDocumentSearchActionList.xml Thu Aug 28 14:10:02 2008
@@ -54,8 +54,10 @@
 <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
            xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
            tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n
-           module_category_list info_dict/search;\n
-           dummy python:module_category_list.sort()">\n
+                       module_category_list info_dict/search;\n
+                       dummy python:module_category_list.sort();\n
+                       dummy python: request.RESPONSE.setHeader(\'Content-Type\', \n
+                                                                \'text/html;; charset=utf-8\');">\n
   <table tal:define="max_per_line python: 4;\n
          cell_number python: len(module_category_list);\n
          row_number python: (cell_number/max_per_line+1)">\n
@@ -120,6 +122,12 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>uid</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderExchangeActionList.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderExchangeActionList.xml?rev=23223&r1=23222&r2=23223&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderExchangeActionList.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderExchangeActionList.xml Thu Aug 28 14:10:02 2008
@@ -54,8 +54,10 @@
 <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
            xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
            tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n
-           module_category_list info_dict/exchange;\n
-           dummy python:module_category_list.sort()">\n
+                       module_category_list info_dict/exchange;\n
+                       dummy python:module_category_list.sort();\n
+                       dummy python: request.RESPONSE.setHeader(\'Content-Type\', \n
+                                                                \'text/html;; charset=utf-8\');">\n
   <table tal:define="max_per_line python: 4;\n
          cell_number python: len(module_category_list);\n
          row_number python: (cell_number/max_per_line+1)">\n
@@ -120,6 +122,12 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>uid</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderPrintActionList.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderPrintActionList.xml?rev=23223&r1=23222&r2=23223&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderPrintActionList.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderPrintActionList.xml Thu Aug 28 14:10:02 2008
@@ -54,8 +54,10 @@
 <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
            xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
            tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n
-           module_category_list info_dict/print;\n
-           dummy python:module_category_list.sort()">\n
+                       module_category_list info_dict/print;\n
+                       dummy python:module_category_list.sort();\n
+                       dummy python: request.RESPONSE.setHeader(\'Content-Type\', \n
+                                                                \'text/html;; charset=utf-8\');">\n
   <table tal:define="max_per_line python: 4;\n
          cell_number python: len(module_category_list);\n
          row_number python: (cell_number/max_per_line+1)">\n
@@ -120,6 +122,12 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>uid</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderQuickSearchDialog.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderQuickSearchDialog.xml?rev=23223&r1=23222&r2=23223&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderQuickSearchDialog.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderQuickSearchDialog.xml Thu Aug 28 14:10:02 2008
@@ -52,7 +52,9 @@
             <value> <string encoding="cdata"><![CDATA[
 
 <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
-           xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n
+           xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
+  tal:define="dummy python: request.RESPONSE.setHeader(\'Content-Type\', \n
+                                                       \'text/html;; charset=utf-8\');">\n
   <div>\n
     <input type="text" size="40" name="new_advanced_search_text" id="SearchableText" class="autofocus"/>\n
     <tal:block i18n:translate="" i18n:domain="ui">in</tal:block>\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderReportActionList.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderReportActionList.xml?rev=23223&r1=23222&r2=23223&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderReportActionList.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderReportActionList.xml Thu Aug 28 14:10:02 2008
@@ -54,8 +54,10 @@
 <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
            xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
            tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n
-           module_category_list info_dict/report;\n
-           dummy python:module_category_list.sort()">\n
+                       module_category_list info_dict/report;\n
+                       dummy python:module_category_list.sort();\n
+                       dummy python: request.RESPONSE.setHeader(\'Content-Type\', \n
+                                                       \'text/html;; charset=utf-8\');">\n
   <table tal:define="max_per_line python: 4;\n
          cell_number python: len(module_category_list);\n
          row_number python: (cell_number/max_per_line+1)">\n
@@ -120,6 +122,12 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>uid</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderViewActionList.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderViewActionList.xml?rev=23223&r1=23222&r2=23223&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderViewActionList.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderViewActionList.xml Thu Aug 28 14:10:02 2008
@@ -54,8 +54,10 @@
 <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
            xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
            tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n
-           module_category_list info_dict/view;\n
-           dummy python:module_category_list.sort()">\n
+                       module_category_list info_dict/view;\n
+                       dummy python:module_category_list.sort();\n
+                       dummy python: request.RESPONSE.setHeader(\'Content-Type\', \n
+                                                       \'text/html;; charset=utf-8\');">\n
   <table tal:define="max_per_line python: 4;\n
                      cell_number python: len(module_category_list);\n
                      row_number python: (cell_number/max_per_line+1)">\n
@@ -102,6 +104,12 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>uid</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=23223&r1=23222&r2=23223&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Thu Aug 28 14:10:02 2008
@@ -1,1 +1,1 @@
-586
+587




More information about the Erp5-report mailing list