I got at least a workaround:
Portlets:
Needed to be derived from:
org.jboss.portlet.JBossPortlet
in order to access the objects by:
JBossRenderRequest.getControllerContext().getServerInvocation().getServerContext().getClientRequest().getSession().getAttribute(attributeName);
Custom ThemeTagHandler / Theme's index.jsp:
Change the objects visibility from session to request and pass it in custom PageCustomizerInterceptor by:
pageCommand.setAttribute(ControllerCommand.REQUEST_SCOPE, attributeName, attributeValue);
and retrieve the object in custom ThemeTagHandler:
((PageContext)getJspContext()).getRequest().getAttribute(attributeName);
or the theme's index.jsp:
request.getAttribute(attributeName);
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108784#4108784
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108784