svn commit: r1845087 - /ofbiz/ofbiz-plugins/trunk/lucene/webapp/content/WEB-INF/controller.xml

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

svn commit: r1845087 - /ofbiz/ofbiz-plugins/trunk/lucene/webapp/content/WEB-INF/controller.xml

surajk
Author: surajk
Date: Mon Oct 29 08:16:50 2018
New Revision: 1845087

URL: http://svn.apache.org/viewvc?rev=1845087&view=rev
Log:
Improved: Consistency and Readability improvements for event tag (controller.xml).
(OFBIZ-8965)
Thanks Ankush Upadhyay for reporting and Devanshu Vyas for providing the updated patch.

Modified:
    ofbiz/ofbiz-plugins/trunk/lucene/webapp/content/WEB-INF/controller.xml

Modified: ofbiz/ofbiz-plugins/trunk/lucene/webapp/content/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/lucene/webapp/content/WEB-INF/controller.xml?rev=1845087&r1=1845086&r2=1845087&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/lucene/webapp/content/WEB-INF/controller.xml (original)
+++ ofbiz/ofbiz-plugins/trunk/lucene/webapp/content/WEB-INF/controller.xml Mon Oct 29 08:16:50 2018
@@ -33,14 +33,14 @@ under the License.
     <request-map uri="AdminIndex"><security https="true" auth="true"/><response name="success" type="view" value="AdminIndex"/></request-map>
     <request-map uri="indexContentTree">
         <security https="true" auth="true"/>
-        <event invoke="indexContentTree" path="org.apache.ofbiz.content.search.SearchEvents" type="java"/>
+        <event type="java" invoke="indexContentTree" path="org.apache.ofbiz.content.search.SearchEvents"/>
         <response name="success" type="view" value="AdminIndex"/>
         <response name="error" type="view" value="AdminIndex"/>
     </request-map>
 
     <request-map uri="indexProducts">
         <security https="true" auth="true"/>
-        <event path="component://lucene/groovyScripts/content/IndexProducts.groovy" type="groovy"/>
+        <event type="groovy" path="component://lucene/groovyScripts/content/IndexProducts.groovy"/>
         <response name="success" type="view" value="AdminIndex"/>
         <response name="error" type="view" value="AdminIndex"/>
     </request-map>