[
https://issues.jboss.org/browse/GTNPORTAL-2871?page=com.atlassian.jira.pl...
]
Vu Viet Phuong commented on GTNPORTAL-2871:
-------------------------------------------
There a 2 difference classloader using here: one for loading the template, another for
processing portlet lifecycle
GateIn extension machanism allow to override templates by using "merged"
ClassLoader from difference war. But the request will be dispatched to ServletContext of
portlet war when it come from portal to each portlet war (look at
org.exoplatform.portal.webui.application.ExoServerContext)
The HomePage portlet is defined in "web.war", and classloader of this webapp is
used to process this portlet lifecycle. (except the groovy template that is loaded by
using "merged" webapp context). That's why even the template is loaded, the
portlet can't use the classed defined in your extension war
An overriding gtmpl does not see classes from its own war
---------------------------------------------------------
Key: GTNPORTAL-2871
URL:
https://issues.jboss.org/browse/GTNPORTAL-2871
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Peter Palaga
Probably a class loading issue. Steps to reproduce will follow.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira