[jboss-user] [JBoss Portal] - Re: How to get a portlet's instance name from the portlet cl

julien@jboss.com do-not-reply at jboss.com
Mon Mar 31 18:32:14 EDT 2008

it's not really possible to do that.

you could probably add an portlet instance interceptor that would take the portlet instance name and set it as a request attribute, really quite easy to do but would be targetted for 2.6 for instance as you would use an internal API of the portal.

You can look at the org.jboss.portal.core.model.instance.InstanceSecurityInterceptor to base your work on.

This interceptor is then declared in jboss-portal.sar/META-INF/jboss-service.xml

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

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

More information about the jboss-user mailing list