[jboss-user] [JBoss Portal] - How can i get portlet instance id

mohan_chaudhari do-not-reply at jboss.com
Mon Apr 30 03:39:48 EDT 2007


 Hi,

  In portlet-instance.xml i have something like
  
         <instance-id>myInstance</instance-id>
         <portlet-ref>myPortlet</portlet-ref>

         <instance-id>myInstance1</instance-id>
         <portlet-ref>myPortlet</portlet-ref>

Both instances pointiong to same portlet-name.

  and in portlet.xml i have
        
      <portlet-name>myPortlet</portlet-name>
      <portlet-class>ReportPortlet</portlet-class>

   Now in ReportPortlet.java how can i get instance id ?
   Because depending on instance-id i want different processing.
  can it be possible ?



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

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



More information about the jboss-user mailing list