I need that to get to the proper node (it's part of the path) as in the
example you sent earlier. 

Thanks again, Joris.

-----Original Message-----
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 21, 2007 11:54 AM
To: Jetspeed Users List
Subject: Re: Preferences question


On Mar 21, 2007, at 8:17 AM, Melchior, Joris wrote:

> Thanks David,
>
> I get that bit except for how I get a handle to the portlet  
> instance ID
> from within the portlet itself (in doEdit for example).
>
There is no standard way to get the portlet instance ID.
That said, try this:

((ContentFragment)request.getAttribute 
(PortalReservedParameters.FRAGMENT_ATTRIBUTE)).getId();

What do you need the unique id for ?



---------------------------------------------------------------------
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