rem: res.handlers.context.renderSkin("page"); 
add: res.handlers.site.renderSkin("page"); 
context: Members.prototype.add_action = function() {   if (req.postParams.term) {      try {         var result = this.search(req.postParams.term);         if (result.length < 1) {            res.message = gettext("Found no user matching the search input.");         } else {            if (result.length >= 100) {               res.message = gettext("Found too many users, displaying the first {0} matches only.",                      result.length);            } else {               res.message = ngettext("Found one user matching the search input.",                     "Found {0} users matching the search input.",                       result.length);            }            res.data.result = this.renderSkinAsString("searchresult", result);         }      } catch (ex) {         res.message = ex;         app.log(ex);      }   } else if (req.postParams.add) {      try {         var membership = this.addMembership(req.postParams);         var message = this.renderSkinAsString("mailnewmember", {            site: res.handlers.site.title,            creator: session.user.name,            url: res.handlers.site.href(),            account: req.postParams.name         });         // FIXME:         //sendMail(root.sys_email, result.obj.user.email,         //      getMessage("mail.newMember", result.obj.site.title), message);         res.message = gettext("Successfully added {0} to the list of members.",                req.postParams.name);         res.redirect(membership.href("edit"));      } catch (ex) {         res.message = ex;         app.log(ex);      }      res.redirect(this.href());   } else {      res.message = gettext("Enter a search term to display a list of matching users.");   }   res.data.action = this.href(req.action);   res.data.title = gettext('Add member to {0}', this._parent.title);   res.data.body = this.renderSkinAsString("new");   res.handlers.context.renderSkin("page");   return;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/6e28d59eebd1ae098121be8d4b53baf4137a0411/Members.js/clean/code/Members/Members.js