Author: mor
Date: Sat Apr 3 07:23:53 2010 New Revision: 930486 URL: http://svn.apache.org/viewvc?rev=930486&view=rev Log: Specifying the decorator screen location. By defining a location param in your own web.xml the OOTB decorator in the screens can easily be overridden by a custom decorator. Modified: ofbiz/trunk/applications/order/widget/ordermgr/OrderReturnScreens.xml Modified: ofbiz/trunk/applications/order/widget/ordermgr/OrderReturnScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/OrderReturnScreens.xml?rev=930486&r1=930485&r2=930486&view=diff ============================================================================== --- ofbiz/trunk/applications/order/widget/ordermgr/OrderReturnScreens.xml (original) +++ ofbiz/trunk/applications/order/widget/ordermgr/OrderReturnScreens.xml Sat Apr 3 07:23:53 2010 @@ -69,7 +69,7 @@ under the License. <script location="component://order/webapp/ordermgr/WEB-INF/actions/return/QuickReturn.groovy"/> </actions> <widgets> - <decorator-screen name="CommonOrderReturnDecorator"> + <decorator-screen name="CommonOrderReturnDecorator" location="${parameters.orderReturnDecoratorLocation}"> <decorator-section name="body"> <screenlet title="${uiLabelMap.PageTitleFindQuickReturn}"> <platform-specific> @@ -92,7 +92,7 @@ under the License. <script location="component://order/webapp/ordermgr/WEB-INF/actions/return/ReturnHeader.groovy"/> </actions> <widgets> - <decorator-screen name="CommonOrderReturnDecorator"> + <decorator-screen name="CommonOrderReturnDecorator" location="${parameters.orderReturnDecoratorLocation}"> <decorator-section name="body"> <section> <widgets> @@ -112,7 +112,7 @@ under the License. <entity-condition list="returnList" entity-name="ReturnHeader"/> </actions> <widgets> - <decorator-screen name="CommonOrderReturnDecorator"> + <decorator-screen name="CommonOrderReturnDecorator" location="${parameters.orderReturnDecoratorLocation}"> <decorator-section name="body"> <screenlet title="${uiLabelMap.PageTitleReturnList}"> <platform-specific> @@ -133,7 +133,7 @@ under the License. <script location="component://order/webapp/ordermgr/WEB-INF/actions/return/ReturnItems.groovy"/> </actions> <widgets> - <decorator-screen name="CommonOrderReturnDecorator"> + <decorator-screen name="CommonOrderReturnDecorator" location="${parameters.orderReturnDecoratorLocation}"> <decorator-section name="body"> <section> <widgets> @@ -160,7 +160,7 @@ under the License. <script location="component://order/webapp/ordermgr/WEB-INF/actions/return/ReturnItems.groovy"/> </actions> <widgets> - <decorator-screen name="CommonOrderReturnDecorator"> + <decorator-screen name="CommonOrderReturnDecorator" location="${parameters.orderReturnDecoratorLocation}"> <decorator-section name="body"> <include-screen name="ReturnStatusHistory"/> <include-screen name="ReturnTypeHistory"/> |
Free forum by Nabble | Edit this page |