the XML-RPC endpoint can now invoke scripts as handlers, in addition to
objects of a specified class
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
<!-- The location of the scripts directory, relative to the application root. -->
|
||||
<script-dir>WEB-INF/scripts</script-dir>
|
||||
|
||||
<!-- The location of the RPC scripts directory, relative to the application root. -->
|
||||
<rpc-script-dir>WEB-INF/rpcscripts</rpc-script-dir>
|
||||
|
||||
<!-- The temporary directory for script compilation, relative to the application root. -->
|
||||
<temp-dir>WEB-INF/temp</temp-dir>
|
||||
|
||||
@@ -275,7 +278,8 @@
|
||||
<rpc>
|
||||
<xmlrpc-methods>
|
||||
<method name="venice:test\.sumDifference">
|
||||
<object class="com.silverwrist.venice.ui.rpc.XmlRpcTestHandler"/>
|
||||
<!-- <object class="com.silverwrist.venice.ui.rpc.XmlRpcTestHandler"/> -->
|
||||
<script name="test/test1.js"/>
|
||||
<env name="e1" value="foo"/>
|
||||
<env name="p1" value="${param.0}"/>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user