cancel
Showing results for 
Search instead for 
Did you mean: 

Error using template tag in 2.0

andrepra
Champ in-the-making
Champ in-the-making
We have developed a jsp page that use the template tag as explained in the wiki documentation. We use this code

<r:template template="alfresco/templates/filesystembrowser/file_system_browser.ftl" model="#{FileSystemBrowserBean.templateModel}"  />
We use custom to set some object used in the template depending on request parameter.
In 1.4 everythings work fine. Installing it on 2.0 the behaviour chenges. The first call to the jsp page works fine, calling the getTemplateModel method. The following calls don't call the method any more. Seems theres a kind of cache related to the user http session that store the TemplateModel.
Any idea?
thanks
3 REPLIES 3

kevinr
Star Contributor
Star Contributor

emmy
Champ in-the-making
Champ in-the-making
Hi,
I have changed the class java/org/alfresco/web/ui/repo/component/template/UITemplate.java on release Alfresco 2.0 with the version downloaded from Alfresco Subversion repository, but I not resolved this problem.
There are other classes to download for fix this bug?

Thanks in advance,
Emanuela

kevinr
Star Contributor
Star Contributor
The fix is currently in the 2.0.1 Enterprise branch - the bug fix will be merged over to HEAD shortly.

Thanks,

Kevin