AnsweredAssumed Answered

How is TemplateNode configured into alfresco explorer ?

Question asked by zengqingyi12 on Sep 17, 2010
Latest reply on Sep 18, 2010 by zengqingyi12
I know alfresco are implemented with spring framework.
And there is a preview template function in alfresco explorer: 
User just need to create a freemarker template file, then system can generate the content by itself.
There is a buildin object called "document" in freemarker template, I think it is from TemplateNode class.
But after I searched all the xml file, I didn't find anything that configure the TemplateNode to be a bean of spring framework.
So I just want to know how can TemplateNode be integrated into the template framework in alfresco explorer and expose the data to FreeMarker template.

Thanks in advance ! Hope someone gets me.

EDIT:
If someone doesn't know what I am saying, please have a look at following:
There are several "TemplateNode" objects that wrap common Alfresco Node objects to provide an rich OO layer suitable for scripting usage.
I just want to know how these "TemplateNode" wrap common Alfresco Node objects ?  How and where to configure them ?

Outcomes