Hello,
I'm using blockUI component.
I want it to erase any growl components that remains on the same page. These growls are made sticky. But I want them to disappear only if a dialog or a blockUI appears.
However it seems that contrary to dialog, blockUI does not provide any event handler such as onShow, onHide. This is true for blockUI in both Primefaces Extension (pe:blockUI) and Primefaces (p:blockUI).
So do I have to emulate onShow handler under blockUI, by writing specific Javascript function with jQuery's blockUI API?
Why doesn't blockUI have any event handler?
JDK: 1.8
Operating system: Windows 10
server: 4.1.1.171 #badassfish (build 136)
IDE: NetBeans 11.2
primefaces : version 6.0
primefaces extensions : 4.0.0
Apache Poi: 3.15
Operating system: Windows 10
server: 4.1.1.171 #badassfish (build 136)
IDE: NetBeans 11.2
primefaces : version 6.0
primefaces extensions : 4.0.0
Apache Poi: 3.15
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
Because no one needed it till now.
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
But yes indeed, blockUI contains an attribute "event".
It is represented as "Name(s) of one or several accepted events. Several events should be defined as space or comma separated list".
However I can't figure out how to use it as a client side callback such as dialog's onShow.
It is represented as "Name(s) of one or several accepted events. Several events should be defined as space or comma separated list".
However I can't figure out how to use it as a client side callback such as dialog's onShow.
JDK: 1.8
Operating system: Windows 10
server: 4.1.1.171 #badassfish (build 136)
IDE: NetBeans 11.2
primefaces : version 6.0
primefaces extensions : 4.0.0
Apache Poi: 3.15
Operating system: Windows 10
server: 4.1.1.171 #badassfish (build 136)
IDE: NetBeans 11.2
primefaces : version 6.0
primefaces extensions : 4.0.0
Apache Poi: 3.15
-
- Information
-
Who is online
Users browsing this forum: No registered users and 8 guests