Author: ashish
Date: Wed Oct 27 13:54:18 2010
New Revision: 1027965

URL: http://svn.apache.org/viewvc?rev=1027965&view=rev
Log:
Applied bug fix from r1027962.

Applied patch from jira issue OFBIZ-3992 - Bug in contact mech lookup on 
communcation event screen.
Contact Mech lookup on 
https://localhost:8443/partymgr/control/EditCommunicationEvent?communicationEventId=9000
 is not working.
Steps:-

Go to page 
https://localhost:8443/partymgr/control/EditCommunicationEvent?communicationEventId=9000
Set Party From = DemoCustomer.
Click lookup icon on From Contact Mech field.

Thanks Amit for the contribution.

Modified:
    
ofbiz/branches/release10.04/applications/marketing/widget/ContactListScreens.xml
    
ofbiz/branches/release10.04/applications/party/widget/partymgr/CommunicationEventForms.xml

Modified: 
ofbiz/branches/release10.04/applications/marketing/widget/ContactListScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/marketing/widget/ContactListScreens.xml?rev=1027965&r1=1027964&r2=1027965&view=diff
==============================================================================
--- 
ofbiz/branches/release10.04/applications/marketing/widget/ContactListScreens.xml
 (original)
+++ 
ofbiz/branches/release10.04/applications/marketing/widget/ContactListScreens.xml
 Wed Oct 27 13:54:18 2010
@@ -373,7 +373,7 @@ under the License.
                 <set field="labelTitleProperty" 
value="PageTitlePreferredContactMech"/>
                 <set field="title" 
value="${uiLabelMap.PageTitlePreferredContactMech}"/>
                 <set field="donePage" from-field="parameters.DONE_PAGE" 
default-value="/marketing/control/ListContactLists"/>
-                <set field="partyId" from-field="parameters.parm0"/>
+                <set field="partyId" from-field="parameters.parm1"/>
                 <set field="entityName" value="PartyAndContactMech"/>
                 <set field="searchFields" value="[contactMechId, partyId, 
infoString, paToName, paAddress1]"/>
             </actions>

Modified: 
ofbiz/branches/release10.04/applications/party/widget/partymgr/CommunicationEventForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/party/widget/partymgr/CommunicationEventForms.xml?rev=1027965&r1=1027964&r2=1027965&view=diff
==============================================================================
--- 
ofbiz/branches/release10.04/applications/party/widget/partymgr/CommunicationEventForms.xml
 (original)
+++ 
ofbiz/branches/release10.04/applications/party/widget/partymgr/CommunicationEventForms.xml
 Wed Oct 27 13:54:18 2010
@@ -65,10 +65,10 @@ under the License.
 
         <!-- this is an example of how to display different types of contact 
mech to the user -->
         <field name="contactMechIdFrom" 
title="${uiLabelMap.PartyFromContactMech}" position="1">
-            <lookup target-form-name="LookupPreferredContactMech" 
target-parameter="partyIdFrom"/>
+            <lookup target-form-name="LookupPreferredContactMech" 
description-field-name="partyIdFrom" target-parameter="partyIdFrom"/>
         </field>
         <field name="contactMechIdTo" title="${uiLabelMap.PartyToContactMech}" 
position="2">
-            <lookup target-form-name="LookupPreferredContactMech" 
target-parameter="partyIdTo"/>
+            <lookup target-form-name="LookupPreferredContactMech" 
description-field-name="partyIdTo" target-parameter="partyIdTo"/>
         </field>
 
         <field name="roleTypeIdFrom" position="1">


Reply via email to