O'Reilly logo

Alfresco 3 Web Content Management by Vinita Choudhary, Pallika Majmudar, Amita Bhandari, Munwar Shariff

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Root objects of FreeMarker

Alfresco provides a default model provided by the JSF template component and template servlet, which provides a number of common root objects useful for most FreeMarker templates. The list of these root objects which you can use for a web script template is as follows:

  • companyhome: The company home template node. This is available only if authenticated.
  • userhome: Current user's home space template node. This is available only if authenticated.
  • person: Current user's person object template node. This is available only if authenticated.
  • args: A map of any URL parameters passed via the Template Content Servlet.
  • session: Session-related information. It provides a single-value session.ticket for the current authentication ticket. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required