This commit was generated by cvs2svn to compensate for changes in r2155,
which included commits to RCS files with non-trunk default branches.
This commit is contained in:
parent
72d15e11ab
commit
4a7616d5a0
51 changed files with 1885 additions and 0 deletions
23
DocApplication/main.hac
Normal file
23
DocApplication/main.hac
Normal file
|
@ -0,0 +1,23 @@
|
|||
if ( checkAddress()==false ) return;
|
||||
if ( checkAuth(this)==false ) return;
|
||||
|
||||
if ( req.data.action=="reload" ) {
|
||||
var appObj = root.getChildElement(this.name);
|
||||
appObj.docApp = new Packages.helma.doc.DocApplication( this.name, this.location );
|
||||
if ( req.data.redirect != null && req.data.redirect != "" )
|
||||
res.redirect ( getProperty("baseURI") + req.data.redirect );
|
||||
else
|
||||
res.redirect ( this.href("main") );
|
||||
return;
|
||||
}
|
||||
|
||||
if ( req.data.action=="index" ) {
|
||||
res.body = this.renderSkinAsString("index");
|
||||
} else {
|
||||
res.body = this.renderSkinAsString("main");
|
||||
}
|
||||
|
||||
res.skin = "api";
|
||||
res.title = "Application " + this.name;
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue