From: Mike B. <mb...@Ga...> - 2005-02-02 12:30:17
|
Vinay Murthy wrote: >Basically, I am looking for an "event listener" that gets notified >whenever an alert shows up on a page. The "event listener" could then >delegate the handling of the event to an appropriate "event handler". > > That's what the AlertHandler interface is there for. CollectingAlertHandler is just one implementation but you could easily write your own. Look at WebClient.setAlertHandler(); -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |