portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Carlson" <dcarl...@ontogenics.com>
Subject Re: accessing RunData from JSP portlet
Date Thu, 23 Aug 2001 15:36:05 GMT
OK, the current JspPortlet implementation does a very simple call to
EcsServletElement.  I'll take a shot at modifying this to use
turbine's JspService, following the approach of VelocityPortlet.

Thanks,
  Dave

----- Original Message -----
From: "Raphaƫl Luta" <raphael.luta@networks.groupvu.com>
To: <jetspeed-dev@jakarta.apache.org>
Sent: Thursday, August 23, 2001 2:07 AM
Subject: Re: accessing RunData from JSP portlet


> 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
>
>


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


Mime
View raw message