Author: hannes
Date: 2009-04-09 12:56:23 +0200 (Thu, 09 Apr 2009)
New Revision: 9598
Modified:
helma-ng/trunk/apps/demo/actions.js
helma-ng/trunk/apps/demo/skins/continuation.html
Log:
Clean up demo app a little bit, disable continuations demo
Details at http://dev.helma.org/trac/helma/changeset/9598
Modified: helma-ng/trunk/apps/demo/actions.js
===================================================================
--- helma-ng/trunk/apps/demo/actions.js 2009-04-09 10:22:45 UTC (rev 9597)
+++ helma-ng/trunk/apps/demo/actions.js 2009-04-09 10:56:23 UTC (rev 9598)
@@ -7,8 +7,8 @@
// the main action is invoked for http://localhost:8080/
function index(req, res) {
res.render('skins/index.html', { title: 'Welcome to Helma NG' });
- res.debug(req.cookies.toSource());
- res.debug(req.params.toSource());
+ // res.debug(req.cookies.toSource());
+ // res.debug(req.params.toSource());
}
@@ -44,6 +44,13 @@
// demo for continuation support
function continuation(req, res) {
+ res.render('skins/continuation.html', {
+ title: "Continuations",
+ skin: "start",
+ note: "NOTE: Continuation support is currently broken, so I have disabled this demo for the time being."
+ });
+ return;
+
// local data - this is the data that is shared between resuming and suspension
var data = {};
var pages = ["start", "name", "favorite food", "favorite animal", "result"];
Modified: helma-ng/trunk/apps/demo/skins/continuation.html
===================================================================
--- helma-ng/trunk/apps/demo/skins/continuation.html 2009-04-09 10:22:45 UTC (rev 9597)
+++ helma-ng/trunk/apps/demo/skins/continuation.html 2009-04-09 10:56:23 UTC (rev 9598)
@@ -5,6 +5,8 @@
<% subskin 'start' %>
+ <b><% note %></b>
+
<p>This is a little game to show off continuations support in Helma NG.
All you'll have to do is answer a few easy questions.</p>
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.