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 lily <li...@viator.com> on 2005/01/11 04:33:02 UTC

help - when to clone portlet and configure POP

hi

I've successfully implemented wsrp4j on our system. And i have some 
question, pls email me if you can answer them, thanks in advance :)

1. about clonning portlets:
our portlet is a simple one which just act as a "redirector". It pass 
all the parameters obtained from the requests and forward them to our 
internal system and then display the markup which is returned by our 
internal system. All the state changes (both persistent state as in 
changes made to the database and transient state as in session) are 
handled by the internal system.

My question is that it's no need to clone the portlet in this case, it 
is right?

2. I assume that we configure Producer Offered Portlets by putting 
different portlet handle id in the portletentityregistry.xml file, right?
Ok, after a while, a few more of weird looking portlet handle ids are 
added to this file.

My question here is when does this happen? and why?







Re: help - when to clone portlet and configure POP

Posted by Richard Jacob <ja...@apache.org>.
lily wrote:

> hi
>
> I've successfully implemented wsrp4j on our system. And i have some 
> question, pls email me if you can answer them, thanks in advance :)
>
> 1. about clonning portlets:
> our portlet is a simple one which just act as a "redirector". It pass 
> all the parameters obtained from the requests and forward them to our 
> internal system and then display the markup which is returned by our 
> internal system. All the state changes (both persistent state as in 
> changes made to the database and transient state as in session) are 
> handled by the internal system.
>
> My question is that it's no need to clone the portlet in this case, it 
> is right?


well if you don't need consumer configured portlets which may be 
configured for seperate user, then principally you don't need to clone.

>
> 2. I assume that we configure Producer Offered Portlets by putting 
> different portlet handle id in the portletentityregistry.xml file, right?

yep,

> Ok, after a while, a few more of weird looking portlet handle ids are 
> added to this file.

My question here is when does this happen? and why?

>
these are clones of the POPs which consumers requested either by 
explicitly cloning portlets or by implicitly generated clones

cheers Richard