From jetspeed-dev-return-1491-apmail-jakarta-jetspeed-dev-archive=jakarta.apache.org@jakarta.apache.org Thu Aug 23 08:06:05 2001 Return-Path: Delivered-To: apmail-jakarta-jetspeed-dev-archive@jakarta.apache.org Received: (qmail 27903 invoked by uid 500); 23 Aug 2001 08:06:03 -0000 Mailing-List: contact jetspeed-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: jetspeed-dev@jakarta.apache.org Delivered-To: mailing list jetspeed-dev@jakarta.apache.org Received: (qmail 27891 invoked from network); 23 Aug 2001 08:06:03 -0000 Message-ID: <3B84B9C5.2020102@networks.groupvu.com> Date: Thu, 23 Aug 2001 10:07:33 +0200 From: =?ISO-8859-1?Q?Rapha=EBl?= Luta Organization: Vivendi Universal Networks User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010628 X-Accept-Language: fr,en MIME-Version: 1.0 To: jetspeed-dev@jakarta.apache.org Subject: Re: accessing RunData from JSP portlet References: <3B840071.70F9147@cisco.com> <012a01c12b55$b3bb5de0$0601a8c0@jewel> <019801c12b78$244731c0$0601a8c0@jewel> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Dave Carlson wrote: > After a bit more investigation, I verified that no turbine or jetspeed > objects are passed to the JSP portlet via the servlet Request. I can > retrieve the User, AccessControlList, and CapabilityMap from the > session, but there does not seem to be a way to access RunData for > this request. > > Where in the up-stream processing should this be added, presumably as > a request attribute? > I've not checked the JspPortlet code, but if this code uses the Turbine JspService, JspService sets the Rundata as one of its attribute. If it doesn't use JspService, JspPortlet needs to manually set RunData as attribute as well as any other required context. This can be achieved pretty easily by modifying JspPortlet and mirroring what VelocityPortlet does. Patches welcome :) -- Raphael Luta - raphael.luta@networks.groupvu.com Vivendi Universal Networks - Paris --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org