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.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1845087 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Suraj Khurana
2018-10-29 08:16:50 +00:00
parent 04b720a946
commit c57f7a7154
+2 -2
View File
@@ -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>