From: Mike B. <mb...@Ga...> - 2003-03-21 01:37:04
|
Rob Terpilowski wrote: > Hi there, > I was wondering how to get a page from a Javascript open call, so far no > matter how I try, I always get "null" for the page. > > > I'm catching the webWindowOpened event, and have tried > public void webWindowOpened( WebWindowEvent e ) { > e.getWebWindow.getEnclosedPage(); > e.getNewPage(); > e.getOldPage(); > } > > again. All these methods return null. Am I missing something here? I'm > just trying to access the HtmlPage object that should have been created. You shouldn't be getting null for the new page. No matter how the window is opened, the WebWindowEvent should have the new values. Please open a bug for this. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |