[Erp5-report] r19946 - /erp5/trunk/products/ERP5/PropertySheet/WebSection.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 17 08:22:22 CET 2008


Author: jp
Date: Mon Mar 17 08:22:21 2008
New Revision: 19946

URL: http://svn.erp5.org?rev=19946&view=rev
Log:
Added a property to store the ID of a page used to configure the current Web Section of Web Site layout. This will help the process of making all widgets generic. The cleanest approach would be obviously to rely only on the gadget API but it is less convenient than flexible properties when it comes to pure page templates.

Modified:
    erp5/trunk/products/ERP5/PropertySheet/WebSection.py

Modified: erp5/trunk/products/ERP5/PropertySheet/WebSection.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/WebSection.py?rev=19946&r1=19945&r2=19946&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/WebSection.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/WebSection.py Mon Mar 17 08:22:21 2008
@@ -63,6 +63,17 @@
             'type'        : 'string',
             'default'     : None,
             'mode'        : 'rw' },
+        {   'id'          : 'layout_configuration_form_id',
+            'description' : 'The ID of a form which can be used to configure layout preferences.',
+            'type'        : 'string',
+            'default'     : None,
+            'acquisition_base_category'     : ('parent',),
+            'acquisition_portal_type'       : ('Web Section', 'Web Site'),
+            'acquisition_copy_value'        : 0,
+            'acquisition_mask_value'        : 1,
+            'acquisition_accessor_id'       : 'getLayoutConfigurationFormId',
+            'acquisition_depends'           : None,
+            'mode'        : '' },
     )
 
     _categories = ('aggregate', )




More information about the Erp5-report mailing list