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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user