Note to myself, There is something not so good in this commit, will review and come back to it soon.

Thanks and Regards
Anil Patel
HotWax Media Inc
http://www.hotwaxmedia.com
http://us.apachecon.com/c/acus2009/sponsors/sponsors

Begin forwarded message:

From: jler...@apache.org
Date: October 24, 2009 11:49:24 AM EDT
To: comm...@ofbiz.apache.org
Subject: svn commit: r829392 - in /ofbiz/trunk/applications/ accounting/widget: ap/CommonScreens.xml ar/CommonScreens.xml
Reply-To: dev@ofbiz.apache.org

Author: jleroux
Date: Sat Oct 24 15:49:23 2009
New Revision: 829392

URL: http://svn.apache.org/viewvc?rev=829392&view=rev
Log:
A patch from Deepak Dixit "Could not find screen with name [CommonPartyDecorator]." (https://issues.apache.org/jira/browse/OFBIZ-3080 ) - OFBIZ-3080
Steps to generate error:
1) Go to AP/AR.
2) Select Invoice.
3) Search Invoices.
4) Select an Invoice.
5) Click on Acctg Trans Id

Modified:
   ofbiz/trunk/applications/accounting/widget/ap/CommonScreens.xml
   ofbiz/trunk/applications/accounting/widget/ar/CommonScreens.xml

Modified: ofbiz/trunk/applications/accounting/widget/ap/ CommonScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/ap/CommonScreens.xml?rev=829392&r1=829391&r2=829392&view=diff
= = = = = = = = ====================================================================== --- ofbiz/trunk/applications/accounting/widget/ap/CommonScreens.xml (original) +++ ofbiz/trunk/applications/accounting/widget/ap/CommonScreens.xml Sat Oct 24 15:49:23 2009
@@ -344,4 +344,27 @@
            </widgets>
        </section>
    </screen>
+    <screen name="CommonPartyDecorator">
+        <section>
+            <actions>
+                <set field="headerItem" value="companies"/>
+ <set field="organizationPartyId" from- field="parameters.organizationPartyId" global="true"/>
+            </actions>
+            <widgets>
+ <decorator-screen name="main-decorator" location="$ {parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <section>
+                            <condition>
+ <not><if-empty field="organizationPartyId"/></not>
+                            </condition>
+                            <widgets>
+ <include-menu name="PartyTopTabBar" location="component://accounting/widget/AccountingMenus.xml"/> + <decorator-section-include name="body"/>
+                            </widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
</screens>
\ No newline at end of file

Modified: ofbiz/trunk/applications/accounting/widget/ar/ CommonScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/ar/CommonScreens.xml?rev=829392&r1=829391&r2=829392&view=diff
= = = = = = = = ====================================================================== --- ofbiz/trunk/applications/accounting/widget/ar/CommonScreens.xml (original) +++ ofbiz/trunk/applications/accounting/widget/ar/CommonScreens.xml Sat Oct 24 15:49:23 2009
@@ -178,5 +178,28 @@
            </widgets>
        </section>
    </screen>
+    <screen name="CommonPartyDecorator">
+        <section>
+            <actions>
+                <set field="headerItem" value="companies"/>
+ <set field="organizationPartyId" from- field="parameters.organizationPartyId" global="true"/>
+            </actions>
+            <widgets>
+ <decorator-screen name="main-decorator" location="$ {parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <section>
+                            <condition>
+ <not><if-empty field="organizationPartyId"/></not>
+                            </condition>
+                            <widgets>
+ <include-menu name="PartyTopTabBar" location="component://accounting/widget/AccountingMenus.xml"/> + <decorator-section-include name="body"/>
+                            </widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>

</screens>
\ No newline at end of file



Reply via email to