[jboss-user] [JBoss Portal] - Re: Portal page name

apemberton do-not-reply at jboss.com
Thu Feb 5 18:06:48 EST 2009


You can use the following in a tag extending SimpleTagSupport:

PortalNode currentNode = (PortalNode) getJspContext().findAttribute("org.jboss.portal.api.PORTAL_NODE");
  | currentNode.getName();
  | currentNode.getDisplayName(locale);

Your PageCustomizerInterceptor stores the current PortalNode as a request attribute (unless you've modified it and chosen not to).

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

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



More information about the jboss-user mailing list