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 17:20:56 UTC

svn commit: r766725 - /ofbiz/branches/release09.04/applications/marketing/widget/sfa/CommonScreens.xml

Author: mor
Date: Mon Apr 20 15:20:54 2009
New Revision: 766725

URL: http://svn.apache.org/viewvc?rev=766725&view=rev
Log:
Applied fix from trunk for revision: 766636

Modified:
    ofbiz/branches/release09.04/applications/marketing/widget/sfa/CommonScreens.xml

Modified: ofbiz/branches/release09.04/applications/marketing/widget/sfa/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release09.04/applications/marketing/widget/sfa/CommonScreens.xml?rev=766725&r1=766724&r2=766725&view=diff
==============================================================================
--- ofbiz/branches/release09.04/applications/marketing/widget/sfa/CommonScreens.xml (original)
+++ ofbiz/branches/release09.04/applications/marketing/widget/sfa/CommonScreens.xml Mon Apr 20 15:20:54 2009
@@ -324,6 +324,9 @@
                                                 </widgets>
                                             </section>
                                             <section>
+                                                <condition>
+                                                    <not><if-empty field="partyGroupId"/></not>
+                                                </condition>
                                                 <actions>
                                                     <set field="parameters.partyId" from-field="partyGroupId"/>
                                                 </actions>
@@ -331,7 +334,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>