Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Aieie Brazorf
Remove primefaces widget from DOM objects
15. Januar 2013 01:18
Antwort

Aieie Brazorf

Rang: New Member

Nachrichten: 12

Eintrittsdatum: 17. Dezember 2012

Neue Beiträge

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. Januar 2013 11:04
Antwort

Neil Griffin

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 2235

Eintrittsdatum: 26. Juli 2005

Neue Beiträge

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