From e3717ca62cc35b9bdef88001b6b672e679428cf3 Mon Sep 17 00:00:00 2001 From: "Eric J. Bowersox" Date: Wed, 16 Jan 2002 17:39:09 +0000 Subject: [PATCH] the XML-RPC endpoint can now invoke scripts as handlers, in addition to objects of a specified class --- build.xml | 4 + etc/ui-config.xml | 6 +- rpcscripts/test/test1.js | 24 ++++++ .../silverwrist/venice/ui/RequestInput.java | 4 + .../venice/ui/config/RootConfig.java | 28 ++++++- .../venice/ui/rpc/XmlRpcMethod.java | 57 +++++++++++++- .../venice/ui/rpc/XmlRpcRequest.java | 57 ++++++++++++++ .../venice/ui/script/ScriptLibrary.java | 74 +++++++++++++++---- .../venice/ui/servlet/RequestImpl.java | 68 ++++++++++------- 9 files changed, 277 insertions(+), 45 deletions(-) create mode 100644 rpcscripts/test/test1.js diff --git a/build.xml b/build.xml index b6febb3..d5a8cf3 100644 --- a/build.xml +++ b/build.xml @@ -32,6 +32,7 @@ + @@ -42,6 +43,9 @@ + + + diff --git a/etc/ui-config.xml b/etc/ui-config.xml index d192f1e..69ff501 100644 --- a/etc/ui-config.xml +++ b/etc/ui-config.xml @@ -28,6 +28,9 @@ WEB-INF/scripts + + WEB-INF/rpcscripts + WEB-INF/temp @@ -275,7 +278,8 @@ - + +