You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-user@portals.apache.org by "Ansari, Fahad (LNG-DAY)" <fa...@lexisnexis.com> on 2004/11/18 16:57:49 UTC

Portlet Parameters

Is it possible to have instance level parameters for a remote Portlet. A
parameter that can be set while setting up a Portlet in Portal and passed
back with every Portlet request? If it is possible then how can one do it?

Thanks for help.

-- Fahad

Re: Portlet Parameters

Posted by Diego Louzán <di...@metalicana.org>.
There is a consumerParameters map created in 
org.apache.wsrp4j.consumer.portlet.impl.URLGeneratorImpl that should be used 
for that, but the problem is that it's never initialized (moreover, it had a 
bug I have just discovered, JIRA bug WSRP4J-44). It should be initialized in 
org.apache.wsrp4j.consumer.portlet.impl.ProxyPortlet, but it's not, and I still 
don't know where in the portlet I can obtain those preferences (maybe from the 
PortletConfig). Anyway, they are encoded in the url (see URLGeneratorImpl 
code). I'm investigating...

Ansari, Fahad (LNG-DAY) wrote:
> Is it possible to have instance level parameters for a remote Portlet. A
> parameter that can be set while setting up a Portlet in Portal and passed
> back with every Portlet request? If it is possible then how can one do it?
> 
> Thanks for help.
> 
> -- Fahad
>