Author: jleroux
Date: Fri May 28 10:30:46 2010 New Revision: 949142 URL: http://svn.apache.org/viewvc?rev=949142&view=rev Log: A patch from Ankit Jain, removes useless redundant <request-map uri="authview">, it's now in the common controller(https://issues.apache.org/jira/browse/OFBIZ-3469) - OFBIZ-3469 Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml ofbiz/trunk/applications/marketing/webapp/marketing/WEB-INF/controller.xml ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml ofbiz/trunk/framework/bi/webapp/bi/WEB-INF/controller.xml ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml ofbiz/trunk/framework/resources/templates/controller.xml Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml?rev=949142&r1=949141&r2=949142&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml Fri May 28 10:30:46 2010 @@ -41,11 +41,7 @@ under the License. <security https="true" auth="false"/> <response name="success" type="request" value="main"/> </request-map> - <request-map uri="authview"> - <security https="true" auth="true"/> - <response name="success" type="view" value="main"/> - </request-map> - + <request-map uri="changeDelegator"> <event type="java" path="org.ofbiz.webapp.event.CoreEvents" invoke="changeDelegator"/> <response name="success" type="view" value="main"/> Modified: ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml?rev=949142&r1=949141&r2=949142&view=diff ============================================================================== --- ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml Fri May 28 10:30:46 2010 @@ -741,7 +741,7 @@ under the License. <response name="success" type="view" value="EditDataResourceRole"/> <response name="error" type="view" value="EditDataResourceRole"/> </request-map> - + <!-- ================ DataResourceProductFeature Requests ================= --> <request-map uri="EditDataResourceProductFeatures"> <security auth="true" https="true"/> Modified: ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml?rev=949142&r1=949141&r2=949142&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml Fri May 28 10:30:46 2010 @@ -46,11 +46,7 @@ under the License. <security https="true" auth="false"/> <response name="success" type="request" value="main"/> </request-map> - <request-map uri="authview"> - <security https="true" auth="true"/> - <response name="success" type="view" value="main"/> - </request-map> - + <request-map uri="changeDelegator"> <event type="java" path="org.ofbiz.webapp.event.CoreEvents" invoke="changeDelegator"/> <response name="success" type="view" value="main"/> Modified: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml?rev=949142&r1=949141&r2=949142&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml Fri May 28 10:30:46 2010 @@ -46,11 +46,6 @@ under the License. <response name="success" type="request" value="main"/> </request-map> - <request-map uri="authview"> - <security https="true" auth="true"/> - <response name="success" type="view" value="main"/> - </request-map> - <request-map uri="changeDelegator"> <event type="java" path="org.ofbiz.webapp.event.CoreEvents" invoke="changeDelegator"/> <response name="success" type="view" value="main"/> Modified: ofbiz/trunk/applications/marketing/webapp/marketing/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/webapp/marketing/WEB-INF/controller.xml?rev=949142&r1=949141&r2=949142&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/webapp/marketing/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/marketing/webapp/marketing/WEB-INF/controller.xml Fri May 28 10:30:46 2010 @@ -43,7 +43,6 @@ under the License. </request-map> <request-map uri="view"><security https="true" auth="false"/><response name="success" type="request" value="main"/></request-map> - <request-map uri="authview"><security https="true" auth="true"/><response name="success" type="view" value="main"/></request-map> <request-map uri="main"><security https="true" auth="true"/><response name="success" type="view" value="main"/></request-map> <request-map uri="changeDelegator"> Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml?rev=949142&r1=949141&r2=949142&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml Fri May 28 10:30:46 2010 @@ -46,11 +46,6 @@ under the License. <response name="success" type="request" value="main"/> </request-map> - <request-map uri="authview"> - <security https="true" auth="true"/> - <response name="success" type="view" value="main"/> - </request-map> - <request-map uri="main"> <security https="true" auth="true"/> <response name="success" type="view" value="main"/> Modified: ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml?rev=949142&r1=949141&r2=949142&view=diff ============================================================================== --- ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml Fri May 28 10:30:46 2010 @@ -42,8 +42,7 @@ under the License. <!-- Request Mappings --> <request-map uri="view"><security https="true" auth="false"/><response name="success" type="request" value="main"/></request-map> - <request-map uri="authview"><security https="true" auth="true"/><response name="success" type="view" value="main"/></request-map> - + <request-map uri="main"><security https="true" auth="true"/><response name="success" type="view" value="main"/></request-map> <request-map uri="viewprofile"> Modified: ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml?rev=949142&r1=949141&r2=949142&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml Fri May 28 10:30:46 2010 @@ -46,11 +46,6 @@ under the License. <response name="success" type="request" value="main"/> </request-map> - <request-map uri="authview"> - <security https="true" auth="true"/> - <response name="success" type="view" value="main"/> - </request-map> - <request-map uri="main"> <security https="true" auth="true"/> <response name="success" type="view" value="main"/> Modified: ofbiz/trunk/framework/bi/webapp/bi/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/bi/webapp/bi/WEB-INF/controller.xml?rev=949142&r1=949141&r2=949142&view=diff ============================================================================== --- ofbiz/trunk/framework/bi/webapp/bi/WEB-INF/controller.xml (original) +++ ofbiz/trunk/framework/bi/webapp/bi/WEB-INF/controller.xml Fri May 28 10:30:46 2010 @@ -30,11 +30,6 @@ <response name="success" type="view" value="main"/> </request-map> - <request-map uri="authview"> - <security https="true" auth="true"/> - <response name="success" type="view" value="main"/> - </request-map> - <request-map uri="changeDelegator"> <event type="java" path="org.ofbiz.webapp.event.CoreEvents" invoke="changeDelegator"/> <response name="success" type="view" value="main"/> Modified: ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml?rev=949142&r1=949141&r2=949142&view=diff ============================================================================== --- ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml (original) +++ ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml Fri May 28 10:30:46 2010 @@ -49,8 +49,7 @@ under the License. <!-- Request Mappings --> <request-map uri="main"><security https="true" auth="true"/><response name="success" type="view" value="main"/></request-map> - <request-map uri="authview"><security https="true" auth="true"/><response name="success" type="view" value="main"/></request-map> - + <!-- Example Requests --> <request-map uri="FindExample"><security https="true" auth="true"/><response name="success" type="view" value="FindExample"/></request-map> <request-map uri="EditExample"><security https="true" auth="true"/><response name="success" type="view" value="EditExample"/></request-map> Modified: ofbiz/trunk/framework/resources/templates/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/resources/templates/controller.xml?rev=949142&r1=949141&r2=949142&view=diff ============================================================================== --- ofbiz/trunk/framework/resources/templates/controller.xml (original) +++ ofbiz/trunk/framework/resources/templates/controller.xml Fri May 28 10:30:46 2010 @@ -22,8 +22,7 @@ <!-- Request Mappings --> <request-map uri="main"><security https="true" auth="true"/><response name="success" type="view" value="main"/></request-map> - <request-map uri="authview"><security https="true" auth="true"/><response name="success" type="view" value="main"/></request-map> - + <!-- View Mappings --> <view-map name="main" type="screen" page="component://@component-name@/widget/@[hidden email]#main"/> </site-conf> \ No newline at end of file |
Free forum by Nabble | Edit this page |