You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Martin Webb (JIRA)" <ji...@apache.org> on 2008/03/15 03:10:24 UTC

[jira] Created: (SHINDIG-130) "parentRelayUrl" : "/gadgets/files/container/rpc_relay.html" cross domain not working in FF 2.0.0.12

"parentRelayUrl" : "/gadgets/files/container/rpc_relay.html" cross domain not working in FF 2.0.0.12
----------------------------------------------------------------------------------------------------

                 Key: SHINDIG-130
                 URL: https://issues.apache.org/jira/browse/SHINDIG-130
             Project: Shindig
          Issue Type: Bug
          Components: Gadgets Server - Java
         Environment: FF 2.0.0.12 on both
Windows XP
Ubuntu gutsy
            Reporter: Martin Webb
         Attachments: sample2-1.html

Attached test case (enhanced version of sampl2.html) - run this on any other server other than localhost:8080 - I have successfully tested FF 3.0b on Windows XP and it works perfectly.  Tried on FF 2.0.0.12 on both Windows XP and Ubuntu gutsy and the dynamic height does not work.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SHINDIG-130) "parentRelayUrl" : "/gadgets/files/container/rpc_relay.html" cross domain not working in FF 2.0.0.12

Posted by "Kevin Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Brown closed SHINDIG-130.
-------------------------------

    Resolution: Invalid

Hi Martin,

As I mentioned in the other thread, you need to remove this line:

gadgets.container.setParentUrl('http://localhost:8080');

Just removing it is fine as long as your rpc_relay file is located at http://<host>/gadgets/container/rpc_relay.html

If it's not located there, you *must* set this value to the base location of your rpc relay file. This might require modifying the syndicator configuration.

The way that the RPC relay mechanism works is as follows:

- if the browsers supports postMessage, use that
- otherwise, create an invisible iframe pointing to the parentRelayUrl, which is calculated by concatenating the pre-configured file name to the parent parameter. The parent parameter may be validated server side for situations where there is more than one potential host. Message data is passed on the url fragment, and the generated iframe passes the contents of the fragment back to the containing page for processing.

> "parentRelayUrl" : "/gadgets/files/container/rpc_relay.html" cross domain not working in FF 2.0.0.12
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-130
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-130
>             Project: Shindig
>          Issue Type: Bug
>          Components: Gadgets Server - Java
>         Environment: FF 2.0.0.12 on both
> Windows XP
> Ubuntu gutsy
>            Reporter: Martin Webb
>         Attachments: sample2-1.html
>
>
> Attached test case (enhanced version of sampl2.html) - run this on any other server other than localhost:8080 - I have successfully tested FF 3.0b on Windows XP and it works perfectly.  Tried on FF 2.0.0.12 on both Windows XP and Ubuntu gutsy and the dynamic height does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SHINDIG-130) "parentRelayUrl" : "/gadgets/files/container/rpc_relay.html" cross domain not working in FF 2.0.0.12

Posted by "Martin Webb (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Webb updated SHINDIG-130:
--------------------------------

    Attachment: sample2-1.html

> "parentRelayUrl" : "/gadgets/files/container/rpc_relay.html" cross domain not working in FF 2.0.0.12
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-130
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-130
>             Project: Shindig
>          Issue Type: Bug
>          Components: Gadgets Server - Java
>         Environment: FF 2.0.0.12 on both
> Windows XP
> Ubuntu gutsy
>            Reporter: Martin Webb
>         Attachments: sample2-1.html
>
>
> Attached test case (enhanced version of sampl2.html) - run this on any other server other than localhost:8080 - I have successfully tested FF 3.0b on Windows XP and it works perfectly.  Tried on FF 2.0.0.12 on both Windows XP and Ubuntu gutsy and the dynamic height does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.