Commit 7d4542a9 authored by Ivan Tyagov's avatar Ivan Tyagov

Tab's renderers should return charset as they are (usually!) asynchronously...

Tab's renderers should return charset as they are (usually!) asynchronously loaded in order to explicitly define charser for browser.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23223 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent da77fcc8
...@@ -52,7 +52,9 @@ ...@@ -52,7 +52,9 @@
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n <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 <div class="fieldset hidden_label">\n
\n \n
<div>\n <div>\n
......
...@@ -55,7 +55,9 @@ ...@@ -55,7 +55,9 @@
xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n
module_category_list info_dict/add | nothing;\n module_category_list info_dict/add | nothing;\n
dummy python:module_category_list.sort()">\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 <table tal:define="max_per_line python: 4;\n
cell_number python: len(module_category_list);\n cell_number python: len(module_category_list);\n
row_number python: (cell_number/max_per_line+1)">\n row_number python: (cell_number/max_per_line+1)">\n
...@@ -117,6 +119,12 @@ ...@@ -117,6 +119,12 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -55,7 +55,9 @@ ...@@ -55,7 +55,9 @@
xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n
module_category_list info_dict/search;\n module_category_list info_dict/search;\n
dummy python:module_category_list.sort()">\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 <table tal:define="max_per_line python: 4;\n
cell_number python: len(module_category_list);\n cell_number python: len(module_category_list);\n
row_number python: (cell_number/max_per_line+1)">\n row_number python: (cell_number/max_per_line+1)">\n
...@@ -120,6 +122,12 @@ ...@@ -120,6 +122,12 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -55,7 +55,9 @@ ...@@ -55,7 +55,9 @@
xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n
module_category_list info_dict/exchange;\n module_category_list info_dict/exchange;\n
dummy python:module_category_list.sort()">\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 <table tal:define="max_per_line python: 4;\n
cell_number python: len(module_category_list);\n cell_number python: len(module_category_list);\n
row_number python: (cell_number/max_per_line+1)">\n row_number python: (cell_number/max_per_line+1)">\n
...@@ -120,6 +122,12 @@ ...@@ -120,6 +122,12 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -55,7 +55,9 @@ ...@@ -55,7 +55,9 @@
xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n
module_category_list info_dict/print;\n module_category_list info_dict/print;\n
dummy python:module_category_list.sort()">\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 <table tal:define="max_per_line python: 4;\n
cell_number python: len(module_category_list);\n cell_number python: len(module_category_list);\n
row_number python: (cell_number/max_per_line+1)">\n row_number python: (cell_number/max_per_line+1)">\n
...@@ -120,6 +122,12 @@ ...@@ -120,6 +122,12 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -52,7 +52,9 @@ ...@@ -52,7 +52,9 @@
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n <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 <div>\n
<input type="text" size="40" name="new_advanced_search_text" id="SearchableText" class="autofocus"/>\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 <tal:block i18n:translate="" i18n:domain="ui">in</tal:block>\n
......
...@@ -55,7 +55,9 @@ ...@@ -55,7 +55,9 @@
xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n
module_category_list info_dict/report;\n module_category_list info_dict/report;\n
dummy python:module_category_list.sort()">\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 <table tal:define="max_per_line python: 4;\n
cell_number python: len(module_category_list);\n cell_number python: len(module_category_list);\n
row_number python: (cell_number/max_per_line+1)">\n row_number python: (cell_number/max_per_line+1)">\n
...@@ -120,6 +122,12 @@ ...@@ -120,6 +122,12 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -55,7 +55,9 @@ ...@@ -55,7 +55,9 @@
xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n tal:define="info_dict here/ERP5Site_getCategorizedModuleActionInformationDict;\n
module_category_list info_dict/view;\n module_category_list info_dict/view;\n
dummy python:module_category_list.sort()">\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 <table tal:define="max_per_line python: 4;\n
cell_number python: len(module_category_list);\n cell_number python: len(module_category_list);\n
row_number python: (cell_number/max_per_line+1)">\n row_number python: (cell_number/max_per_line+1)">\n
...@@ -102,6 +104,12 @@ ...@@ -102,6 +104,12 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
586 587
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment