Vitaly Baranovsky wrote:
Good day!

I need to obtain portlet entity id (of fragment id) inside my portlet
web application? How can I do this?

portlet-bridges-common >= 1.0.2 (available at runtime from shared/lib 
classloader):

  org.apache.portals.bridges.util.PortletWindowUtils
      public static String getPortletWindowId(PortletSession session)

Note: this method uses a JSR-168 compliant "trick", JSR-286 (Portlet API 2.0) 
will provide a formal API method for it.

Regards,

Ate



For example, I have portlet HelloWorldPortlet. I've added it into
jetspeed/portal/default-page.psml thru admin interface. In
default-page.psml this portlet has {fragment
id="P-112d8cbcef3-10000"}. How can I obtain this id (
"P-112d8cbcef3-10000") inside java code of my portlet to store it to
my corporate database?

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to