Matthias,

Thanks for posting your MyJSPPortlet. There's functionality there that is
definitely missing in Jetspeed's JSPPortlet. Similar enhancements were
actually on my list of things to address in the near future. I will
incorporate your enhacements into JSPPortlet as soon as I'm done with my
other todo's. Thanks!

Best regards,

Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: [EMAIL PROTECTED]
web: http://www.ngsltd.com


> -----Original Message-----
> From: Wimmer, Matthias [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 20, 2002 9:00 AM
> To: 'Dariush Behboudi'; [EMAIL PROTECTED]
> Subject: RE: getInitParamter - JSP
>
>
> Hi,
>
> try this portlet class. Here is a sample JSP page:
>
>   <%@ page import="org.apache.jetspeed.portal.Portlet" %>
>   <%@ page import="org.apache.jetspeed.portal.portlets.AbstractPortlet" %>
>   <%@ page import="org.apache.jetspeed.portal.PortletSkin" %>
>   <%@ page
> import="org.apache.jetspeed.services.rundata.JetspeedRunData" %>
>
>   <% JetspeedRunData theRunData = (JetspeedRunData)request.getAttribute(
> "rundata" ); %>
>   <% Portlet         thePortlet = (Portlet)request.getAttribute( "portlet"
> ); %>
>
>   Portlet = <%=thePortlet%> <BR>
>   PortletInstance =
> <%=((AbstractPortlet)thePortlet).getInstance(theRunData)%> <BR><BR><BR>
>
>
>
> Hope this works
>
> Matthias Wimmer
>
>
>
>
> > -----Original Message-----
> > From: Dariush Behboudi [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, August 20, 2002 5:20 AM
> > To: Wimmer, Matthias
> > Subject: RE: getInitParamter - JSP
> >
> >
> > Hi Matt,
> > I've read your email in the jetspeed user list.
> > I'm trying to create a test jsp portlet.
> > In this portlet the jsp page reads a parameter from its portlet
> > configuration and prints out the result.
> > Actually, I'm able to retrive the runData Object, but I'm not able to
> > access the portlet object associated with this jsp page.
> > I tried to use getPortlet() method from the JetspeedRunData obj, but a
> > null is returned.
> >
> > Do you have please any suggestion about this claim?
> > May you share your class to access the portlet object?
> >
> > Thanks in advance, Dariush.
> >
> >
> >
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to