Hi to all, I'm trying to customize the NavigationPortlet based on the original code,
but without a lot of changes, the JBoss is throwing a PortletException in the init method,
which looks thus:
| public void init() throws PortletException
| {
| container =
(PortalObjectContainer)getPortletContext().getAttribute("PortalObjectContainer");
| portalAuthorizationManagerFactory =
(PortalAuthorizationManagerFactory)getPortletContext().getAttribute("PortalAuthorizationManagerFactory");
| if (container == null)
| {
| throw new PortletException("No portal object container");
| }
| }
|
I've taken as base code the following class:
http://anonsvn.jboss.org/repos/portal/tags/JBoss_Portal_2_4_1/core/src/ma...
and I'm using jboss portal 2.4.1
I'll be a lot thankful if somebody can help me to fix that exception. I don't know
why the class doesn't find the PortalObjectContainer.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049328#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...