- this component is generally used to render FreeMarker templates directly to the page - particularly useful for Dashlet pages
- now supports an additional attribute 'templatePath' which should be set to a cm:name based path to a template for rendering
- For example the simplest portable dashlet JSP page to render a template would look like this:
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
<r:template templatePath="/Company Home/Data Dictionary/Presentation Templates/my_docs.ftl" />
- Fixes http://issues.alfresco.com/browse/AWC-1091
. Additional helper override for resolving cm:name based webdav style paths to a NodeRef
. ClipboardItem interface javadoc and removal of obsolete methods from implementing classes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4963 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- so new users see the helpful Getting Started page when logging in
- this client config value can be changed if the sys admin does not want the MyAlfresco to be the default page
. Add User Preference to change the default view after login
- so users familiar with the system can change their default view back to Home Space or similar
. Added client config to allow Guest user access to Configure Dashboard action (set to 'false' by default)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3652 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- this only affected the template/command servlets that were using parameters and had not already logged in
. Support for 'path' argument on DownloadContentServlet
for example /alfresco/download/direct?path=/Company%20Home/Kev's%20Home%20Space/myimage.jpg
- paths are specified in a similar way to webdav path - they are 'cm:name' based URL encoded strings
- this means we no longer need to have the NodeRef to a document to download it
. Support for 'templatePath' and 'contextPath' URL arguments in TemplateContentServlet
for example: /alfresco/template?templatePath=/Company%20Home/Data%20Dictionary/Presentation%20Templates/doc_info.ftl&contextPath=/Company%20Home/file.txt
- the 'templatePath' argument specifies the cm:name based path to the template to execute
- the 'contextPath' argument specifies the cm:name based path to the context for the template
. Support for 'scriptPath' and 'contextPath' URL arguments in Script CommandProcessor
for example: /alfresco/command/script/execute?scriptPath=/Company%20Home/Data%20Dictionary/Scripts/append%20copyright.js&contextPath=/Company%20Home/file.txt
- the 'scriptPath' argument specifies the cm:name based path to the script to execute
- the 'contextPath' argument specifies the cm:name based path to the context for the script
. Adding debugging output to get timings for executing templates and scripts
. Enhancements and additions to JavaScript API:
setPermission()
removePermission()
get/setInheritsPermissions()
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3297 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261