The Enterprise-class Portlet Container(i.e Sun's implementation of JSR 168 spec) that is part of the Sun Java System Portal Server 7 has been open sourced.
The open-source code artifacts of the Portlet Container from the Sun Portal's internal repository has been svn-checked-in to java.net.
The key features of this Portlet Container are..
  • Support for parallel render requests
  • Proprietary Eventing(Inter Portlet Communication)
  • Integratability with identity management systems, behavior tracking and logging systems, and user profile systems.

Check out the Enterprise-class Portlet Container Open Source Project.

This is a sub-project of the Portal Project.

The test driver to test the Portlet Container is coming soon..

This project uses Subversion. For using Subversion on Solaris, please see my earlier blog.

Check out Portal related news/blogs @ Portal Post

Comments:

First download! ;)

Posted by Mikael Gueck on August 04, 2006 at 04:10 PM IST #

Hi ,
I am struck with the issue of getting attributes set in portlet session into HTTP session.
I have to show a file download dialog box when a user clicks on a button on my jsp.
I wrote the code in jsp by setting content type and header. but it was throwing IllegalStateException when I tried to get ServletOutputStream. So I resorted to do the download code in a servlet.
The contents of the fole come from an object.
In processAction method i have set the object as
PortletSession ses = request.getPortletSession(); //Here request is EventRequest object

ses.setAttribute("attribute1",myObj,PortletSession.APPLICATION_SCOPE);

I am trying to get this attribute in my servlet as.

HttpSession session = request.getSession();
String myObj= session.getAttribute("attribute1");

but it returns null.
The problem in servlet is that when I say
it gives me a new session not the existing one. so i am not able to get the attribute i have saved in portletsession.
I am using glassfish server with open porat portlet container 2.0.
Please help me.

Posted by Hariom Tiwari on June 19, 2009 at 02:55 PM IST #

Did you try in the latest version 2.1? Also are both the portlet and servlet in the same webapp?

Posted by Deepak on June 19, 2009 at 05:08 PM IST #

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by deepakg