r9596 - in helma-ng/trunk: modules/helma src/org/helma/jack

[email protected]
Newsgroups gmane.comp.java.helma.cvs
Message-ID <20090409102243.EACDA3D0D6@mia>
Author: hannes
Date: 2009-04-09 12:22:43 +0200 (Thu, 09 Apr 2009)
New Revision: 9596

Added:
   helma-ng/trunk/modules/helma/jack.js
Modified:
   helma-ng/trunk/src/org/helma/jack/JackServlet.java
Log:
Rename Jack module to "helma/jack", function to "applyResponse" and add it to the repository.

Details at http://dev.helma.org/trac/helma/changeset/9596

Added: helma-ng/trunk/modules/helma/jack.js

Modified: helma-ng/trunk/src/org/helma/jack/JackServlet.java
===================================================================
--- helma-ng/trunk/src/org/helma/jack/JackServlet.java	2009-04-09 08:01:52 UTC (rev 9595)
+++ helma-ng/trunk/src/org/helma/jack/JackServlet.java	2009-04-09 10:22:43 UTC (rev 9596)
@@ -60,8 +60,8 @@
             throws ServletException, IOException {
         try {
             Object result = engine.invoke(module, function, new JackEnv(request));
-            engine.invoke("jack", "handleResponse", response, result);
-        } catch (Exception x) {
+            engine.invoke("helma/jack", "applyResponse", response, result);
+        } catch (NoSuchMethodException x) {
             throw new ServletException("Method not found", x);
         }
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.