WebSphere Portal Server - copy Portlets

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > May 2004 > copy Portlets





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author copy Portlets
x22ips

2004-05-04, 6:33 am

Hi,

in Portal 4.x, when you make a copy of a portlet, a pop-up window comes up, asking you to give a new name to the new copy of the portlet.

In WPS 5.0.2, there is no longer a pop-up window.
It simply goes ahead making a new copy with the same portlet name under an auto generated new concrete portlet application.

This is a serious problem: if you want to make a large number of copies of the same portlet, and place them in different pages, you will have a hard time to figure out what concrete portlet you are dealing with.

Does anybody know, how to solve this problem?

Thanks much!

Gabi Bonilla

2004-05-04, 7:34 am

Yes, go to administration->Portlets->Manage Portlets, when you copy the
portlet, the new portlets will be inactivate, select new portlet (inactive)
and click Modify Parameters, then you must write a new name for the portlet
selecting a language and clicking in Set Titlet For Selected Locale

I hope this help,

--
Gabi Bonilla Aberasturi
Técnico de Sistemas

Tlf Oficina: 94 661 30 34
Fax: 94 435 48 58

"x22ips" <Andrea.Ipsch@triaton.com> escribió en el mensaje
news:1066605479.1083666535538.JavaMail.wasadmin@swg3ws006...
> Hi,
>
> in Portal 4.x, when you make a copy of a portlet, a pop-up window comes

up, asking you to give a new name to the new copy of the portlet.
>
> In WPS 5.0.2, there is no longer a pop-up window.
> It simply goes ahead making a new copy with the same portlet name under an

auto generated new concrete portlet application.
>
> This is a serious problem: if you want to make a large number of copies of

the same portlet, and place them in different pages, you will have a hard
time to figure out what concrete portlet you are dealing with.
>
> Does anybody know, how to solve this problem?
>
> Thanks much!
>



Arvind

2004-05-05, 11:34 am

Yes, when you make copies from the original portlet - any code change
in the original portlet *will* automatically cascade down to all
copied portlets...

I think it is reasonable behavior - else there will be no way to exert
control over the copied portlets

Arvind


"Gabi Bonilla" <gabibonilla@opennorte.com> wrote in message news:<c77vl6$67i0$1@news.boulder.ibm.com>...[vbcol=seagreen]
> Yes, go to administration->Portlets->Manage Portlets, when you copy the
> portlet, the new portlets will be inactivate, select new portlet (inactive)
> and click Modify Parameters, then you must write a new name for the portlet
> selecting a language and clicking in Set Titlet For Selected Locale
>
> I hope this help,
>
> --
> Gabi Bonilla Aberasturi
> Técnico de Sistemas
>
> Tlf Oficina: 94 661 30 34
> Fax: 94 435 48 58
>
> "x22ips" <Andrea.Ipsch@triaton.com> escribió en el mensaje
> news:1066605479.1083666535538.JavaMail.wasadmin@swg3ws006...
> up, asking you to give a new name to the new copy of the portlet.
> auto generated new concrete portlet application.
> the same portlet, and place them in different pages, you will have a hard
> time to figure out what concrete portlet you are dealing with.
Paul Lee

2004-05-07, 6:33 am

asrinivasan@worldbank.org (Arvind) wrote in message news:<ac4b235.0405050658.34db41df@posting.google.com>...[vbcol=seagreen]
> Yes, when you make copies from the original portlet - any code change
> in the original portlet *will* automatically cascade down to all
> copied portlets...
>
> I think it is reasonable behavior - else there will be no way to exert
> control over the copied portlets
>
> Arvind
>
>
> "Gabi Bonilla" <gabibonilla@opennorte.com> wrote in message news:<c77vl6$67i0$1@news.boulder.ibm.com>...

Seems a little silly to me that a portlet can only display one set of
parameters - what if I wanted two web page portlets showing different URLs?

Paul
--
http://www.paullee.com
Arvind

2004-05-08, 10:37 am

Paul,

Guess you misunderstood - *code* trickles down to every portlet - but
NOT the config.

The idea of copying portlets being - to be able to set up different
config with same code base to produce functionally similar but
different output at runtime......

let us say you set up just a RSS news feed portlet. The code base to
get the RSS feed and render it will be the same irrespective of the
RSS url you are hitting... so copy them and keep changing the RSS news
feed url and you get the desired results

Arvind

paul@paullee.com (Paul Lee) wrote in message news:<cf49715f.0405070141.2e672db@posting.google.com>...
> asrinivasan@worldbank.org (Arvind) wrote in message news:<ac4b235.0405050658.34db41df@posting.google.com>...
>
> Seems a little silly to me that a portlet can only display one set of
> parameters - what if I wanted two web page portlets showing different URLs?
>
> Paul

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com