0

I'm trying to change dialogs behavior in primefaces so I will be able to create a hierarchy of dialogs rather than having the last clicked dialog shown on top. So I tried to override some javascript functions such as moveToTop(), _show() and bindEvents () of the object PrimeFaces.widget.Dialog . The problem is a couldn't override the bindEvents () function or remove it :

PF('dialog'). bindEvents =function(){}

Any help will be appreciated..

Khalil Aouachri
  • 199
  • 3
  • 14
  • possible duplicate of [How do I find and/or override JavaScript in Primefaces component based on widgetVar?](http://stackoverflow.com/questions/27551493/how-do-i-find-and-or-override-javascript-in-primefaces-component-based-on-widget) – Kukeltje Aug 02 '15 at 09:32
  • Make google your friend… – Kukeltje Aug 02 '15 at 09:32

0 Answers0