the XML-RPC endpoint can now invoke scripts as handlers, in addition to

objects of a specified class
This commit is contained in:
Eric J. Bowersox
2002-01-16 17:39:09 +00:00
parent 6ea41dc619
commit e3717ca62c
9 changed files with 277 additions and 45 deletions

View File

@@ -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>