Unique portlet ID

Sometimes one need to retreive a unique ID for a particular portlet instance. In my case I needed it to implement configuration storage for each portlet instance independent on the user (see another post for comments on this topic). The catch is, there is no such thing in the portlet specification. The closest you can find is the getNamespace(). The spec says “to ensure they are unique in the context…
Read more...Portlet edit CSS style

Working with portlet development can be challenging, because the portal might or might not help you with routine stuff. A portlet goes through several modes. The normal mode is the View mode which shows the content. Another mode is Action, where the portlat receives request parameters and performs some action of it. The mode of interest in this blog entry, is the Edit mode. This mode is used to configure…
Read more...

