Author: jaz
Date: Thu Apr 23 03:50:09 2009
New Revision: 767773

URL: http://svn.apache.org/viewvc?rev=767773&view=rev
Log:
Party preference wasn't properly tested, was blowing up when default 
organization(s) were selectable due to a bad field name. Now corrected.

Modified:
    ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml

Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml?rev=767773&r1=767772&r2=767773&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml 
(original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml Thu Apr 
23 03:50:09 2009
@@ -1000,7 +1000,7 @@
         <field name="partyId"><hidden/></field>
         <field name="userPrefValue" title="${uiLabelMap.CommonValue}" 
use-when="enumId.equals(&quot;ORGANIZATION_PARTY&quot;)" 
parameter-name="userPrefValue" >
             <drop-down current="selected" 
no-current-selected-key="defaultOrganizationPartyId">
-                <entity-options entity-name="PartyAcctgPrefAndGroup" 
description="${groupName}"/>
+                <entity-options entity-name="PartyAcctgPrefAndGroup" 
description="${groupName}" key-field-name="partyId"/>
             </drop-down>
         </field>
         <field name="userPrefValue" title="${uiLabelMap.CommonValue}" 
use-when="enumId.equals(&quot;VISUAL_THEME&quot;)" 
parameter-name="userPrefValue">


Reply via email to