Re: Static Skins in prototype
Joshua Paine <[email protected]> Mon, 23 Jul 2007 17:05:08 -0400
| Newsgroups | gmane.comp.java.helma.general |
|---|---|
| Message-ID | <[email protected]> |
If I understand you correctly, I'm actually doing what this amounts to,
but I'm not using skins. Everything that would be a skin for me is
instead an object method that returns an E4X XML object. E.g.:
##UserMgr/create.hac##
var page = {
title: "Create New User",
links:this.linkSet()
}
...
page.body = User.prototype.asForm.apply();
page.body.@action = this.href('create');
res.write(Templates.main(page));