details:   /erp/devel/pi/rev/c23f04bbd023
changeset: 9405:c23f04bbd023
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Mon Dec 27 12:08:02 2010 +0100
summary:   Solved issue with (grand-)child tabs and buttonfields and 
propertyToColumn mapping

diffstat:

 
modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-tab.js.ftl
 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 032553d79173 -r c23f04bbd023 
modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-tab.js.ftl
--- 
a/modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-tab.js.ftl
        Mon Dec 27 11:43:08 2010 +0100
+++ 
b/modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-tab.js.ftl
        Mon Dec 27 12:08:02 2010 +0100
@@ -34,7 +34,7 @@
     defaultEditMode: ${tabComponent.defaultEditMode},
     
     propertyToColumns:[
-      <#list data.allFields as field>
+      <#list tabComponent.allFields as field>
         {
           property: '${field.propertyName?js_string}',
           column: '${field.columnName?js_string}', 
@@ -44,7 +44,7 @@
     ],
     
     customToolbarButtons: [
-    <#list data.buttonFields as field>
+    <#list tabComponent.buttonFields as field>
       {id: '${field.id?js_string}', title: '${field.label?js_string}'}<#if 
field_has_next>,</#if>
     </#list>],
     

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to