Hi Erzhuam!
Which version of JetSpeed did you use and got null?
Thx.
$kala.

----- Original Message -----
From: "Mike Zhou" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; "Marc Moree" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, September 26, 2002 1:15 AM
Subject: RE: Pass parameters from JSPPortlet to the JSP


> I tried and got the samething, null. Currently I am
> using a Portlet written in Java. It works for me.
>
> Erzhuan
> --- Mark Orciuch <[EMAIL PROTECTED]> wrote:
> > Marc,
> >
> > >
> > > First, I wanted to thank you so much for answering
> > one of my questions
> > > earlier this month. I was reading your posting on
> > how to get portlet init
> > > parameters when using JSPPortlet. I used the
> > methods below(AND appropriate
> > > imports), but I am getting a null value for the
> > portlet when trying to get
> > > it as an attribute from the request. I was
> > wondering if you any
> > > ideas as to
> > > why this might happen.
> >
> > Are you building Jetspeed using CVS head or the
> > current release? The
> > "portlet" attribute is a recent enhancement (added
> > on Aug-28-2002, to be
> > exact).
> >
> > > I am essentially writing a "URLBrowser"
> > > JSP so that
> > > I can embed an outside URL as a JSPPortlet, and
> > still keep it
> > > embedded when
> > > navigating links supplied by the outside resource.
> > I've seen many people
> >
> > Sounds like a job for IFramePortlet but I may be
> > misinterpreting your
> > requirement.
> >
> > > requesting this, so if my code is "up to par", I
> > would gladly
> > > contribute it
> > > to the project. Thanks again.
> >
> > :-)
> >
> > >
> > > <%
> > > Portlet portlet = (Portlet)
> > request.getAttribute("portlet");
> > > String myParm =
> >
> portlet.getPortletConfig().getInitParameter("myParm");
> > > %>
> > >
> > > Marc Moree
> > > Software Engineer
> > > ISR Global
> >
> >
> > Best regards,
> >
> > Mark C. Orciuch
> > Next Generation Solutions, Ltd.
> > e-Mail: [EMAIL PROTECTED]
> > web: http://www.ngsltd.com
> >
> >
> > --
> > To unsubscribe, e-mail:
> >
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to