Hi Vitaly,
I think you can obtain the fragment id with the following code:
ContentFragment contentFragment = (ContentFragment) portletRequest
.getAttribute(PortalReservedParameters.FRAGMENT_ATTRIBUTE);
contentFragment.getId();
br,
edgar
On 8/28/07, Vitaly Baranovsky <[EMAIL PROTECTED]> wrote:
> Good day!
>
> I need to obtain portlet entity id (of fragment id) inside my portlet
> web application? How can I do this?
>
>
> 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]