You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Nikolaos Athanasis <at...@ics.forth.gr> on 2003/09/07 12:06:47 UTC
Parameter passing from registry in Jsp Portlet???
Hi all,
I have the following problem:
I use a Jsp Portlet in my Jetspeed Portal, and I want to use a parameter
that is set in the registry, something like:
<parameter name="The_name" value="The_value"/>
Unfortunately, this does not work, because (If I am correct), only
instances of the VelocityPortlet can use parameters in the .xreg file.
How can i use parameter passing from the .xreg file in my JspPortlet?
Any ideas, please?
Thanks!
Nikos.
RE: Parameter passing from registry in Jsp Portlet???
Posted by Mark Orciuch <ma...@ngsltd.com>.
Take a look at this example: parameter-demo-portlet.jsp. I has code to
retrieve registry parameters that you're looking for.
Best regards,
Mark Orciuch - morciuch@apache.org
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/
> -----Original Message-----
> From: Nikolaos Athanasis [mailto:athanasi@ics.forth.gr]
> Sent: Sunday, September 07, 2003 5:07 AM
> To: jetspeed-dev@jakarta.apache.org
> Subject: Parameter passing from registry in Jsp Portlet???
>
>
> Hi all,
>
> I have the following problem:
> I use a Jsp Portlet in my Jetspeed Portal, and I want to use a parameter
> that is set in the registry, something like:
> <parameter name="The_name" value="The_value"/>
>
> Unfortunately, this does not work, because (If I am correct), only
> instances of the VelocityPortlet can use parameters in the .xreg file.
>
> How can i use parameter passing from the .xreg file in my JspPortlet?
> Any ideas, please?
>
> Thanks!
>
> Nikos.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
>
>
>
>