portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <da...@bluesunrise.com>
Subject Re: Retrieving a portlet's unique instance ID..
Date Wed, 25 Jan 2006 02:43:24 GMT
Jacek Wiƛlicki wrote:
> Wiadomosc od David Sean Taylor z 2006-01-23 09:50 brzmiala:
>> A portlet isn't really supposed to know about its 'unique id' as that 
>> is an implementation detail of the portal.
> However, when I managed to get the current fragment ID, I was able to 
> create a universal portlet class whose behaviour, displayed contents and 
> some security features are determined by some data stored in the 
> database (fragment preferences were not enough for storing large amounts 
> of data).

What if you stored a unique key in the preference, say "content-id"
This unique is portlet instance specific.
 From there, you can map to your large amounts of data

>> If you want to write portlets specific to Jetspeed-2, have a look at 
>> the j2-admin app which accesses portal services in the 
>> jetspeed-portlet.xml
> By the way, is the bug concerning service access fixed?
You mean this one:


I'll try to get a look at it tonight

To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org

View raw message