Foros de discusión
Is it possible to programmatically hide one portlet on some action on anoth
vikash kumar chaurasia, modificado hace 13 años.
Is it possible to programmatically hide one portlet on some action on anoth
Junior Member Mensajes: 97 Fecha de incorporación: 8/01/10 Mensajes recientes
Hi All,
Is it possible to programmatically hide one portlet on some action on another portlet? If yes, how?
Or is it possible to minimize one portlet on some action on another portlet?
Thanks,
Vikash
Is it possible to programmatically hide one portlet on some action on another portlet? If yes, how?
Or is it possible to minimize one portlet on some action on another portlet?
Thanks,
Vikash
jelmer kuperus, modificado hace 13 años.
RE: Is it possible to programmatically hide one portlet on some action on a
Liferay Legend Mensajes: 1191 Fecha de incorporación: 10/03/10 Mensajes recientes
Minimizing one portlet based on the actions of another portlet should be possible by
- firing an event from the portlet action with actionResponse.setEvent
- having the portlet that should be minimized catch the event and call eventResponse.setWindowState(WindowState.MINIMIZED) from the eventhandler
Completely hiding the portlet can most likely be done, but I can think of no elegant and straightforward way to do it
- firing an event from the portlet action with actionResponse.setEvent
- having the portlet that should be minimized catch the event and call eventResponse.setWindowState(WindowState.MINIMIZED) from the eventhandler
Completely hiding the portlet can most likely be done, but I can think of no elegant and straightforward way to do it
vikash kumar chaurasia, modificado hace 13 años.
RE: Is it possible to programmatically hide one portlet on some action on a
Junior Member Mensajes: 97 Fecha de incorporación: 8/01/10 Mensajes recientes
Hello All,
Can anybody give me any sample how it can be done. I have to minimize one portlet (Detail Portlet) on some action on List portlet and vice versa.
Any example would be much helpful.
Thanks
Can anybody give me any sample how it can be done. I have to minimize one portlet (Detail Portlet) on some action on List portlet and vice versa.
Any example would be much helpful.
Thanks
Anish Nagaraj, modificado hace 12 años.
RE: Is it possible to programmatically hide one portlet on some action on a
New Member Mensaje: 1 Fecha de incorporación: 26/04/12 Mensajes recientes
Hi Vikash,
I know it is a long back query but did you find a solution for this? We are in need of this functionality working
I know it is a long back query but did you find a solution for this? We are in need of this functionality working
David H Nebinger, modificado hace 12 años.
RE: Is it possible to programmatically hide one portlet on some action on a
Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
All you need to do is find the div for the portlet and then apply either "display: none" or "visibility: hidden" to it (choose wisely). Restoring visibility is just the inverse.