Desktop alerts can be displayed to the user "Outlook style" by using the <dotj:desktopalert> component.
You can use a desktop alert to notify users of important events that occur in the background. The component uses Ajax based
requests to check a server URL on a specified interval. When the check returns a valid message, it is displayed to the user
using DHTML.
Although a desktop alert will fade out and disappear in a predetermined number of seconds, it can be fully controlled by
the user. For example, they can move it, close it, or keep their mouse hovered over it to keep it displayed.
Countdown
0
{Sender}
{Subject}
Some sample text body.
In this working example, an initial check is done three (3) seconds after the page is loaded. From there on, checks are repeated
every twenty (20) seconds. This example always returns a message by randomly picking a message from a file containing a list of ten.
Click here to view an example of the XML returned from the server side check.