[jboss-user] [JBoss Portal] - How to get a portlet's instance name from the portlet class?

porcho do-not-reply at jboss.com
Mon Mar 31 10:21:42 EDT 2008


Hi there. I was wondering whether it's possible to obtain the portlet's instance name from the portet class. More specifically, I wanted to do something like that:


  | public class APortlet extends GenericPortlet{
  | 
  | ...
  | 
  | public void init() throws PortletException{
  |        String instanceName = this.something.getPortletInstanceName()
  | 
  | ...
  | 
  | }
  | 

So...is there a way to do it?

Thanks in advance!

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

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



More information about the jboss-user mailing list