I am working on JSF
with primefaces
, i have been assigned a task to notify the browser when new message arrived in client desktop, its like Message alert.
I found some concepts p:poll, and p:notificationBar, p:growl but those are happeniing inside the browser window itself, when browser is minimized the user can't get notify the new message arrival.
My question is:
- Is it possible to do it in
JSF
with the help ofJavascript
? - I don't know whether it is possible to notify to the client?
How can i enable notifications for window minimised state as well?