Commit 1914ac0b authored by Gabriel Monnerat's avatar Gabriel Monnerat

added script to change the display mode of listbox

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41145 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9dee0eb8
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<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_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<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>_body</string> </key>
<value> <string>context.portal_selections.setListboxDisplayMode(context.REQUEST, \n
\'DomainTreeMode\',\n
\'ung_document_list_selection\')\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>_getattr_</string>
<string>context</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Base_setListBoxDisplayMode</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
global js_list js_list | python:[];\n global js_list js_list | python:[];\n
global css_list css_list | python:[];\n global css_list css_list | python:[];\n
dummy python:css_list.extend(css_list_ung_template);\n dummy python:css_list.extend(css_list_ung_template);\n
dummy python:context.Base_setListBoxDisplayMode();\n
js_url_list python:[\'jquery/core/jquery.js\',\n js_url_list python:[\'jquery/core/jquery.js\',\n
\'jquery/ui/js/jquery-ui.js\',\n \'jquery/ui/js/jquery-ui.js\',\n
\'ung_js/ung.js\'];\n \'ung_js/ung.js\'];\n
...@@ -65,7 +66,7 @@ ...@@ -65,7 +66,7 @@
<tal:block metal:use-macro="here/template_erp5_xhtml_style/macros/master">\n <tal:block metal:use-macro="here/template_erp5_xhtml_style/macros/master">\n
<tal:block metal:fill-slot="layout">\n <tal:block metal:fill-slot="layout">\n
<div class="container">\n <div class="container">\n
<div class="navigation">\n <div class="navigation"> \n
<tal:block tal:condition="python: layout_form is not None">\n <tal:block tal:condition="python: layout_form is not None">\n
<tal:block tal:repeat="aggregate python: [(\'navigation\', navigation_area)]">\n <tal:block tal:repeat="aggregate python: [(\'navigation\', navigation_area)]">\n
<tal:block metal:use-macro="here/aggregate_render/macros/aggregate_render"/>\n <tal:block metal:use-macro="here/aggregate_render/macros/aggregate_render"/>\n
......
95 97
\ 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