Refactor of template and script services to allow easy addition of further template and script processors.

Hightlights of check-in include:
- Introduction of script processor 
- Neutralisation of script and template models
- The notion of a processor extension introduced
- Extensions applied to processor implementation rather than the services
- Auto selection of processor based on file extension of template or script

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5519 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2007-04-20 17:13:34 +00:00
parent 9f0e52e205
commit c8cf88179a
7 changed files with 14 additions and 28 deletions

View File

@@ -77,7 +77,7 @@ public class NodeInfoBean
if (this.nodeService.exists(nodeRef))
{
Repository.getServiceRegistry(context).getTemplateService().processTemplate(
null, "/alfresco/templates/client/summary_panel.ftl", getModel(nodeRef), out);
"/alfresco/templates/client/summary_panel.ftl", getModel(nodeRef), out);
}
else
{