You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2007/03/31 22:44:47 UTC

svn commit: r524477 - /ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml

Author: lektran
Date: Sat Mar 31 13:44:47 2007
New Revision: 524477

URL: http://svn.apache.org/viewvc?view=rev&rev=524477
Log:
Applied a patch from Eriks Dobelis (OFBIZ-753) and added a 
comment, fixes a problem with the AddWorkEffortAndAssoc 
form where the field workEffortId was being included in 
the form twice.

Note the real problem appears to be in the widget code, where a 
form using extends is unable to override fields from the parent
that contain a useWhen condition.

Modified:
    ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml

Modified: ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml?view=diff&rev=524477&r1=524476&r2=524477
==============================================================================
--- ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml (original)
+++ ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml Sat Mar 31 13:44:47 2007
@@ -252,7 +252,10 @@
     </form>
 
     <form name="AddWorkEffortAndAssoc" extends="EditWorkEffort" default-map-name="workEffort" target="createWorkEffortAndAssoc" title="" type="single">
+        <!-- Commenting this field for now as the form widget cannot override useWhen fields from 
+             the form it is extending (results in two workEffortId fields in the form)
         <field name="workEffortId"><hidden value=""/></field>
+        -->
         <field name="workEffortIdFrom" widget-style="tabletext"><display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${workEffortName} [${workEffortId}]"/></field>
         <field name="workEffortIdTo"><lookup target-form-name="LookupWorkEffort"/></field>
         <field name="workEffortAssocTypeId">