From 8d3d37a199ce04165e67540bb10394c65b1f8bd3 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Fri, 12 Dec 2003 10:41:09 +0000
Subject: [PATCH] improved with Tales for list_method attribute of listbox

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@93 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/Coramy/skins/coramy_custom/search.form | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/product/Coramy/skins/coramy_custom/search.form b/product/Coramy/skins/coramy_custom/search.form
index 1575be1ef2..e747f372e4 100755
--- a/product/Coramy/skins/coramy_custom/search.form
+++ b/product/Coramy/skins/coramy_custom/search.form
@@ -28,7 +28,7 @@
           <editable_columns type="list">[]</editable_columns>
           <external_validator></external_validator>
           <extra></extra>
-          <global_attributes></global_attributes>
+          <global_attributes type="list">[]</global_attributes>
           <height type="int">5</height>
           <hidden type="int">0</hidden>
           <lines type="int">30</lines>
@@ -41,7 +41,7 @@
           <report_tree type="int">0</report_tree>
           <reverse type="int">0</reverse>
           <search type="int">0</search>
-          <search_columns></search_columns>
+          <search_columns type="list">[]</search_columns>
           <select type="int">0</select>
           <selection_name></selection_name>
           <sort type="list">[]</sort>
@@ -50,6 +50,7 @@
           <width type="int">40</width>
         </values>
         <tales>
+          <list_method>python:here.portal_url.getPortalObject().portal_skins.local_list_method[here.REQUEST.list_method_id]</list_method>
         </tales>
         <messages>
           <message name="external_validator_failed">The input failed the external validator.</message>
-- 
2.30.9