Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Aieie Brazorf
Remove primefaces widget from DOM objects
15 de Janeiro de 2013 01:18
Resposta

Aieie Brazorf

Ranking: New Member

Mensagens: 12

Data de entrada: 17 de Dezembro de 2012

Mensagens recentes

Hi all,
I've seen that, using primefaces in liferay faces, when i create an element with attribute "widgetVar", those widgets appeared in the DOM properties. But when i remove the portlet (in my specific case when i click the "X" button of the picker where my portlet is allocated) all the elements named with "widgetVar" attribute remains in the DOM scope until i refresh the page.
I ask you if there is a way to remove automatically or manually those objects.
Thanks.

Aieie
Neil Griffin
RE: Remove primefaces widget from DOM objects
15 de Janeiro de 2013 11:04
Resposta

Neil Griffin

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 2505

Data de entrada: 26 de Julho de 2005

Mensagens recentes

You can register to listen for a JavaScript event when the portlet is closed (removed).
http://www.liferay.com/community/forums/-/message_boards/view_message/7722678#_19_message_8017386