You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Alexey Manulenko <ma...@rosten.elektra.ru> on 2006/04/10 15:28:30 UTC

Portlet Instances

Hello, all

I need help.
Could anyone prompt me the way to create several portlet "instances"
that share the same portlet class.

I'm trying to do a very simple thing:
I need two "instances" of demo::IFrame portlet to be displayed on one psml 
page,
but have different SRC preference to display the contents of two different 
sites.

The only obvious way to do this is to add two (or more) portlet definitions 
to
demo/WEB-INF/portlet.xml that use the same IFrameGenericPortlet class but
have different SRC preferences.

But what should I do if I need, for example >=10 instances of IFrame on two 
or more different pages to be displayed?
Is there a better way to do this?

Thank you in advance.

Best regards,
Alex 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org