* Fixed skin names according to issue #16

* Fixed rendering of values stored in res.meta.values
 * Removed obsolete code (mostly disabled by comments already)
This commit is contained in:
Tobi Schäfer 2008-01-19 17:36:33 +00:00
parent 5044e3610a
commit 0ba8805d02
25 changed files with 279 additions and 294 deletions

View file

@ -73,10 +73,12 @@ HopObject.prototype.onRequest = function() {
res.stop();
}
res.meta.values = {};
res.handlers.layout = res.handlers.site.layout || new Layout;
res.skinpath = res.handlers.layout.getSkinPath();
res.meta.values = {};
res.handlers.site.renderSkinAsString("Site#values");
// FIXME: remove after debugging
((res.contentType === "text/html") && res.debug(res.skinpath.toSource()));
return;