rem: res.data.title = gettext("Layout {0}", this.title); res.data.body = this.renderSkinAsString("main"); res.handlers.context.renderSkin("page"); 
add: if (req.postParams.save) { try { this.update(req.postParams); res.message = gettext("Successfully updated the layout {0}.", this.title); res.redirect(this.href()); } catch (ex) { res.message = ex; app.log(ex); } } res.data.title = gettext("Layout of site {0}", res.handlers.site.title); res.data.body = this.renderSkinAsString("Layout#main"); res.handlers.site.renderSkin("page"); 
context: Layout.prototype.main_action = function() {   res.data.title = gettext("Layout {0}", this.title);   res.data.body = this.renderSkinAsString("main");   res.handlers.context.renderSkin("page");   return;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/3efbd63046d0de34a59bbe00c11a37b157f1b745/Layout.js/clean/code/Layout/Layout.js