svn commit: r803134 - in /ofbiz/trunk/applications/accounting: webapp/ap/WEB-INF/web.xml widget/ap/ApScreens.xml widget/ap/InvoiceScreens.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r803134 - in /ofbiz/trunk/applications/accounting: webapp/ap/WEB-INF/web.xml widget/ap/ApScreens.xml widget/ap/InvoiceScreens.xml

apatel-2
Author: apatel
Date: Tue Aug 11 14:11:53 2009
New Revision: 803134

URL: http://svn.apache.org/viewvc?rev=803134&view=rev
Log:
Removing redundant entries for location of main decorator.

Modified:
    ofbiz/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml
    ofbiz/trunk/applications/accounting/widget/ap/ApScreens.xml
    ofbiz/trunk/applications/accounting/widget/ap/InvoiceScreens.xml

Modified: ofbiz/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml?rev=803134&r1=803133&r2=803134&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml (original)
+++ ofbiz/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml Tue Aug 11 14:11:53 2009
@@ -45,16 +45,6 @@
         <param-value>component://accounting/widget/ap/CommonScreens.xml</param-value>
         <description>The location of the main-decorator screen to use for this webapp; referred to as a context variable in screen def XML files.</description>
     </context-param>
-    <context-param>
-        <param-name>CommonApInvoiceDecoratorLocation</param-name>
-        <param-value>component://accounting/widget/ap/CommonScreens.xml</param-value>
-        <description>The location of the CommonApInvoiceDecorator screen to use for this webapp; referred to as a context variable in screen def XML files.</description>
-    </context-param>
-    <context-param>
-        <param-name>CommonApPaymentDecoratorLocation</param-name>
-        <param-value>component://accounting/widget/ap/CommonScreens.xml</param-value>
-        <description>The location of the CommonApPaymentDecorator screen to use for this webapp; referred to as a context variable in screen def XML files.</description>
-    </context-param>
 
     <filter>
         <filter-name>ContextFilter</filter-name>

Modified: ofbiz/trunk/applications/accounting/widget/ap/ApScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/ap/ApScreens.xml?rev=803134&r1=803133&r2=803134&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/ap/ApScreens.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/ap/ApScreens.xml Tue Aug 11 14:11:53 2009
@@ -26,7 +26,7 @@
                 <set field="titleProperty" value="AccountingFindApPayments"/>
             </actions>
             <widgets>
-                <decorator-screen name="CommonApPaymentDecorator" location="component://accounting/widget/ap/CommonScreens.xml">
+                <decorator-screen name="CommonApPaymentDecorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
                         <section>
                             <widgets>
@@ -57,7 +57,7 @@
                 <set field="titleProperty" value="AccountingNewPaymentOutgoing"/>
             </actions>
             <widgets>
-                <decorator-screen name="CommonApPaymentDecorator" location="component://accounting/widget/ap/CommonScreens.xml">
+                <decorator-screen name="CommonApPaymentDecorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
                         <section>
                             <widgets>

Modified: ofbiz/trunk/applications/accounting/widget/ap/InvoiceScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/ap/InvoiceScreens.xml?rev=803134&r1=803133&r2=803134&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/ap/InvoiceScreens.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/ap/InvoiceScreens.xml Tue Aug 11 14:11:53 2009
@@ -48,7 +48,7 @@
                 <set field="tabButtonItem" value="viewInvoices"/>
             </actions>
             <widgets>
-                <decorator-screen name="CommonApInvoiceDecorator" location="${parameters.CommonApInvoiceDecoratorLocation}">
+                <decorator-screen name="CommonApInvoiceDecorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
                         <section>
                             <widgets>
@@ -100,7 +100,7 @@
                 <set field="organizationPartyId" from-field="parameters.organizationPartyId"/>
             </actions>
             <widgets>
-                <decorator-screen name="CommonApInvoiceDecorator" location="${parameters.CommonApInvoiceDecoratorLocation}">
+                <decorator-screen name="CommonApInvoiceDecorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
                         <section>
                             <widgets>