r9600 - helma-ng/trunk/modules/helma/webapp

[email protected]
Newsgroups gmane.comp.java.helma.cvs
Message-ID <20090410073244.09FE63D0D6@mia>
Author: hannes
Date: 2009-04-10 09:32:43 +0200 (Fri, 10 Apr 2009)
New Revision: 9600

Modified:
   helma-ng/trunk/modules/helma/webapp/response.js
Log:
Add hack to make helma/webapp/response evaluate.

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

Modified: helma-ng/trunk/modules/helma/webapp/response.js
===================================================================
--- helma-ng/trunk/modules/helma/webapp/response.js	2009-04-10 05:32:53 UTC (rev 9599)
+++ helma-ng/trunk/modules/helma/webapp/response.js	2009-04-10 07:32:43 UTC (rev 9600)
@@ -1,7 +1,8 @@
 include('helma/buffer');
 import('helma/system', 'system');
 
-if (!global.Response) {
+// FIXME hack to get this to evaluate
+if (!global.Response || !Response.prototype.render) {
 
     system.addHostObject(org.helma.web.Response);
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.