[jboss-user] [JBoss Portal] - Re: Problem with PORTAL_NODE

bruno.rossetto do-not-reply at jboss.com
Wed Mar 25 16:49:53 EDT 2009


SSchult,

In your case, you don't have the org.jboss.portal.api.PORTAL_NODE attribute set in your request. So, try to get it from Navigation.getCurrentNode() or in case of using JBossRenderRequest you can use request.getPortalNode() (is the same).

   public PortalNode getPortalNode()
  |    {
  |       return Navigation.getCurrentNode();
  |    }

Bruno Rossetto
http://brmachado.blogspot.com/
http://jbossbrasil.ning.com/

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221108#4221108

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221108



More information about the jboss-user mailing list