mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Web Scripts:
- improved generated documentation (indexed by web script url & package) - addition of ticket management web scripts - addition of put, post & delete support to Web Script test server git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5820 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -33,7 +33,7 @@ import org.alfresco.web.scripts.WebScriptResponse;
|
||||
|
||||
|
||||
/**
|
||||
* Retrieves the list of available Web Scripts
|
||||
* Index of all Web Scripts
|
||||
*
|
||||
* @author davidc
|
||||
*/
|
||||
@@ -48,6 +48,8 @@ public class Index extends DeclarativeWebScript
|
||||
{
|
||||
Map<String, Object> model = new HashMap<String, Object>(7, 1.0f);
|
||||
model.put("webscripts", getWebScriptRegistry().getWebScripts());
|
||||
model.put("rooturl", getWebScriptRegistry().getUri("/"));
|
||||
model.put("rootpackage", getWebScriptRegistry().getPackage("/"));
|
||||
return model;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user