Wiadomosc od [EMAIL PROTECTED] z 2006-01-22 02:26 brzmiala:
All,
Okay, so I have a portal that will have multiple instances of my content
display portlet. But each instance of my portlet needs to have a way of
retrieving some ID that differentiates it from all the other, identical
content display portlets. This ID should not only be unique to this
portlet instance, but also persistant across server restarts.
Is this possible in Jetspeed 2?
I've done a similar task yesterday :) In order to get fragment's
identifier (like the one in PSML file) use something like this:
((ContentFragment)request.getAttribute(PortalReservedParameters.FRAGMENT_ATTRIBUTE)).getId();
where request is RenderRequest.
--
pozdrawiam,
Jacek Wislicki
[EMAIL PROTECTED]
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]