portals-wsrp4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diego Louzán <diegolou...@metalicana.org>
Subject Re: Portlet Parameters
Date Thu, 25 Nov 2004 12:01:42 GMT
     I suppose you could create them in portlet.xml through init params, like this:


and then, change ProxyPortlet to initialize the URLGeneratorImpl map with them.


Ansari, Fahad (LNG-DAY) wrote:
> Thanks for your reply.
> Also how is the consumer going to know what it needs to send to a Portlet
> and also what it needs to ask the admin while he/she is setting up the
> Portlet. Do we set consumer parameters in Portlet.xml? I looked into
> Portlet.xml schema and did not find any elements for consumer parameters.
> -----Original Message-----
> From: Diego Louzán [mailto:diegolouzan@metalicana.org]
> Sent: Thursday, November 18, 2004 12:48 PM
> To: wsrp4j-user@ws.apache.org
> Subject: Re: Portlet Parameters
> 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

View raw message