Author: ashish Date: Wed Oct 27 13:51:11 2010 New Revision: 1027962 URL: http://svn.apache.org/viewvc?rev=1027962&view=rev Log: Bug fix. 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/trunk/applications/marketing/widget/ContactListScreens.xml ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml Modified: ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml?rev=1027962&r1=1027961&r2=1027962&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml (original) +++ ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml Wed Oct 27 13:51:11 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/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml?rev=1027962&r1=1027961&r2=1027962&view=diff ============================================================================== --- ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml (original) +++ ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml Wed Oct 27 13:51:11 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">

