You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mo...@apache.org on 2009/04/20 12:04:45 UTC

svn commit: r766636 - /ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml

Author: mor
Date: Mon Apr 20 10:04:45 2009
New Revision: 766636

URL: http://svn.apache.org/viewvc?rev=766636&view=rev
Log:
Fix: Contact information of a Lead was not displayed on profile page in SFA

Modified:
    ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml

Modified: ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml?rev=766636&r1=766635&r2=766636&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml Mon Apr 20 10:04:45 2009
@@ -323,6 +323,9 @@
                                                 </widgets>
                                             </section>
                                             <section>
+                                                <condition>
+                                                    <not><if-empty field="partyGroupId"/></not>
+                                                </condition>
                                                 <actions>
                                                     <set field="parameters.partyId" from-field="partyGroupId"/>
                                                 </actions>
@@ -330,7 +333,14 @@
                                                     <include-screen name="Party" location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                                 </widgets>
                                             </section>
-                                            <include-screen name="Contact" location="component://party/widget/partymgr/ProfileScreens.xml"/>
+                                            <section>
+                                                <actions>
+                                                    <set field="parameters.partyId" from-field="partyId"/>
+                                                </actions>
+                                                <widgets>
+                                                    <include-screen name="Contact" location="component://party/widget/partymgr/ProfileScreens.xml"/>
+                                                </widgets>
+                                            </section>
                                         </container>
                                         <container style="profile-right">
                                             <section>