[Erp5-report] r35538 romain - in /erp5/trunk/bt5/erp5_km: SkinTemplateItem/portal_skins/erp...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri May 21 16:08:01 CEST 2010
Author: romain
Date: Fri May 21 16:08:00 2010
New Revision: 35538
URL: http://svn.erp5.org?rev=35538&view=rev
Log:
Add a new page template for ListBox, in order to unify the display style rendering.
More work is needed to make it replace the page teamplates defined in erp5_xhtml_style.
Work by FX Algrain.
Added:
erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSite_viewAdvancedSearchResultList/listbox_getIconAsHTML.xml
erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSite_viewAdvancedSearchResultList/listbox_getSummaryAsHTML.xml
erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml
Modified:
erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSite_viewAdvancedSearchResultList/listbox.xml
erp5/trunk/bt5/erp5_km/bt/revision
Modified: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSite_viewAdvancedSearchResultList/listbox.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSite_viewAdvancedSearchResultList/listbox.xml?rev=35538&r1=35537&r2=35538&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSite_viewAdvancedSearchResultList/listbox.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSite_viewAdvancedSearchResultList/listbox.xml [utf8] Fri May 21 16:08:00 2010
@@ -309,7 +309,16 @@
<item>
<key> <string>all_columns</string> </key>
<value>
- <list/>
+ <list>
+ <tuple>
+ <string>getIconAsHTML</string>
+ <string>Icon</string>
+ </tuple>
+ <tuple>
+ <string>getSummaryAsHTML</string>
+ <string>Summary</string>
+ </tuple>
+ </list>
</value>
</item>
<item>
@@ -321,6 +330,10 @@
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>anchor</string> </key>
+ <value> <int>0</int> </value>
</item>
<item>
<key> <string>columns</string> </key>
@@ -382,6 +395,12 @@
<value> <string></string> </value>
</item>
<item>
+ <key> <string>display_style_list</string> </key>
+ <value>
+ <list/>
+ </value>
+ </item>
+ <item>
<key> <string>domain_root_list</string> </key>
<value>
<list/>
@@ -403,6 +422,14 @@
<string>thumbnail</string>
<string>Thumbnail</string>
</tuple>
+ <tuple>
+ <string>getIconAsHTML</string>
+ <string>Icon</string>
+ </tuple>
+ <tuple>
+ <string>getSummaryAsHTML</string>
+ <string>Summary</string>
+ </tuple>
</list>
</value>
</item>
@@ -415,6 +442,10 @@
<value> <string></string> </value>
</item>
<item>
+ <key> <string>full_text_search</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
<key> <string>global_attributes</string> </key>
<value>
<list/>
@@ -425,6 +456,10 @@
<value> <int>0</int> </value>
</item>
<item>
+ <key> <string>hide_rows_on_no_search_criterion</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
<key> <string>lines</string> </key>
<value> <int>15</int> </value>
</item>
@@ -465,6 +500,10 @@
<value> <int>0</int> </value>
</item>
<item>
+ <key> <string>row_css_method</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
<key> <string>search</string> </key>
<value> <int>1</int> </value>
</item>
@@ -507,6 +546,12 @@
<item>
<key> <string>title</string> </key>
<value> <string>Search Results</string> </value>
+ </item>
+ <item>
+ <key> <string>untranslatable_columns</string> </key>
+ <value>
+ <list/>
+ </value>
</item>
<item>
<key> <string>url_columns</string> </key>
@@ -523,11 +568,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
- <tuple>
- <string>Products.Formulator.MethodField</string>
- <string>Method</string>
- </tuple>
- <none/>
+ <global name="Method" module="Products.Formulator.MethodField"/>
+ <tuple/>
</tuple>
</pickle>
<pickle>
@@ -542,11 +584,8 @@
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
- <tuple>
- <string>Products.Formulator.MethodField</string>
- <string>Method</string>
- </tuple>
- <none/>
+ <global name="Method" module="Products.Formulator.MethodField"/>
+ <tuple/>
</tuple>
</pickle>
<pickle>
Added: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSite_viewAdvancedSearchResultList/listbox_getIconAsHTML.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSite_viewAdvancedSearchResultList/listbox_getIconAsHTML.xml?rev=35538&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSite_viewAdvancedSearchResultList/listbox_getIconAsHTML.xml (added)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSite_viewAdvancedSearchResultList/listbox_getIconAsHTML.xml [utf8] Fri May 21 16:08:00 2010
@@ -1,0 +1,313 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="EditorField" module="Products.ERP5Form.EditorField"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>listbox_getIconAsHTML</string> </value>
+ </item>
+ <item>
+ <key> <string>message_values</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>external_validator_failed</string> </key>
+ <value> <string>The input failed the external validator.</string> </value>
+ </item>
+ <item>
+ <key> <string>line_too_long</string> </key>
+ <value> <string>A line was too long.</string> </value>
+ </item>
+ <item>
+ <key> <string>required_not_found</string> </key>
+ <value> <string>Input is required but no input given.</string> </value>
+ </item>
+ <item>
+ <key> <string>too_long</string> </key>
+ <value> <string>You entered too many characters.</string> </value>
+ </item>
+ <item>
+ <key> <string>too_many_lines</string> </key>
+ <value> <string>You entered too many lines.</string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ <item>
+ <key> <string>overrides</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>alternate_name</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>css_class</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>default</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>editable</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>enabled</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>external_validator</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>extra</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>height</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>hidden</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_length</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_linelength</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_lines</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>required</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>text_editor</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>unicode</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>whitespace_preserve</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>width</string> </key>
+ <value> <string></string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ <item>
+ <key> <string>tales</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>alternate_name</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>css_class</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>default</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>editable</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>enabled</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>external_validator</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>extra</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>height</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>hidden</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_length</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_linelength</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_lines</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>required</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>text_editor</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>unicode</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>whitespace_preserve</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>width</string> </key>
+ <value> <string></string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ <item>
+ <key> <string>values</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>alternate_name</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>css_class</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>default</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>editable</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>enabled</string> </key>
+ <value> <int>1</int> </value>
+ </item>
+ <item>
+ <key> <string>external_validator</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>extra</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>height</string> </key>
+ <value> <int>5</int> </value>
+ </item>
+ <item>
+ <key> <string>hidden</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>max_length</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_linelength</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_lines</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>required</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>text_editor</string> </key>
+ <value> <string>text_area</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Summary</string> </value>
+ </item>
+ <item>
+ <key> <string>unicode</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>whitespace_preserve</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>width</string> </key>
+ <value> <int>40</int> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+ <record id="2" aka="AAAAAAAAAAI=">
+ <pickle>
+ <tuple>
+ <global name="TALESMethod" module="Products.Formulator.TALESField"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_text</string> </key>
+ <value> <string>python: cell.Base_getIconAsHTML()</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSite_viewAdvancedSearchResultList/listbox_getSummaryAsHTML.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSite_viewAdvancedSearchResultList/listbox_getSummaryAsHTML.xml?rev=35538&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSite_viewAdvancedSearchResultList/listbox_getSummaryAsHTML.xml (added)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSite_viewAdvancedSearchResultList/listbox_getSummaryAsHTML.xml [utf8] Fri May 21 16:08:00 2010
@@ -1,0 +1,313 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="EditorField" module="Products.ERP5Form.EditorField"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>listbox_getSummaryAsHTML</string> </value>
+ </item>
+ <item>
+ <key> <string>message_values</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>external_validator_failed</string> </key>
+ <value> <string>The input failed the external validator.</string> </value>
+ </item>
+ <item>
+ <key> <string>line_too_long</string> </key>
+ <value> <string>A line was too long.</string> </value>
+ </item>
+ <item>
+ <key> <string>required_not_found</string> </key>
+ <value> <string>Input is required but no input given.</string> </value>
+ </item>
+ <item>
+ <key> <string>too_long</string> </key>
+ <value> <string>You entered too many characters.</string> </value>
+ </item>
+ <item>
+ <key> <string>too_many_lines</string> </key>
+ <value> <string>You entered too many lines.</string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ <item>
+ <key> <string>overrides</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>alternate_name</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>css_class</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>default</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>editable</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>enabled</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>external_validator</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>extra</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>height</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>hidden</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_length</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_linelength</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_lines</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>required</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>text_editor</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>unicode</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>whitespace_preserve</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>width</string> </key>
+ <value> <string></string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ <item>
+ <key> <string>tales</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>alternate_name</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>css_class</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>default</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>editable</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>enabled</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>external_validator</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>extra</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>height</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>hidden</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_length</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_linelength</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_lines</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>required</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>text_editor</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>unicode</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>whitespace_preserve</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>width</string> </key>
+ <value> <string></string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ <item>
+ <key> <string>values</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>alternate_name</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>css_class</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>default</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>editable</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>enabled</string> </key>
+ <value> <int>1</int> </value>
+ </item>
+ <item>
+ <key> <string>external_validator</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>extra</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>height</string> </key>
+ <value> <int>5</int> </value>
+ </item>
+ <item>
+ <key> <string>hidden</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>max_length</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_linelength</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>max_lines</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>required</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>text_editor</string> </key>
+ <value> <string>text_area</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Summary</string> </value>
+ </item>
+ <item>
+ <key> <string>unicode</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>whitespace_preserve</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>width</string> </key>
+ <value> <int>40</int> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+ <record id="2" aka="AAAAAAAAAAI=">
+ <pickle>
+ <tuple>
+ <global name="TALESMethod" module="Products.Formulator.TALESField"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_text</string> </key>
+ <value> <string>python: cell.Base_getSummaryAsHTML()</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml?rev=35538&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml (added)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml [utf8] Fri May 21 16:08:00 2010
@@ -1,0 +1,521 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_bind_names</string> </key>
+ <value>
+ <object>
+ <klass>
+ <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+ </klass>
+ <tuple/>
+ <state>
+ <dictionary>
+ <item>
+ <key> <string>_asgns</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>name_subpath</string> </key>
+ <value> <string>traverse_subpath</string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ </dictionary>
+ </state>
+ </object>
+ </value>
+ </item>
+ <item>
+ <key> <string>_text</string> </key>
+ <value> <string encoding="cdata"><![CDATA[
+
+<tal:block\n
+ xmlns:tal="http://xml.zope.org/namespaces/tal"\n
+ xmlns:metal="http://xml.zope.org/namespaces/metal"\n
+ xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
+ tal:define="field_id here/getId;\n
+ form_id python: here.getForm().id;\n
+ selection_name here/getSelectionName;\n
+ selection here/getSelection;\n
+ real_context here/getContext;\n
+ portal_url_string here/getPortalUrlString;\n
+ context_url real_context/absolute_url;\n
+ md5_string here/getMD5Checksum;\n
+ hide_rows_on_no_search_criterion here/isHideRowsOnNoSearchCriterion;\n
+ is_domain_tree_mode here/isDomainTreeMode;\n
+ is_report_tree_mode here/isReportTreeMode;\n
+ is_domain_tree_supported here/isDomainTreeSupported;\n
+ is_report_tree_supported here/isReportTreeSupported;\n
+ is_gadget_mode request/is_gadget_mode | nothing;\n
+ show_select_column here/showSelectColumn;\n
+ show_anchor_column here/showAnchorColumn;\n
+ show_search_line here/showSearchLine;\n
+ is_web_mode request/is_web_mode | nothing;\n
+ is_dialog_mode request/dialog_mode | nothing;\n
+ list_style python:request.get(\'list_style\', \n
+ selection.getParams().get(\'list_style\', is_web_mode and \'table\' or None));\n
+ dummy python: list_style == \'search\' and here.setDisplayedColumnIdList((\'getIconAsHTML\', \'getSummaryAsHTML\'))\n
+ or list_style == \'thumb\' and here.setDisplayedColumnIdList((\'title\', \'thumbnail\'));\n
+ line_list here/query;\n
+ listbox_max_lines python: int(here.getMaxLineNumber());\n
+ total_line python: int(here.total_size);\n
+ current_page python: int(here.current_page) + 1;\n
+ current_page_max python: listbox_max_lines * current_page;\n
+ current_page_start python: (listbox_max_lines * (current_page - 1)) + 1;\n
+ current_page_stop python: (total_line < current_page_max) and total_line or current_page_max;\n
+\n
+ listbox_id request/current_form_id | form_id ;\n
+ listbox_url string:${context_url}/${listbox_id};\n
+\n
+ ">\n
+\n
+ <!-- Define hidden input. -->\n
+ <input type="hidden" name="list_selection_name" value="default" tal:attributes="value selection_name" />\n
+ <input type="hidden" name="list_selection_name" value="default"\n
+ tal:attributes="value selection_name;\n
+ name string:${field_id}_list_selection_name" />\n
+ <input tal:condition="md5_string" type="hidden" name="md5_object_uid_list" value="checksum" tal:attributes="value md5_string" />\n
+ <input tal:condition="form_id" type="hidden" name="form_id" tal:attributes="value form_id" tal:replace="nothing"/>\n
+\n
+ <tal:block tal:condition="is_gadget_mode">\n
+ <tal:block tal:define="global box_relative_url python: request.get(\'box_relative_url\', \'\');\n
+ global box python: real_context.restrictedTraverse(box_relative_url); \n
+ global box_id python: \'visual_%s\' %box_relative_url.split(\'/\')[-1];\n
+ global dom_id python: request.get(\'dom_id\',None) or box_id;">\n
+ <input tal:condition="python:form_id" \n
+ type="hidden" name="gadget_form_id"\n
+ tal:attributes="value form_id" />\n
+ </tal:block>\n
+ </tal:block>\n
+\n
+<div class="listbox_block">\n
+\n
+ <div class="listbox_left">\n
+ <div class="listbox_domain_tree_mode" tal:condition="is_domain_tree_mode">\n
+ <div tal:define="selected_domain_path here/getSelectedDomainPath">\n
+ <select name="domain_root_url"\n
+ tal:attributes="onChange string:submitAction(this.form, \'${context_url}/setDomainRoot\')">\n
+ <tal:block tal:repeat="c here/getDomainRootList">\n
+ <option value="base_domain"\n
+ tal:define="path python: c[0]; title python: c[1]"\n
+ tal:attributes="selected python: path == selected_domain_path; value path"\n
+ tal:content="title"\n
+ i18n:translate="" i18n:domain="ui">Base Domain</option>\n
+ </tal:block>\n
+ </select>\n
+ <table id="listbox_domain_tree_table" cellpadding="0"\n
+ summary="This table contains the domain tree"\n
+ class="listbox_domain_tree_table"\n
+ tal:attributes="id string:${field_id}_domain_tree_table"\n
+ tal:define="report_tree_list python: here.makeReportTreeList(report_path = selected_domain_path, unfolded_list = selection.getDomainList(), is_report_opened = False);\n
+ total_depth python: max([report_tree.depth for report_tree in report_tree_list] + [-1])">\n
+ <tr tal:repeat="report_tree report_tree_list">\n
+ <tal:block tal:repeat="i python: range(report_tree.depth)">\n
+ <td width="12" nowrap="nowrap"> </td>\n
+ </tal:block>\n
+ <td colspan="1" style="text-align: left; vertical-align: top; white-space: nowrap;"\n
+ tal:attributes="colspan python: total_depth - report_tree.depth + 1">\n
+ <a href="method" class="tree_open"\n
+ tal:condition="report_tree/is_open"\n
+ tal:attributes="href string:foldDomain?domain_url=${report_tree/domain_url}&form_id=${form_id}&list_selection_name=${selection_name}&domain_depth:int=${report_tree/depth}">\n
+ <b tal:content="report_tree/obj/getTranslatedTitleOrId">Domain</b></a>\n
+ <a href="method" class="tree_closed"\n
+ tal:condition="not: report_tree/is_open"\n
+ tal:attributes="href string:unfoldDomain?domain_url=${report_tree/domain_url}&form_id=${form_id}&list_selection_name=${selection_name}&domain_depth:int=${report_tree/depth}">\n
+ <tal:block tal:content="report_tree/obj/getTranslatedTitleOrId">Domain</tal:block></a>\n
+ </td>\n
+ </tr>\n
+ </table>\n
+ </div>\n
+ </div>\n
+ </div>\n
+ <tal:comment tal:replace="nothing">\n
+ Minimize the withd in domain tree mode else maximize\n
+ </tal:comment>\n
+ <div class="listbox_center"\n
+ tal:attributes="style python: is_domain_tree_mode and \'width: auto\' or \'width: 100%\'">\n
+ <div class="listbox_head">\n
+ <span tal:content="here/getTitle"/>\n
+ <span tal:condition="python: here.getTitle() and total_line>0"> - </span>\n
+ <!--Show search result -->\n
+ <span tal:condition="python: total_line > 0"\n
+ tal:replace="structure python: real_context.Base_translateString(\'Results <em>${start} - ${stop}</em> of <em>${total}</em>.\', mapping=dict(start=current_page_start, stop=current_page_stop, total=total_line))"\n
+ />\n
+\n
+ <!-- Set a slot for additional content ? -->\n
+ </div>\n
+ <div class="listox_body">\n
+ <table class="listbox"> \n
+ <thead>\n
+ <!--Column title -->\n
+ <tr id="listbox_label_line" class="listbox_label_line"\n
+ tal:attributes="id string:${field_id}_label_line"> \n
+ <!--Report tree-->\n
+ <th tal:condition="is_report_tree_mode"\n
+ style="width: 50px; text-align: left; vertical-align: middle">\n
+ <select name="report_root_url"\n
+ tal:attributes="onChange string:submitAction(this.form, \'${context_url}/setReportRoot\')">\n
+ <tal:block tal:repeat="c here/getReportRootList">\n
+ <option value="base_domain"\n
+ tal:define="path python: c[0]; title python: c[1]"\n
+ tal:attributes="selected python: path == here.getSelectedReportPath(); value path"\n
+ tal:content="title" i18n:domain="ui" i18n:translate="">Domain</option>\n
+ </tal:block>\n
+ </select>\n
+ </th>\n
+ <!--Anchor Column -->\n
+ <th class="AnchorColumn" tal:condition="show_anchor_column">\n
+ \n
+ </th>\n
+ <!--Add colum for checkbox-->\n
+ <th tal:condition="python: show_select_column and not is_gadget_mode"\n
+ class="select_cell"\n
+ style="border-width: 0;\n
+ text-align: center; \n
+ vertical-align: middle;\n
+ white-space: nowrap;">\n
+ \n
+ <input id="listbox_check_all" type="image"\n
+ name="checkAll:method" value="1"\n
+ alt="Check All" title="Check All"\n
+ tal:attributes="id string:${field_id}_check_all;\n
+ name string:${field_id}_checkAll:method;\n
+ src string:${portal_url_string}/images/checkall.png"\n
+ i18n:domain="ui" i18n:attributes="title" />\n
+ \n
+ <input id="listbox_uncheck_all"\n
+ type="image" name="uncheckAll:method" value="1"\n
+ style="border: 0" alt="Uncheck All" title="Uncheck All"\n
+ tal:attributes="id string:${field_id}_uncheck_all;\n
+ src string:${portal_url_string}/images/decheckall.png;\n
+ name string:${field_id}_uncheckAll:method;"\n
+ i18n:domain="ui" i18n:attributes="title" /> \n
+ \n
+ </th>\n
+ <tal:block tal:repeat="value here/getLabelValueList">\n
+ <tal:block tal:define="sql python: value[0];\n
+ title python: value[1];\n
+ sort_order python: value[2]">\n
+ <th tal:condition="sql"\n
+ tal:attributes="style python: repeat[\'value\'].index==0 and \'border-width: 0 1px 1px 1px\' or \'\'"> \n
+\n
+ <!-- Button in normal view -->\n
+ <button tal:define="\n
+ bt_class python: sort_order==\'ascending\' and \'sort_button sort_button_asc\' \n
+ or sort_order == \'descending\' and \'sort_button sort_button_desc\' \n
+ or \'sort_button\'"\n
+ tal:condition="not:is_gadget_mode" \n
+ type="submit"\n
+ name="setSelectionQuickSortOrder:method"\n
+ tal:attributes="title string:${title}; \n
+ value string:${field_id}.${sql};\n
+ class bt_class;"\n
+ i18n:domain="ui" i18n:attributes="title">\n
+ <span tal:content="title" i18n:domain="ui" i18n:translate="">ID</span>\n
+ </button>\n
+\n
+ <!-- Button in gadget mode -->\n
+ <button tal:condition="is_gadget_mode" \n
+ tal:define ="params python: {\'setSelectionQuickSortOrder:method\':field_id+\'.\'+sql};"\n
+ type="button" \n
+ class="sort_button"\n
+ tal:attributes="title string:${title}; \n
+ onclick python: real_context.KnowledgePad_generateAjaxCall(context_url+\'/\'+form_id,box,dom_id,params);"\n
+ i18n:domain="ui" i18n:attributes="title">\n
+ <span tal:content="title" i18n:domain="ui" i18n:translate="">ID</span>\n
+ </button>\n
+ </th>\n
+ <!--TODO Why not sql is possible ?-->\n
+ <th tal:condition="not: sql" tal:content="title" \n
+ i18n:domain="ui" i18n:translate=""/>\n
+ </tal:block>\n
+ </tal:block>\n
+ </tr>\n
+\n
+ <!--Search column input -->\n
+ <tr tal:condition="python: show_search_line or is_report_tree_mode"\n
+ id="listbox_search_line" class="listbox_search_line"\n
+ tal:attributes="id python: show_search_line and (\'%s_search_line\' % field_id) or (\'%s_report_depth_line\' % field_id)">\n
+ <!--Report Tree -->\n
+ <tal:block tal:condition="is_report_tree_mode">\n
+ <th style="width: 50px; text-align: left; vertical-align: middle" colspan="1"\n
+ tal:attributes="colspan python: show_search_line and 1 or (len(here.getSelectedColumnList()) + show_select_column + show_anchor_column + 1)"\n
+ tal:define="selection_index here/getSelectionIndex;\n
+ index python: selection_index is not None and \'&selection_index=%s\' % selection_index or \'\';\n
+ is_report_opened python: int(not here.getSelection().isReportOpened());\n
+ requested_selection_name here/getRequestedSelectionName;\n
+ url here/getUrl">\n
+ <tal:block tal:repeat="i python: range(0, 6)"> \n
+ <a href="?selection_name=default&selection_index=0&report_depth:int=0"\n
+ tal:attributes="href string:${url}?selection_name=${requested_selection_name}${index}&report_depth:int=${i}"\n
+ tal:content="i">0</a>\n
+ </tal:block> - \n
+ <a \n
+ href="?selection_name=default&selection_index=0&is_report_opened:int=0"\n
+ tal:attributes="href string:${url}?selection_name=${requested_selection_name}${index}&is_report_opened:int=${is_report_opened}"\n
+ tal:content="python: is_report_opened and \'Show\' or \'Hide\'"\n
+ i18n:domain="ui" i18n:translate="">Show</a>\n
+ </th>\n
+ </tal:block>\n
+\n
+ <!--Anchor Column -->\n
+ <th class="AnchorColumn" tal:condition="show_anchor_column">\n
+ \n
+ </th>\n
+ <th tal:condition="python: show_select_column and not is_gadget_mode"\n
+ class="Data" style="text-align: center; vertical-align: middle">\n
+ <input id="listbox_select" type="image"\n
+ title="Action" alt="Action" name="Base_doSelect:method"\n
+ tal:attributes="id string:${field_id}_select;\n
+ src string:${portal_url_string}/images/exec16.png"\n
+ i18n:domain="ui" i18n:attributes="title" />\n
+ </th>\n
+ <th tal:repeat="value here/getSearchValueList">\n
+ <tal:block tal:define="alias python: value[0];\n
+ param python: value[1];\n
+ search_field python: value[2]"\n
+ tal:condition="alias">\n
+ \n
+ <tal:block\n
+ tal:condition="python: search_field is not None"\n
+ tal:replace="structure python: search_field.render(value=param, key=alias)"/>\n
+ \n
+ <input tal:condition="python: not is_gadget_mode and search_field is None" \n
+ name="id" size="5" value=""\n
+ type="text" tal:attributes="name alias; value param"/>\n
+\n
+ <!-- Search for gadget mode -->\n
+ <input tal:condition="python: is_gadget_mode and search_field is None" \n
+ tal:define ="params python: {alias:\'this.value\'};"\n
+ size="8"\n
+ type="textarea" \n
+ tal:attributes=\'value python: selection.getParams().get(alias,"");\n
+ onkeypress python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(context_url+"/"+form_id,box,dom_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
+ </tal:block>\n
+ </th>\n
+ </tr>\n
+ </thead>\n
+\n
+ <tbody>\n
+ <!-- Fill datas-->\n
+ <tal:block tal:condition="line_list"\n
+ tal:define="checked_uid_set here/getCheckedUidSet">\n
+ <tr tal:repeat="line line_list" \n
+ tal:attributes="\n
+ id string:${field_id}_data_line_${repeat/line/index};\n
+ class python: line.getRowCSSClassName() or test(repeat[\'line\'].index % 2, \'DataB\', \'DataA\');">\n
+ \n
+ <tal:block tal:define="render_result line/render">\n
+\n
+ <!--Report tree column -->\n
+ <td tal:condition="is_report_tree_mode" align="left" valign="middle" \n
+ tal:define="section_name python: line.getDomainTitle()">\n
+ <a tal:condition="section_name"\n
+ tal:define="method_id python: line.isOpen() and \'foldReport\' or \'unfoldReport\'"\n
+ tal:attributes="href string:${method_id}?report_url=${line/getDomainUrl}&form_id=${form_id}&list_selection_name=${selection_name};\n
+ class python:test(line.isOpen(), \'tree_open\', \'tree_closed\');\n
+ style python:\'white-space: nowrap;; margin-left: %spx\' % (line.getDepth() * 15)"\n
+ tal:content="section_name"/>\n
+ </td>\n
+\n
+ <!--Anchor column -->\n
+ <td tal:condition="python:show_anchor_column"\n
+ class="AnchorColumn" \n
+ style="text-align: center; vertical-align: middle;">\n
+ <!--Use [0][4] ? :(-->\n
+ <a href="#" tal:attributes="href python:render_result[0][4]"><img src="document_icon.gif" alt="document" tal:attributes="src string:${portal_url_string}/images/line_clickable.png" /></a>\n
+ </td>\n
+ \n
+ <!--Select column -->\n
+ <!--TODO Define the CSS class !-->\n
+ <td tal:condition="python: show_select_column and not is_gadget_mode"\n
+ class="select_cell" style="text-align: center; vertical-align: middle"\n
+ >\n
+ \n
+ <input tal:condition="python: not line.isSummary()"\n
+ type="checkbox" id="listbox_cb_1" name="uids:list"\n
+ tal:attributes="checked python: line.getUid() in checked_uid_set;\n
+ value line/getUid;\n
+ id string:${field_id}_cb_${line/getUid}" /> \n
+ </td>\n
+ \n
+ <tal:block tal:repeat="value render_result">\n
+ <!--Define many var but use only ONE !-->\n
+ <td tal:define="html python: value[0];\n
+ original_value python: value[1];\n
+ error python: value[2];\n
+ editable_field python: value[3];\n
+ editable_field_css python: editable_field != None and editable_field.get_value(\'css_class\')">\n
+ <input tal:condition="not: repeat/value/index"\n
+ type="hidden" value="1" name="listbox_uid:list"\n
+ tal:attributes="value python: line.getUid() or \'\';\n
+ name string:${field_id}_uid:list" />\n
+ <tal:block tal:replace="structure html">value</tal:block>\n
+ </td>\n
+ </tal:block>\n
+ </tal:block>\n
+ </tr>\n
+ </tal:block>\n
+ <!-- Hide row on no search criterion-->\n
+ <tr tal:condition="hide_rows_on_no_search_criterion"\n
+ class="listbox_missing_search_criterion">\n
+ <td tal:attributes="colspan python: len(here.getSearchValueList()) + 1">\n
+ <span i18n:translate="" i18n:domain="ui">\n
+ To display actual content, please fill in one or more search criterion.\n
+ </span>\n
+ </td>\n
+ </tr>\n
+\n
+ <tr tal:condition="python: total_line == 0 and not hide_rows_on_no_search_criterion">\n
+ <td tal:attributes="colspan python: len(here.getSearchValueList()) + 1">\n
+ <span class="listbox_no_result" i18n:translate="" i18n:domain="ui">\n
+ No result.\n
+ </span>\n
+ </td>\n
+ </tr>\n
+ </tbody>\n
+\n
+ <tfoot>\n
+ <!-- Stats -->\n
+ <tr tal:condition="python:here.showStat() and not hide_rows_on_no_search_criterion" \n
+ id="listbox_stat_line" class="listbox_stat_line"\n
+ tal:attributes="id string:${field_id}_stat_line">\n
+ <td tal:condition="is_report_tree_mode" > </td>\n
+ <td class="AnchorColumn" tal:condition="show_anchor_column"> </td>\n
+ <td tal:condition="show_select_column"> </td>\n
+ <tal:block tal:repeat="value here/getStatValueList">\n
+ <td align="left"\n
+ tal:define="original_value python: value[0]; processed_value python: value[1]"\n
+ tal:attributes="align python: isinstance(original_value, (float, int, long)) and \'right\' or \'left\'"\n
+ tal:content="structure processed_value" />\n
+ </tal:block>\n
+ </tr>\n
+ </tfoot>\n
+\n
+ </table>\n
+ </div>\n
+\n
+ <div class="listbox_footer">\n
+ \n
+ <div class="listbox_footer_box">\n
+ <!-- List mode choice -->\n
+ <div tal:condition="python: not is_gadget_mode and (is_domain_tree_supported or is_report_tree_supported)"\n
+ class="list_mode_selection">\n
+\n
+ <input tal:condition="python: is_domain_tree_supported or is_report_tree_supported"\n
+ type="image" src="text_block.png" id="listbox_flat_list_mode"\n
+ class="listbox_flat_list_mode"\n
+ title="Flat List" name="setFlatListMode:method"\n
+ value="1" alt="Flat List"\n
+ tal:attributes="src string:${portal_url_string}/images/text_block.png;\n
+ id string:${field_id}_flat_list_mode"\n
+ i18n:domain="ui" i18n:attributes="title" />\n
+ <input tal:condition="python: not is_gadget_mode and is_report_tree_supported"\n
+ type="image" src="view_tree.png" id="listbox_report_tree_mode"\n
+ title="Report Tree" name="setReportTreeMode:method"\n
+ value="1" alt="Report Tree"\n
+ tal:attributes="src string:${portal_url_string}/images/view_tree.png;\n
+ id string:${field_id}_report_tree_mode"\n
+ i18n:domain="ui" i18n:attributes="title" />\n
+ <input tal:condition="python: not is_gadget_mode and is_domain_tree_supported"\n
+ type="image" src="view_choose.png" id="listbox_domain_tree_mode"\n
+ title="Domain Tree" name="setDomainTreeMode:method"\n
+ value="1" alt="Domain Tree"\n
+ tal:attributes="src string:${portal_url_string}/images/view_choose.png;\n
+ id string:${field_id}_domain_tree_mode"\n
+ i18n:domain="ui" i18n:attributes="title" />\n
+ \n
+ </div>\n
+\n
+ <!-- Choose display mode -->\n
+ <!--TODO define show_display_selection-->\n
+ <div tal:define="style_list here/getDisplayStyleList"\n
+ tal:condition="python: not is_gadget_mode and len(style_list) > 0"\n
+ class="display_selection"\n
+ i18n:domain="ui">\n
+ <span i18n:translate="">Display :</span>\n
+ <ul>\n
+ <li tal:repeat="style style_list">\n
+ <a tal:attributes="href python: \'%s?list_style=%s\' % (listbox_url, style[0])"\n
+ tal:content="python: style[1]"\n
+ i18n:translate="">\n
+ Tabular\n
+ </a>\n
+ </li>\n
+ </ul>\n
+ </div>\n
+\n
+ <!-- Full Text Search -->\n
+ <!--XXX This implementation is not finished.-->\n
+ <tal:comment tal:replace="nothing">\n
+ <div tal:define="your_search_text nothing"\n
+ tal:condition="python: show_full_text" \n
+ class="extendedSearchBar">\n
+ <tal:block tal:condition="python: not is_gadget_mode">\n
+ <!-- Normal mode -->\n
+ <input name="bottom_your_search_text" size="25" value="" type="text"\n
+ onkeypress="submitFormOnEnter(event, this.form, \'ERP5Site_processAdvancedSearchBottom\');"\n
+ tal:attributes="value your_search_text" />\n
+ <input class="button" i18n:domain="ui" i18n:attributes="value"\n
+ value="Search" name="ERP5Site_processAdvancedSearchBottom:method" type="submit" />\n
+ </tal:block>\n
+ <tal:block tal:condition="python: is_gadget_mode">\n
+ <!-- Gadget mode -->\n
+ <input tal:define ="params python: {\'ERP5Site_processAdvancedSearchBottom:method\':\'\',\'bottom_your_search_text\':\'this.value\'};"\n
+ name="bottom_your_search_text" size="25" value="" type="text"\n
+ tal:attributes=\'value your_search_text;\n
+ onkeypress python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(context_url+"/"+form_id,box,box_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
+ </tal:block>\n
+ </div> \n
+ </tal:comment>\n
+ </div>\n
+ <div class="listbox_footer_box"\n
+ tal:define="need_pagination python: int(here.total_size) > int(here.getMaxLineNumber())"\n
+ tal:condition="need_pagination">\n
+ <div class="listbox_pagination" \n
+ tal:condition="need_pagination">\n
+ <!--Display pagination -->\n
+ <tal:block metal:use-macro="real_context/page_navigation_render/macros/page_navigation" />\n
+ </div>\n
+ </div>\n
+\n
+ <!-- Set a slot for additional content ? -->\n
+ </div>\n
+ </div>\n
+</div>\n
+\n
+</tal:block>\n
+
+
+]]></string> </value>
+ </item>
+ <item>
+ <key> <string>content_type</string> </key>
+ <value> <string>text/html</string> </value>
+ </item>
+ <item>
+ <key> <string>expand</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>ListBox_asHTML</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string></string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_km/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/bt/revision?rev=35538&r1=35537&r2=35538&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/bt/revision [utf8] Fri May 21 16:08:00 2010
@@ -1,1 +1,1 @@
-1411
+1412
More information about the Erp5-report
mailing list