Mail Archive Home | exoplatform List | January 2008 Index
| <-- Date Index --> | <-- Thread Index --> |
Cédric.
Hi,
When you using a template inside your war, please use "app:".
The prefix: "system" is used when you use a template outside your war, and in portal.war where we store system template as webui component...
Cédric TRAN-XUAN wrote:Actually, I have got two portlets in my war :
1) one that calls the groovy template "system:/groovy/webui/form/UIFormTabPane.gtmpl" and that works fine. And the war does not contain the groovy template.
2) one that calls "system:/groovy/portal/webui/component/UIIFramePortlet.gtmpl" or "app:/groovy/portal/webui/component/UIIFramePortlet.gtmpl" and I have got a java exception if I don't copy this template to my war.
So, I wonder why I have got those two different behaviours.
Cedric.
Cédric TRAN-XUAN a écrit :Hi all,
First of all best wishes and happy new year to everybody!
Java classes call groovy templates through the annotation @ComponentConfig but does anyone know the differences between :
template = "app:/groovy/portal/webui/component/UIIFramePortlet.gtmpl"
and
template = "system:/groovy/portal/webui/component/UIIFramePortlet.gtmpl"
So, what is the difference between "app:" and "system:" and which other values can we have?
Regards,
Cédric.
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.