mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Web Scripts: Dump & Load
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6111 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -131,7 +131,6 @@ public abstract class AbstractWebScript implements WebScript
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.web.scripts.WebScript#getDescription()
|
||||
*/
|
||||
@@ -185,7 +184,6 @@ public abstract class AbstractWebScript implements WebScript
|
||||
return this.descriptorService;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Scripting Support
|
||||
//
|
||||
@@ -299,6 +297,7 @@ public abstract class AbstractWebScript implements WebScript
|
||||
model.put("args", createArgModel(req));
|
||||
model.put("guest", req.isGuest());
|
||||
model.put("url", new URLModel(req));
|
||||
model.put("webscript", getDescription());
|
||||
model.put("server", new ServerModel(descriptorService.getServerDescriptor()));
|
||||
|
||||
// add template support
|
||||
|
Reference in New Issue
Block a user