From 05b3529fe17e9cc6ea8400d6a26b901c698df6d8 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Tue, 12 Apr 2011 12:58:43 +0000
Subject: [PATCH] Proxify it against my_view_mode_tales_expression to benefit
 its External Validator

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45326 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_core/TALESConstraint_view/my_expression.xml       | 7 +------
 product/ERP5/bootstrap/erp5_core/bt/revision               | 2 +-
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TALESConstraint_view/my_expression.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TALESConstraint_view/my_expression.xml
index 1c46ae9c94..5de9b7e9d9 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TALESConstraint_view/my_expression.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TALESConstraint_view/my_expression.xml
@@ -10,7 +10,6 @@
             <key> <string>delegated_list</string> </key>
             <value>
               <list>
-                <string>display_width</string>
                 <string>title</string>
               </list>
             </value>
@@ -72,13 +71,9 @@
             <key> <string>values</string> </key>
             <value>
               <dictionary>
-                <item>
-                    <key> <string>display_width</string> </key>
-                    <value> <int>20</int> </value>
-                </item>
                 <item>
                     <key> <string>field_id</string> </key>
-                    <value> <string>my_string_field</string> </value>
+                    <value> <string>my_view_mode_tales_expression</string> </value>
                 </item>
                 <item>
                     <key> <string>form_id</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 16beb416fa..68e9cee7b5 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-40943
\ No newline at end of file
+40944
\ No newline at end of file
-- 
2.30.9