Page 1 of 1

Returning data from other pages

Posted: Wed Mar 30, 2011 7:51 am
by cbrent
I'm trying to extract data from a child window back to the parent window within atrium. I keep getting error "window.opener" is null. Is it possible to open a child window within atrium and return data? If so, can you tell me how?

Thanks

Re: Returning data from other pages

Posted: Tue Apr 05, 2011 3:13 pm
by David
Are you saying that you have a page running inside a tab in Atrium and that page running inside that tab is opening a new browser window?

Please confirm.

If this is the case, I would think that "window.opener" should be set properly to reference the parent window.

One thing to be aware of, though, is the browser's cross-site security mechanism. The browser may prevent you from accessing "window.opener" if the child window is seen to be on a different site (running from a different http server) than the parent.

Is this the case?

Re: Returning data from other pages

Posted: Mon Apr 25, 2011 11:47 am
by cbrent
Issue resolved. It was a syntax issue.