Returning data from other pages

Use this board to ask questions or have discussions with other Atrium users.
Post Reply
cbrent
Profound User
Posts: 24
Joined: Tue Oct 12, 2010 1:33 pm
First Name: Clint
Last Name: Brent
Company Name: Invue Security Products
Phone: 704-752-6513 x342
Contact:

Returning data from other pages

Post 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
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Returning data from other pages

Post 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?
cbrent
Profound User
Posts: 24
Joined: Tue Oct 12, 2010 1:33 pm
First Name: Clint
Last Name: Brent
Company Name: Invue Security Products
Phone: 704-752-6513 x342
Contact:

Re: Returning data from other pages

Post by cbrent »

Issue resolved. It was a syntax issue.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest