OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | January 2008 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [exoplatform] Call to groovy templates


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  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.