Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
Brian Scott Schupbach
How to include a .jsp file in a vm file outside of the theme folder?
21 de Abril de 2012 17:42
Resposta

Brian Scott Schupbach

Ranking: Expert

Mensagens: 329

Data de entrada: 23 de Outubro de 2008

Mensagens recentes

Hello,

In liferay 5.2.3 I was able to use $theme.include("/folder/file.jsp") if my file was located at tomcat/webapps/folder/file.jsp. It looks like in version 6 this has changed. It looks like the $theme.include is looking for the file within the theme folder. My question is how can I include a .jsp file in my velocity template that is outside of the theme folder? I've searched around quite a bit and only see people trying to reference .jsp files within their theme folder.

Thanks in advance,

Brian