Updated all the controller entries for Groovy event to consistently use the same way to define the location for the script file. Now the path and filename are always in the "path" attribute and the "invoke" attribute is reserved for the execution of a method in the file (I am going to add support for this feature in my next commit); if the invoke element is not specified then the whole script is executed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1298904 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacopo Cappellato
2012-03-09 16:17:12 +00:00
parent da59ea40b4
commit 9986094080
8 changed files with 28 additions and 28 deletions
@@ -185,7 +185,7 @@ under the License.
</request-map>
<request-map uri="findExampleFeatures">
<security https="true" auth="true"/>
<event type="groovy" path="component://example/webapp/example/WEB-INF/actions/includes/" invoke="FindExampleFeatures.groovy"/>
<event type="groovy" path="component://example/webapp/example/WEB-INF/actions/includes/FindExampleFeatures.groovy"/>
<response name="success" type="view" value="ajaxAutocompleteOptions"/>
<response name="error" type="view" value="ajaxAutocompleteOptions"/>
</request-map>