[Erp5-report] r44208 seb - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateIt...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Mar 11 18:01:42 CET 2011


Author: seb
Date: Fri Mar 11 18:01:42 2011
New Revision: 44208

URL: http://svn.erp5.org?rev=44208&view=rev
Log:
* allow the user to change ID directly on properties
* add constraint to force user to respect naming convention on ID of properties
* display the reference in read only, the reference is guessed from the id for now

Added:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view/my_id.xml
      - copied, changed from r44204, erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view/my_reference.xml
Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view/my_reference.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view.xml?rev=44208&r1=44207&r2=44208&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view.xml [utf8] Fri Mar 11 18:01:42 2011
@@ -93,6 +93,7 @@
                     <key> <string>left</string> </key>
                     <value>
                       <list>
+                        <string>my_id</string>
                         <string>my_reference</string>
                         <string>my_category_expression</string>
                       </list>

Copied: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view/my_id.xml (from r44204, erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view/my_reference.xml)
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view/my_id.xml?p2=erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view/my_id.xml&p1=erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view/my_reference.xml&r1=44204&r2=44208&rev=44208&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view/my_reference.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view/my_id.xml [utf8] Fri Mar 11 18:01:42 2011
@@ -9,26 +9,23 @@
         <item>
             <key> <string>delegated_list</string> </key>
             <value>
-              <list>
-                <string>description</string>
-                <string>display_width</string>
-                <string>title</string>
-              </list>
+              <list/>
+            </value>
+        </item>
+        <item>
+            <key> <string>delegated_message_list</string> </key>
+            <value>
+              <list/>
             </value>
         </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>my_reference</string> </value>
+            <value> <string>my_id</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>
-              </dictionary>
+              <dictionary/>
             </value>
         </item>
         <item>
@@ -74,16 +71,8 @@
             <value>
               <dictionary>
                 <item>
-                    <key> <string>description</string> </key>
-                    <value> <string>Category name</string> </value>
-                </item>
-                <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_id_as_reference</string> </value>
                 </item>
                 <item>
                     <key> <string>form_id</string> </key>
@@ -93,10 +82,6 @@
                     <key> <string>target</string> </key>
                     <value> <string>Click to edit the target</string> </value>
                 </item>
-                <item>
-                    <key> <string>title</string> </key>
-                    <value> <string>Name</string> </value>
-                </item>
               </dictionary>
             </value>
         </item>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view/my_reference.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view/my_reference.xml?rev=44208&r1=44207&r2=44208&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view/my_reference.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/DynamicCategoryProperty_view/my_reference.xml [utf8] Fri Mar 11 18:01:42 2011
@@ -12,6 +12,7 @@
               <list>
                 <string>description</string>
                 <string>display_width</string>
+                <string>editable</string>
                 <string>title</string>
               </list>
             </value>
@@ -75,13 +76,17 @@
               <dictionary>
                 <item>
                     <key> <string>description</string> </key>
-                    <value> <string>Category name</string> </value>
+                    <value> <string>Property name</string> </value>
                 </item>
                 <item>
                     <key> <string>display_width</string> </key>
                     <value> <int>20</int> </value>
                 </item>
                 <item>
+                    <key> <string>editable</string> </key>
+                    <value> <int>0</int> </value>
+                </item>
+                <item>
                     <key> <string>field_id</string> </key>
                     <value> <string>my_string_field</string> </value>
                 </item>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=44208&r1=44207&r2=44208&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Fri Mar 11 18:01:42 2011
@@ -1 +1 @@
-40928
\ No newline at end of file
+40929
\ No newline at end of file



More information about the Erp5-report mailing list