Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jul 2008
    Location
    Sofia
    Posts
    2

    Master push page in iframe

    Hi,
    I'm using lightstreamer web client in a page that is opened in a popup window,
    It seems that lightstreamer changes the javascript reference to popup window
    so i'm not able to access document properties from the opener.
    Thus, i decided to put a push master page in iframe located in the popup window.
    It works fine , but now i need to call from parent document some sort of unsubscription method in ls engine (i.e lsPage.removeTable)
    which is located in a iframe. Every time i do that im getting an AccessDenied Exception.
    Any hints?

    Best Regards
    ivailo

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    975
    I'm not sure I understand the description, but I try with the simplest answer, which involves domain restrictions.
    Consider that Lightstreamer push-pages need to set the document.domain property in order to communicate with Lightstreamer-Server-generated pages.
    See the setDomain documentation for details.
    Hence, the opener page needs to perform the same document.domain setting in order to communicate with the push-page.

 

 

Similar Threads

  1. Push Notifications
    By BKnight in forum Client APIs
    Replies: 1
    Last Post: April 12th, 2012, 05:29 PM
  2. Anchor targetting in push page in Firefox, Chrome
    By tsezuu in forum Client APIs
    Replies: 2
    Last Post: November 24th, 2011, 04:09 AM
  3. Two Instance in One Page Browser using IFrame
    By gani in forum Client APIs
    Replies: 1
    Last Post: May 19th, 2010, 10:26 AM
  4. Replies: 1
    Last Post: March 2nd, 2007, 12:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 12:20 PM.