Web Scripts - small refactor to template client url function - it's now a template method.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6018 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2007-06-19 14:35:02 +00:00
parent 5f5d83d00b
commit bcdf03bc80
5 changed files with 81 additions and 18 deletions

View File

@@ -204,7 +204,7 @@ public abstract class WebScriptRuntime
WebScriptResponse res = createResponse();
Map<String, Object> model = new HashMap<String, Object>();
model.put("status", status);
model.put("url", new URLModel(req, res));
model.put("url", new URLModel(req));
// locate status template
// NOTE: search order...