Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
Pushpinder Singh
Invoke portlet without adding to any page
31 maggio 2012 14.40
Risposta

Pushpinder Singh

Punteggio: Junior Member

Messaggi: 81

Data di Iscrizione: 21 luglio 2010

Messaggi recenti

Version: 6.0.x

Hi all,
I have simple portlet (multiple instance = true), which need to be invoked/called without adding in any page/layout.
It will be invoked through click on anchor.
I wonder whether this can be achieved. I will appreciate any hint or link.

Regards
Singh
Subhash Shah
RE: Invoke portlet without adding any page
31 maggio 2012 1.22
Risposta

Subhash Shah

Punteggio: Junior Member

Messaggi: 77

Data di Iscrizione: 29 novembre 2011

Messaggi recenti

I think it is not possible to use portlet without adding to the page/layout but still not sure.

I had developed a similar functionality (opening a portlet in new window when the user clicks on a link) by adding the portlet on the hidden page.
I had also observed that without adding it to the page, it wasn't displayed in the new window.
Pushpinder Singh
RE: Invoke portlet without adding any page
31 maggio 2012 14.39
Risposta

Pushpinder Singh

Punteggio: Junior Member

Messaggi: 81

Data di Iscrizione: 21 luglio 2010

Messaggi recenti

The reason we want to avoid adding portlet to any page (even hidden) is that our website is changing quite often and we like to avoid situation where someone may remove page and leaving external links pointing to removed portlet instance. We already have experienced this and want to avoid same situation again.
Hitoshi Ozawa
RE: Invoke portlet without adding to any page
31 maggio 2012 14.47
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7954

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

It will be invoked through click on anchor.


Are you thinking about catching the liferay event? I have a daily batch portlet that runs on the backround so if you are going to catch some liferay's event, I think you'll be able to do it but it may be have to be a ext plugin instead of a regular portlet.
Pushpinder Singh
RE: Invoke portlet without adding to any page
31 maggio 2012 16.13
Risposta

Pushpinder Singh

Punteggio: Junior Member

Messaggi: 81

Data di Iscrizione: 21 luglio 2010

Messaggi recenti

Our requirement is like this:
1. Portlet will be added to different department page in the organization, each department having their own preferences.
2. External parties calling same portlet as sort of a widget call.