You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Neo Anderson <ne...@googlemail.com> on 2008/03/06 14:52:44 UTC

rpc ifpc

Firefox 3 beta 3 & Opera 9 uses rpc and FireFox 3 (< beta 3), IE 6 and IE 7
uses ifpc. I want to know, where does the container decide which technique
to use?

Currently, dynamic-height is not working in my system in FF 2.0.0.12 but it
is working in IE 7, IE 6, opera 9(I don't think about this and FF3 b3
because these uses rpc and hence works perfectly). So, if any bosy gives me
details about the ifpc js, it will be very helpful for me.

Re: rpc ifpc

Posted by Neo Anderson <ne...@googlemail.com>.
I modified the gadgets.js file and changed the parameter parentUrl_ =
'rpc_relay.html'.
Are there any other modifications to be made?

In my HTML page also I used

gadgets.container.setParentUrl('rpc_relay.html');

Are there any other modifications to be made?

How can I set separate relayUrl for each gadget?


On 3/11/08, Neo Anderson <ne...@googlemail.com> wrote:
>
> When I kept an alert statement in *emitInvisibleIframe()* function of
> rpc.js file, I am getting that alert in IE but I am not getting that alert
> in FireFox.
>
> I don't know why the function gadgets.rpc.receive function is not getting
> executed when I am testing my page in FF?
>
>
>  On 3/11/08, Zhen Wang <zh...@apache.org> wrote:
> >
> > gadgets.rpc.process gets called when an rpc request is received.
> > BTW, the file ifpc.js is not even used for rpc calls.
> >
> > On Sun, Mar 9, 2008 at 2:48 AM, Neo Anderson
> > <ne...@googlemail.com> wrote:
> > > When ifpc is needed, what is the entry point for ifpc.js file?
> > >  Suppose if I am using FireFox 2, then rpc won't work. Then, which
> > ifpc
> > >  function it is going to call?
> > >
> > >
> > >
> > >
> > >  On 3/8/08, Neo Anderson <ne...@googlemail.com> wrote:
> > >  >
> > >  > Thank you Zhen.
> > >  > But I can't host the gadgets server on a public server because the
> > server
> > >  > on which I am hosting the JavaScript code doesn't support Java.
> > >  >
> > >  > Is there any other way?
> > >  >
> > >  > I haven't modified my gadgets server code.
> > >  >
> > >  >
> > >  > On 3/8/08, Zhen Wang <wa...@google.com> wrote:
> > >  > >
> > >  > > Hi Neo, we'll be able to help you troubleshoot the rpc problem if
> > your
> > >  > > Shindig server is publicly accessible.
> > >  > >
> > >  > > On Fri, Mar 7, 2008 at 4:45 AM, Neo Anderson
> > >  > > <ne...@googlemail.com> wrote:
> > >  > > > Look at it:
> > >  > > >  http://tech-test.tutorialsforu.com/Test.html
> > >  > > >
> > >  > > >  When I put the same code in my machine and run it, features
> > are
> > >  > > working in
> > >  > > >  IE (even in IE8), not in FF2.
> > >  > > >  When I upload it, then features are not working properly.
> > >  > > >
> > >  > > >  Take a look at the gadgets.js and  find why it is not working
> > in FF 2
> > >  > > in my
> > >  > > >  machine.
> > >  > > >
> > >  > > >  Why features are not working (In any browser except in Opera
> > 9) when
> > >  > > I
> > >  > > >  upload code?
> > >  > > >
> > >  > > >
> > >  > > >
> > >  > > >
> > >  > > >  On 3/7/08, Kevin Brown <et...@google.com> wrote:
> > >  > > >  >
> > >  > > >  > I'm running FF 2.0.0.12 on my windows XP machine and it's
> > working
> > >  > > fine for
> > >  > > >  > me. We're running the exact same thing that's checked into
> > svn
> > >  > > trunk on
> > >  > > >  > Orkut and aren't having any problems.
> > >  > > >  >
> > >  > > >  > As far as the contents of rpc_relay.html go...it's only a
> > 200 byte
> > >  > > file.
> > >  > > >  > It
> > >  > > >  > takes whatever is passed on the url fragment and passes it
> > to
> > >  > > >  > parent.parent.gadgets.rpc.receive().
> > >  > > >  >
> > >  > > >  > On Thu, Mar 6, 2008 at 10:09 PM, Neo Anderson <
> > >  > > >  > neoanderson123@googlemail.com>
> > >  > > >  > wrote:
> > >  > > >  >
> > >  > > >  > > dynamic-height and settitle are working fine in IE 8 b1,
> > IE 7,
> > >  > > IE6. But
> > >  > > >  > it
> > >  > > >  > > is not working in FF 2 (2.0.0.12).
> > >  > > >  > >
> > >  > > >  > > That is why I want to know about this.
> > >  > > >  > >
> > >  > > >  > >
> > >  > > >  > > On 3/7/08, *Neo Anderson* <ne...@googlemail.com>
> > wrote:
> > >  > > >  > > >
> > >  > > >  > > > Could some one give proper documentation for this
> > >  > > rpc_relay.html?
> > >  > > >  > > >
> > >  > > >  > > > How it works?
> > >  > > >  > > >
> > >  > > >  > > >
> > >  > > >  > > >  On 3/7/08, Kevin Brown <et...@google.com> wrote:
> > >  > > >  > > > >
> > >  > > >  > > > > You don't. The rpc_relay.html file calls
> > gadgets.rpc.processacross
> > >  > > >  > > > > frames.
> > >  > > >  > > > >
> > >  > > >  > > > > On Thu, Mar 6, 2008 at 7:29 AM, Neo Anderson <
> > >  > > >  > > > > neoanderson123@googlemail.com>
> > >  > > >  > > > > wrote:
> > >  > > >  > > > >
> > >  > > >  > > > > > If rpc is not supported, then from where we call and
> > use
> > >  > > ifpc
> > >  > > >  > > > > services?
> > >  > > >  > > > > >
> > >  > > >  > > > > > On 3/6/08, artemy tregoubenko <
> > atregoubenko@gmail.com>
> > >  > > wrote:
> > >  > > >  > > > > > >
> > >  > > >  > > > > > > afaik in other case method of gadgets.rpc will be
> > called
> > >  > > >  > directly
> > >  > > >  > > > > from
> > >  > > >  > > > > > > other frame
> > >  > > >  > > > > > >
> > >  > > >  > > > > > > On 3/6/08, Neo Anderson <
> > neoanderson123@googlemail.com>
> > >  > > wrote:
> > >  > > >  > > > > > > > Yeah, below that
> > >  > > >  > > > > > > >
> > >  > > >  > > > > > > >  if (relayChannel === 'dpm' || relayChannel ===
> > 'wpm')
> > >  > > {
> > >  > > >  > > > > > > >     document.addEventListener('message',
> > >  > > function(packet) {
> > >  > > >  > > > > > > >       // TODO validate packet.domain for
> > security
> > >  > > reasons
> > >  > > >  > > > > > > >       process(gadgets.json.parse(packet.data));
> > >  > > >  > > > > > > >     }, false);
> > >  > > >  > > > > > > >  }
> > >  > > >  > > > > > > >
> > >  > > >  > > > > > > >
> > >  > > >  > > > > > > >  and no else condition. So, I thought that here
> > you are
> > >  > > >  > handling
> > >  > > >  > > > > rpc
> > >  > > >  > > > > > > only.
> > >  > > >  > > > > > > >
> > >  > > >  > > > > > > >
> > >  > > >  > > > > > > >
> > >  > > >  > > > > > > >  On 3/6/08, Cassie <do...@apache.org> wrote:
> > >  > > >  > > > > > > >  >
> > >  > > >  > > > > > > >  > The logic is here:
> > >  > > >  > > > > > > >  >
> > >  > > >  > > > > > > >  >
> > >  > > >  > > > > > >
> > >  > > >  > > > > >
> > >  > > >  > > > >
> > >  > > >  > >
> > >  > > >  >
> > >  > >
> > http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js
> > >  > > >  > > > > > > >  >
> > >  > > >  > > > > > > >  > Around line 44 where it says "var
> > relayChannel =
> > >  > > ..."
> > >  > > >  > > > > > > >  >
> > >  > > >  > > > > > > >  > - Cassie
> > >  > > >  > > > > > > >  >
> > >  > > >  > > > > > > >  > On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson
> > <
> > >  > > >  > > > > > > >  > neoanderson123@googlemail.com>
> > >  > > >  > > > > > > >  > wrote:
> > >  > > >  > > > > > > >  >
> > >  > > >  > > > > > > >  > > Firefox 3 beta 3 & Opera 9 uses rpc and
> > FireFox 3
> > >  > > (< beta
> > >  > > >  > > 3),
> > >  > > >  > > > > IE
> > >  > > >  > > > > > 6
> > >  > > >  > > > > > > and
> > >  > > >  > > > > > > >  > IE
> > >  > > >  > > > > > > >  > > 7
> > >  > > >  > > > > > > >  > > uses ifpc. I want to know, where does the
> > >  > > container
> > >  > > >  > decide
> > >  > > >  > > > > which
> > >  > > >  > > > > > > >  > technique
> > >  > > >  > > > > > > >  > > to use?
> > >  > > >  > > > > > > >  > >
> > >  > > >  > > > > > > >  > > Currently, dynamic-height is not working in
> > my
> > >  > > system in
> > >  > > >  > FF
> > >  > > >  > > > > > > 2.0.0.12 but
> > >  > > >  > > > > > > >  > > it
> > >  > > >  > > > > > > >  > > is working in IE 7, IE 6, opera 9(I don't
> > think
> > >  > > about
> > >  > > >  > this
> > >  > > >  > > > > and
> > >  > > >  > > > > > FF3
> > >  > > >  > > > > > > b3
> > >  > > >  > > > > > > >  > > because these uses rpc and hence works
> > perfectly).
> > >  > > So, if
> > >  > > >  > > any
> > >  > > >  > > > > > bosy
> > >  > > >  > > > > > > gives
> > >  > > >  > > > > > > >  > > me
> > >  > > >  > > > > > > >  > > details about the ifpc js, it will be very
> > helpful
> > >  > > for
> > >  > > >  > me.
> > >  > > >  > > > > > > >  > >
> > >  > > >  > > > > > > >  >
> > >  > > >  > > > > > > >
> > >  > > >  > > > > > >
> > >  > > >  > > > > > >
> > >  > > >  > > > > > > --
> > >  > > >  > > > > > > arty ( http://arty.name )
> > >  > > >  > > > > > >
> > >  > > >  > > > > >
> > >  > > >  > > > >
> > >  > > >  > > > >
> > >  > > >  > > > >
> > >  > > >  > > > > --
> > >  > > >  > > > > ~Kevin
> > >  > > >  > > > >
> > >  > > >  > > >
> > >  > > >  > > >
> > >  > > >  > >
> > >  > > >  >
> > >  > > >  >
> > >  > > >  >
> > >  > > >  > --
> > >  > > >  > ~Kevin
> > >  > > >  >
> > >  > > >
> > >  > >
> > >  >
> > >  >
> > >
> >
>
>

Re: rpc ifpc

Posted by Neo Anderson <ne...@googlemail.com>.
When I kept an alert statement in *emitInvisibleIframe()* function of
rpc.jsfile, I am getting that alert in IE but I am not getting that
alert in
FireFox.

I don't know why the function gadgets.rpc.receive function is not getting
executed when I am testing my page in FF?


On 3/11/08, Zhen Wang <zh...@apache.org> wrote:
>
> gadgets.rpc.process gets called when an rpc request is received.
> BTW, the file ifpc.js is not even used for rpc calls.
>
> On Sun, Mar 9, 2008 at 2:48 AM, Neo Anderson
> <ne...@googlemail.com> wrote:
> > When ifpc is needed, what is the entry point for ifpc.js file?
> >  Suppose if I am using FireFox 2, then rpc won't work. Then, which ifpc
> >  function it is going to call?
> >
> >
> >
> >
> >  On 3/8/08, Neo Anderson <ne...@googlemail.com> wrote:
> >  >
> >  > Thank you Zhen.
> >  > But I can't host the gadgets server on a public server because the
> server
> >  > on which I am hosting the JavaScript code doesn't support Java.
> >  >
> >  > Is there any other way?
> >  >
> >  > I haven't modified my gadgets server code.
> >  >
> >  >
> >  > On 3/8/08, Zhen Wang <wa...@google.com> wrote:
> >  > >
> >  > > Hi Neo, we'll be able to help you troubleshoot the rpc problem if
> your
> >  > > Shindig server is publicly accessible.
> >  > >
> >  > > On Fri, Mar 7, 2008 at 4:45 AM, Neo Anderson
> >  > > <ne...@googlemail.com> wrote:
> >  > > > Look at it:
> >  > > >  http://tech-test.tutorialsforu.com/Test.html
> >  > > >
> >  > > >  When I put the same code in my machine and run it, features are
> >  > > working in
> >  > > >  IE (even in IE8), not in FF2.
> >  > > >  When I upload it, then features are not working properly.
> >  > > >
> >  > > >  Take a look at the gadgets.js and  find why it is not working in
> FF 2
> >  > > in my
> >  > > >  machine.
> >  > > >
> >  > > >  Why features are not working (In any browser except in Opera 9)
> when
> >  > > I
> >  > > >  upload code?
> >  > > >
> >  > > >
> >  > > >
> >  > > >
> >  > > >  On 3/7/08, Kevin Brown <et...@google.com> wrote:
> >  > > >  >
> >  > > >  > I'm running FF 2.0.0.12 on my windows XP machine and it's
> working
> >  > > fine for
> >  > > >  > me. We're running the exact same thing that's checked into svn
> >  > > trunk on
> >  > > >  > Orkut and aren't having any problems.
> >  > > >  >
> >  > > >  > As far as the contents of rpc_relay.html go...it's only a 200
> byte
> >  > > file.
> >  > > >  > It
> >  > > >  > takes whatever is passed on the url fragment and passes it to
> >  > > >  > parent.parent.gadgets.rpc.receive().
> >  > > >  >
> >  > > >  > On Thu, Mar 6, 2008 at 10:09 PM, Neo Anderson <
> >  > > >  > neoanderson123@googlemail.com>
> >  > > >  > wrote:
> >  > > >  >
> >  > > >  > > dynamic-height and settitle are working fine in IE 8 b1, IE
> 7,
> >  > > IE6. But
> >  > > >  > it
> >  > > >  > > is not working in FF 2 (2.0.0.12).
> >  > > >  > >
> >  > > >  > > That is why I want to know about this.
> >  > > >  > >
> >  > > >  > >
> >  > > >  > > On 3/7/08, *Neo Anderson* <ne...@googlemail.com>
> wrote:
> >  > > >  > > >
> >  > > >  > > > Could some one give proper documentation for this
> >  > > rpc_relay.html?
> >  > > >  > > >
> >  > > >  > > > How it works?
> >  > > >  > > >
> >  > > >  > > >
> >  > > >  > > >  On 3/7/08, Kevin Brown <et...@google.com> wrote:
> >  > > >  > > > >
> >  > > >  > > > > You don't. The rpc_relay.html file calls
> gadgets.rpc.processacross
> >  > > >  > > > > frames.
> >  > > >  > > > >
> >  > > >  > > > > On Thu, Mar 6, 2008 at 7:29 AM, Neo Anderson <
> >  > > >  > > > > neoanderson123@googlemail.com>
> >  > > >  > > > > wrote:
> >  > > >  > > > >
> >  > > >  > > > > > If rpc is not supported, then from where we call and
> use
> >  > > ifpc
> >  > > >  > > > > services?
> >  > > >  > > > > >
> >  > > >  > > > > > On 3/6/08, artemy tregoubenko <at...@gmail.com>
> >  > > wrote:
> >  > > >  > > > > > >
> >  > > >  > > > > > > afaik in other case method of gadgets.rpc will be
> called
> >  > > >  > directly
> >  > > >  > > > > from
> >  > > >  > > > > > > other frame
> >  > > >  > > > > > >
> >  > > >  > > > > > > On 3/6/08, Neo Anderson <
> neoanderson123@googlemail.com>
> >  > > wrote:
> >  > > >  > > > > > > > Yeah, below that
> >  > > >  > > > > > > >
> >  > > >  > > > > > > >  if (relayChannel === 'dpm' || relayChannel ===
> 'wpm')
> >  > > {
> >  > > >  > > > > > > >     document.addEventListener('message',
> >  > > function(packet) {
> >  > > >  > > > > > > >       // TODO validate packet.domain for security
> >  > > reasons
> >  > > >  > > > > > > >       process(gadgets.json.parse(packet.data));
> >  > > >  > > > > > > >     }, false);
> >  > > >  > > > > > > >  }
> >  > > >  > > > > > > >
> >  > > >  > > > > > > >
> >  > > >  > > > > > > >  and no else condition. So, I thought that here
> you are
> >  > > >  > handling
> >  > > >  > > > > rpc
> >  > > >  > > > > > > only.
> >  > > >  > > > > > > >
> >  > > >  > > > > > > >
> >  > > >  > > > > > > >
> >  > > >  > > > > > > >  On 3/6/08, Cassie <do...@apache.org> wrote:
> >  > > >  > > > > > > >  >
> >  > > >  > > > > > > >  > The logic is here:
> >  > > >  > > > > > > >  >
> >  > > >  > > > > > > >  >
> >  > > >  > > > > > >
> >  > > >  > > > > >
> >  > > >  > > > >
> >  > > >  > >
> >  > > >  >
> >  > >
> http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js
> >  > > >  > > > > > > >  >
> >  > > >  > > > > > > >  > Around line 44 where it says "var relayChannel
> =
> >  > > ..."
> >  > > >  > > > > > > >  >
> >  > > >  > > > > > > >  > - Cassie
> >  > > >  > > > > > > >  >
> >  > > >  > > > > > > >  > On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson <
> >  > > >  > > > > > > >  > neoanderson123@googlemail.com>
> >  > > >  > > > > > > >  > wrote:
> >  > > >  > > > > > > >  >
> >  > > >  > > > > > > >  > > Firefox 3 beta 3 & Opera 9 uses rpc and
> FireFox 3
> >  > > (< beta
> >  > > >  > > 3),
> >  > > >  > > > > IE
> >  > > >  > > > > > 6
> >  > > >  > > > > > > and
> >  > > >  > > > > > > >  > IE
> >  > > >  > > > > > > >  > > 7
> >  > > >  > > > > > > >  > > uses ifpc. I want to know, where does the
> >  > > container
> >  > > >  > decide
> >  > > >  > > > > which
> >  > > >  > > > > > > >  > technique
> >  > > >  > > > > > > >  > > to use?
> >  > > >  > > > > > > >  > >
> >  > > >  > > > > > > >  > > Currently, dynamic-height is not working in
> my
> >  > > system in
> >  > > >  > FF
> >  > > >  > > > > > > 2.0.0.12 but
> >  > > >  > > > > > > >  > > it
> >  > > >  > > > > > > >  > > is working in IE 7, IE 6, opera 9(I don't
> think
> >  > > about
> >  > > >  > this
> >  > > >  > > > > and
> >  > > >  > > > > > FF3
> >  > > >  > > > > > > b3
> >  > > >  > > > > > > >  > > because these uses rpc and hence works
> perfectly).
> >  > > So, if
> >  > > >  > > any
> >  > > >  > > > > > bosy
> >  > > >  > > > > > > gives
> >  > > >  > > > > > > >  > > me
> >  > > >  > > > > > > >  > > details about the ifpc js, it will be very
> helpful
> >  > > for
> >  > > >  > me.
> >  > > >  > > > > > > >  > >
> >  > > >  > > > > > > >  >
> >  > > >  > > > > > > >
> >  > > >  > > > > > >
> >  > > >  > > > > > >
> >  > > >  > > > > > > --
> >  > > >  > > > > > > arty ( http://arty.name )
> >  > > >  > > > > > >
> >  > > >  > > > > >
> >  > > >  > > > >
> >  > > >  > > > >
> >  > > >  > > > >
> >  > > >  > > > > --
> >  > > >  > > > > ~Kevin
> >  > > >  > > > >
> >  > > >  > > >
> >  > > >  > > >
> >  > > >  > >
> >  > > >  >
> >  > > >  >
> >  > > >  >
> >  > > >  > --
> >  > > >  > ~Kevin
> >  > > >  >
> >  > > >
> >  > >
> >  >
> >  >
> >
>

Re: rpc ifpc

Posted by Zhen Wang <zh...@apache.org>.
gadgets.rpc.process gets called when an rpc request is received.
BTW, the file ifpc.js is not even used for rpc calls.

On Sun, Mar 9, 2008 at 2:48 AM, Neo Anderson
<ne...@googlemail.com> wrote:
> When ifpc is needed, what is the entry point for ifpc.js file?
>  Suppose if I am using FireFox 2, then rpc won't work. Then, which ifpc
>  function it is going to call?
>
>
>
>
>  On 3/8/08, Neo Anderson <ne...@googlemail.com> wrote:
>  >
>  > Thank you Zhen.
>  > But I can't host the gadgets server on a public server because the server
>  > on which I am hosting the JavaScript code doesn't support Java.
>  >
>  > Is there any other way?
>  >
>  > I haven't modified my gadgets server code.
>  >
>  >
>  > On 3/8/08, Zhen Wang <wa...@google.com> wrote:
>  > >
>  > > Hi Neo, we'll be able to help you troubleshoot the rpc problem if your
>  > > Shindig server is publicly accessible.
>  > >
>  > > On Fri, Mar 7, 2008 at 4:45 AM, Neo Anderson
>  > > <ne...@googlemail.com> wrote:
>  > > > Look at it:
>  > > >  http://tech-test.tutorialsforu.com/Test.html
>  > > >
>  > > >  When I put the same code in my machine and run it, features are
>  > > working in
>  > > >  IE (even in IE8), not in FF2.
>  > > >  When I upload it, then features are not working properly.
>  > > >
>  > > >  Take a look at the gadgets.js and  find why it is not working in FF 2
>  > > in my
>  > > >  machine.
>  > > >
>  > > >  Why features are not working (In any browser except in Opera 9) when
>  > > I
>  > > >  upload code?
>  > > >
>  > > >
>  > > >
>  > > >
>  > > >  On 3/7/08, Kevin Brown <et...@google.com> wrote:
>  > > >  >
>  > > >  > I'm running FF 2.0.0.12 on my windows XP machine and it's working
>  > > fine for
>  > > >  > me. We're running the exact same thing that's checked into svn
>  > > trunk on
>  > > >  > Orkut and aren't having any problems.
>  > > >  >
>  > > >  > As far as the contents of rpc_relay.html go...it's only a 200 byte
>  > > file.
>  > > >  > It
>  > > >  > takes whatever is passed on the url fragment and passes it to
>  > > >  > parent.parent.gadgets.rpc.receive().
>  > > >  >
>  > > >  > On Thu, Mar 6, 2008 at 10:09 PM, Neo Anderson <
>  > > >  > neoanderson123@googlemail.com>
>  > > >  > wrote:
>  > > >  >
>  > > >  > > dynamic-height and settitle are working fine in IE 8 b1, IE 7,
>  > > IE6. But
>  > > >  > it
>  > > >  > > is not working in FF 2 (2.0.0.12).
>  > > >  > >
>  > > >  > > That is why I want to know about this.
>  > > >  > >
>  > > >  > >
>  > > >  > > On 3/7/08, *Neo Anderson* <ne...@googlemail.com> wrote:
>  > > >  > > >
>  > > >  > > > Could some one give proper documentation for this
>  > > rpc_relay.html?
>  > > >  > > >
>  > > >  > > > How it works?
>  > > >  > > >
>  > > >  > > >
>  > > >  > > >  On 3/7/08, Kevin Brown <et...@google.com> wrote:
>  > > >  > > > >
>  > > >  > > > > You don't. The rpc_relay.html file calls gadgets.rpc.processacross
>  > > >  > > > > frames.
>  > > >  > > > >
>  > > >  > > > > On Thu, Mar 6, 2008 at 7:29 AM, Neo Anderson <
>  > > >  > > > > neoanderson123@googlemail.com>
>  > > >  > > > > wrote:
>  > > >  > > > >
>  > > >  > > > > > If rpc is not supported, then from where we call and use
>  > > ifpc
>  > > >  > > > > services?
>  > > >  > > > > >
>  > > >  > > > > > On 3/6/08, artemy tregoubenko <at...@gmail.com>
>  > > wrote:
>  > > >  > > > > > >
>  > > >  > > > > > > afaik in other case method of gadgets.rpc will be called
>  > > >  > directly
>  > > >  > > > > from
>  > > >  > > > > > > other frame
>  > > >  > > > > > >
>  > > >  > > > > > > On 3/6/08, Neo Anderson <ne...@googlemail.com>
>  > > wrote:
>  > > >  > > > > > > > Yeah, below that
>  > > >  > > > > > > >
>  > > >  > > > > > > >  if (relayChannel === 'dpm' || relayChannel === 'wpm')
>  > > {
>  > > >  > > > > > > >     document.addEventListener('message',
>  > > function(packet) {
>  > > >  > > > > > > >       // TODO validate packet.domain for security
>  > > reasons
>  > > >  > > > > > > >       process(gadgets.json.parse(packet.data));
>  > > >  > > > > > > >     }, false);
>  > > >  > > > > > > >  }
>  > > >  > > > > > > >
>  > > >  > > > > > > >
>  > > >  > > > > > > >  and no else condition. So, I thought that here you are
>  > > >  > handling
>  > > >  > > > > rpc
>  > > >  > > > > > > only.
>  > > >  > > > > > > >
>  > > >  > > > > > > >
>  > > >  > > > > > > >
>  > > >  > > > > > > >  On 3/6/08, Cassie <do...@apache.org> wrote:
>  > > >  > > > > > > >  >
>  > > >  > > > > > > >  > The logic is here:
>  > > >  > > > > > > >  >
>  > > >  > > > > > > >  >
>  > > >  > > > > > >
>  > > >  > > > > >
>  > > >  > > > >
>  > > >  > >
>  > > >  >
>  > > http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js
>  > > >  > > > > > > >  >
>  > > >  > > > > > > >  > Around line 44 where it says "var relayChannel =
>  > > ..."
>  > > >  > > > > > > >  >
>  > > >  > > > > > > >  > - Cassie
>  > > >  > > > > > > >  >
>  > > >  > > > > > > >  > On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson <
>  > > >  > > > > > > >  > neoanderson123@googlemail.com>
>  > > >  > > > > > > >  > wrote:
>  > > >  > > > > > > >  >
>  > > >  > > > > > > >  > > Firefox 3 beta 3 & Opera 9 uses rpc and FireFox 3
>  > > (< beta
>  > > >  > > 3),
>  > > >  > > > > IE
>  > > >  > > > > > 6
>  > > >  > > > > > > and
>  > > >  > > > > > > >  > IE
>  > > >  > > > > > > >  > > 7
>  > > >  > > > > > > >  > > uses ifpc. I want to know, where does the
>  > > container
>  > > >  > decide
>  > > >  > > > > which
>  > > >  > > > > > > >  > technique
>  > > >  > > > > > > >  > > to use?
>  > > >  > > > > > > >  > >
>  > > >  > > > > > > >  > > Currently, dynamic-height is not working in my
>  > > system in
>  > > >  > FF
>  > > >  > > > > > > 2.0.0.12 but
>  > > >  > > > > > > >  > > it
>  > > >  > > > > > > >  > > is working in IE 7, IE 6, opera 9(I don't think
>  > > about
>  > > >  > this
>  > > >  > > > > and
>  > > >  > > > > > FF3
>  > > >  > > > > > > b3
>  > > >  > > > > > > >  > > because these uses rpc and hence works perfectly).
>  > > So, if
>  > > >  > > any
>  > > >  > > > > > bosy
>  > > >  > > > > > > gives
>  > > >  > > > > > > >  > > me
>  > > >  > > > > > > >  > > details about the ifpc js, it will be very helpful
>  > > for
>  > > >  > me.
>  > > >  > > > > > > >  > >
>  > > >  > > > > > > >  >
>  > > >  > > > > > > >
>  > > >  > > > > > >
>  > > >  > > > > > >
>  > > >  > > > > > > --
>  > > >  > > > > > > arty ( http://arty.name )
>  > > >  > > > > > >
>  > > >  > > > > >
>  > > >  > > > >
>  > > >  > > > >
>  > > >  > > > >
>  > > >  > > > > --
>  > > >  > > > > ~Kevin
>  > > >  > > > >
>  > > >  > > >
>  > > >  > > >
>  > > >  > >
>  > > >  >
>  > > >  >
>  > > >  >
>  > > >  > --
>  > > >  > ~Kevin
>  > > >  >
>  > > >
>  > >
>  >
>  >
>

Re: rpc ifpc

Posted by Neo Anderson <ne...@googlemail.com>.
When ifpc is needed, what is the entry point for ifpc.js file?
Suppose if I am using FireFox 2, then rpc won't work. Then, which ifpc
function it is going to call?


On 3/8/08, Neo Anderson <ne...@googlemail.com> wrote:
>
> Thank you Zhen.
> But I can't host the gadgets server on a public server because the server
> on which I am hosting the JavaScript code doesn't support Java.
>
> Is there any other way?
>
> I haven't modified my gadgets server code.
>
>
> On 3/8/08, Zhen Wang <wa...@google.com> wrote:
> >
> > Hi Neo, we'll be able to help you troubleshoot the rpc problem if your
> > Shindig server is publicly accessible.
> >
> > On Fri, Mar 7, 2008 at 4:45 AM, Neo Anderson
> > <ne...@googlemail.com> wrote:
> > > Look at it:
> > >  http://tech-test.tutorialsforu.com/Test.html
> > >
> > >  When I put the same code in my machine and run it, features are
> > working in
> > >  IE (even in IE8), not in FF2.
> > >  When I upload it, then features are not working properly.
> > >
> > >  Take a look at the gadgets.js and  find why it is not working in FF 2
> > in my
> > >  machine.
> > >
> > >  Why features are not working (In any browser except in Opera 9) when
> > I
> > >  upload code?
> > >
> > >
> > >
> > >
> > >  On 3/7/08, Kevin Brown <et...@google.com> wrote:
> > >  >
> > >  > I'm running FF 2.0.0.12 on my windows XP machine and it's working
> > fine for
> > >  > me. We're running the exact same thing that's checked into svn
> > trunk on
> > >  > Orkut and aren't having any problems.
> > >  >
> > >  > As far as the contents of rpc_relay.html go...it's only a 200 byte
> > file.
> > >  > It
> > >  > takes whatever is passed on the url fragment and passes it to
> > >  > parent.parent.gadgets.rpc.receive().
> > >  >
> > >  > On Thu, Mar 6, 2008 at 10:09 PM, Neo Anderson <
> > >  > neoanderson123@googlemail.com>
> > >  > wrote:
> > >  >
> > >  > > dynamic-height and settitle are working fine in IE 8 b1, IE 7,
> > IE6. But
> > >  > it
> > >  > > is not working in FF 2 (2.0.0.12).
> > >  > >
> > >  > > That is why I want to know about this.
> > >  > >
> > >  > >
> > >  > > On 3/7/08, *Neo Anderson* <ne...@googlemail.com> wrote:
> > >  > > >
> > >  > > > Could some one give proper documentation for this
> > rpc_relay.html?
> > >  > > >
> > >  > > > How it works?
> > >  > > >
> > >  > > >
> > >  > > >  On 3/7/08, Kevin Brown <et...@google.com> wrote:
> > >  > > > >
> > >  > > > > You don't. The rpc_relay.html file calls gadgets.rpc.processacross
> > >  > > > > frames.
> > >  > > > >
> > >  > > > > On Thu, Mar 6, 2008 at 7:29 AM, Neo Anderson <
> > >  > > > > neoanderson123@googlemail.com>
> > >  > > > > wrote:
> > >  > > > >
> > >  > > > > > If rpc is not supported, then from where we call and use
> > ifpc
> > >  > > > > services?
> > >  > > > > >
> > >  > > > > > On 3/6/08, artemy tregoubenko <at...@gmail.com>
> > wrote:
> > >  > > > > > >
> > >  > > > > > > afaik in other case method of gadgets.rpc will be called
> > >  > directly
> > >  > > > > from
> > >  > > > > > > other frame
> > >  > > > > > >
> > >  > > > > > > On 3/6/08, Neo Anderson <ne...@googlemail.com>
> > wrote:
> > >  > > > > > > > Yeah, below that
> > >  > > > > > > >
> > >  > > > > > > >  if (relayChannel === 'dpm' || relayChannel === 'wpm')
> > {
> > >  > > > > > > >     document.addEventListener('message',
> > function(packet) {
> > >  > > > > > > >       // TODO validate packet.domain for security
> > reasons
> > >  > > > > > > >       process(gadgets.json.parse(packet.data));
> > >  > > > > > > >     }, false);
> > >  > > > > > > >  }
> > >  > > > > > > >
> > >  > > > > > > >
> > >  > > > > > > >  and no else condition. So, I thought that here you are
> > >  > handling
> > >  > > > > rpc
> > >  > > > > > > only.
> > >  > > > > > > >
> > >  > > > > > > >
> > >  > > > > > > >
> > >  > > > > > > >  On 3/6/08, Cassie <do...@apache.org> wrote:
> > >  > > > > > > >  >
> > >  > > > > > > >  > The logic is here:
> > >  > > > > > > >  >
> > >  > > > > > > >  >
> > >  > > > > > >
> > >  > > > > >
> > >  > > > >
> > >  > >
> > >  >
> > http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js
> > >  > > > > > > >  >
> > >  > > > > > > >  > Around line 44 where it says "var relayChannel =
> > ..."
> > >  > > > > > > >  >
> > >  > > > > > > >  > - Cassie
> > >  > > > > > > >  >
> > >  > > > > > > >  > On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson <
> > >  > > > > > > >  > neoanderson123@googlemail.com>
> > >  > > > > > > >  > wrote:
> > >  > > > > > > >  >
> > >  > > > > > > >  > > Firefox 3 beta 3 & Opera 9 uses rpc and FireFox 3
> > (< beta
> > >  > > 3),
> > >  > > > > IE
> > >  > > > > > 6
> > >  > > > > > > and
> > >  > > > > > > >  > IE
> > >  > > > > > > >  > > 7
> > >  > > > > > > >  > > uses ifpc. I want to know, where does the
> > container
> > >  > decide
> > >  > > > > which
> > >  > > > > > > >  > technique
> > >  > > > > > > >  > > to use?
> > >  > > > > > > >  > >
> > >  > > > > > > >  > > Currently, dynamic-height is not working in my
> > system in
> > >  > FF
> > >  > > > > > > 2.0.0.12 but
> > >  > > > > > > >  > > it
> > >  > > > > > > >  > > is working in IE 7, IE 6, opera 9(I don't think
> > about
> > >  > this
> > >  > > > > and
> > >  > > > > > FF3
> > >  > > > > > > b3
> > >  > > > > > > >  > > because these uses rpc and hence works perfectly).
> > So, if
> > >  > > any
> > >  > > > > > bosy
> > >  > > > > > > gives
> > >  > > > > > > >  > > me
> > >  > > > > > > >  > > details about the ifpc js, it will be very helpful
> > for
> > >  > me.
> > >  > > > > > > >  > >
> > >  > > > > > > >  >
> > >  > > > > > > >
> > >  > > > > > >
> > >  > > > > > >
> > >  > > > > > > --
> > >  > > > > > > arty ( http://arty.name )
> > >  > > > > > >
> > >  > > > > >
> > >  > > > >
> > >  > > > >
> > >  > > > >
> > >  > > > > --
> > >  > > > > ~Kevin
> > >  > > > >
> > >  > > >
> > >  > > >
> > >  > >
> > >  >
> > >  >
> > >  >
> > >  > --
> > >  > ~Kevin
> > >  >
> > >
> >
>
>

Re: rpc ifpc

Posted by Neo Anderson <ne...@googlemail.com>.
Thank you Zhen.
But I can't host the gadgets server on a public server because the server on
which I am hosting the JavaScript code doesn't support Java.

Is there any other way?

I haven't modified my gadgets server code.


On 3/8/08, Zhen Wang <wa...@google.com> wrote:
>
> Hi Neo, we'll be able to help you troubleshoot the rpc problem if your
> Shindig server is publicly accessible.
>
> On Fri, Mar 7, 2008 at 4:45 AM, Neo Anderson
> <ne...@googlemail.com> wrote:
> > Look at it:
> >  http://tech-test.tutorialsforu.com/Test.html
> >
> >  When I put the same code in my machine and run it, features are working
> in
> >  IE (even in IE8), not in FF2.
> >  When I upload it, then features are not working properly.
> >
> >  Take a look at the gadgets.js and  find why it is not working in FF 2
> in my
> >  machine.
> >
> >  Why features are not working (In any browser except in Opera 9) when I
> >  upload code?
> >
> >
> >
> >
> >  On 3/7/08, Kevin Brown <et...@google.com> wrote:
> >  >
> >  > I'm running FF 2.0.0.12 on my windows XP machine and it's working
> fine for
> >  > me. We're running the exact same thing that's checked into svn trunk
> on
> >  > Orkut and aren't having any problems.
> >  >
> >  > As far as the contents of rpc_relay.html go...it's only a 200 byte
> file.
> >  > It
> >  > takes whatever is passed on the url fragment and passes it to
> >  > parent.parent.gadgets.rpc.receive().
> >  >
> >  > On Thu, Mar 6, 2008 at 10:09 PM, Neo Anderson <
> >  > neoanderson123@googlemail.com>
> >  > wrote:
> >  >
> >  > > dynamic-height and settitle are working fine in IE 8 b1, IE 7, IE6.
> But
> >  > it
> >  > > is not working in FF 2 (2.0.0.12).
> >  > >
> >  > > That is why I want to know about this.
> >  > >
> >  > >
> >  > > On 3/7/08, *Neo Anderson* <ne...@googlemail.com> wrote:
> >  > > >
> >  > > > Could some one give proper documentation for this rpc_relay.html?
> >  > > >
> >  > > > How it works?
> >  > > >
> >  > > >
> >  > > >  On 3/7/08, Kevin Brown <et...@google.com> wrote:
> >  > > > >
> >  > > > > You don't. The rpc_relay.html file calls gadgets.rpc.processacross
> >  > > > > frames.
> >  > > > >
> >  > > > > On Thu, Mar 6, 2008 at 7:29 AM, Neo Anderson <
> >  > > > > neoanderson123@googlemail.com>
> >  > > > > wrote:
> >  > > > >
> >  > > > > > If rpc is not supported, then from where we call and use ifpc
> >  > > > > services?
> >  > > > > >
> >  > > > > > On 3/6/08, artemy tregoubenko <at...@gmail.com> wrote:
> >  > > > > > >
> >  > > > > > > afaik in other case method of gadgets.rpc will be called
> >  > directly
> >  > > > > from
> >  > > > > > > other frame
> >  > > > > > >
> >  > > > > > > On 3/6/08, Neo Anderson <ne...@googlemail.com>
> wrote:
> >  > > > > > > > Yeah, below that
> >  > > > > > > >
> >  > > > > > > >  if (relayChannel === 'dpm' || relayChannel === 'wpm') {
> >  > > > > > > >     document.addEventListener('message', function(packet)
> {
> >  > > > > > > >       // TODO validate packet.domain for security reasons
> >  > > > > > > >       process(gadgets.json.parse(packet.data));
> >  > > > > > > >     }, false);
> >  > > > > > > >  }
> >  > > > > > > >
> >  > > > > > > >
> >  > > > > > > >  and no else condition. So, I thought that here you are
> >  > handling
> >  > > > > rpc
> >  > > > > > > only.
> >  > > > > > > >
> >  > > > > > > >
> >  > > > > > > >
> >  > > > > > > >  On 3/6/08, Cassie <do...@apache.org> wrote:
> >  > > > > > > >  >
> >  > > > > > > >  > The logic is here:
> >  > > > > > > >  >
> >  > > > > > > >  >
> >  > > > > > >
> >  > > > > >
> >  > > > >
> >  > >
> >  >
> http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js
> >  > > > > > > >  >
> >  > > > > > > >  > Around line 44 where it says "var relayChannel = ..."
> >  > > > > > > >  >
> >  > > > > > > >  > - Cassie
> >  > > > > > > >  >
> >  > > > > > > >  > On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson <
> >  > > > > > > >  > neoanderson123@googlemail.com>
> >  > > > > > > >  > wrote:
> >  > > > > > > >  >
> >  > > > > > > >  > > Firefox 3 beta 3 & Opera 9 uses rpc and FireFox 3 (<
> beta
> >  > > 3),
> >  > > > > IE
> >  > > > > > 6
> >  > > > > > > and
> >  > > > > > > >  > IE
> >  > > > > > > >  > > 7
> >  > > > > > > >  > > uses ifpc. I want to know, where does the container
> >  > decide
> >  > > > > which
> >  > > > > > > >  > technique
> >  > > > > > > >  > > to use?
> >  > > > > > > >  > >
> >  > > > > > > >  > > Currently, dynamic-height is not working in my
> system in
> >  > FF
> >  > > > > > > 2.0.0.12 but
> >  > > > > > > >  > > it
> >  > > > > > > >  > > is working in IE 7, IE 6, opera 9(I don't think
> about
> >  > this
> >  > > > > and
> >  > > > > > FF3
> >  > > > > > > b3
> >  > > > > > > >  > > because these uses rpc and hence works perfectly).
> So, if
> >  > > any
> >  > > > > > bosy
> >  > > > > > > gives
> >  > > > > > > >  > > me
> >  > > > > > > >  > > details about the ifpc js, it will be very helpful
> for
> >  > me.
> >  > > > > > > >  > >
> >  > > > > > > >  >
> >  > > > > > > >
> >  > > > > > >
> >  > > > > > >
> >  > > > > > > --
> >  > > > > > > arty ( http://arty.name )
> >  > > > > > >
> >  > > > > >
> >  > > > >
> >  > > > >
> >  > > > >
> >  > > > > --
> >  > > > > ~Kevin
> >  > > > >
> >  > > >
> >  > > >
> >  > >
> >  >
> >  >
> >  >
> >  > --
> >  > ~Kevin
> >  >
> >
>

Re: rpc ifpc

Posted by Zhen Wang <wa...@google.com>.
Hi Neo, we'll be able to help you troubleshoot the rpc problem if your
Shindig server is publicly accessible.

On Fri, Mar 7, 2008 at 4:45 AM, Neo Anderson
<ne...@googlemail.com> wrote:
> Look at it:
>  http://tech-test.tutorialsforu.com/Test.html
>
>  When I put the same code in my machine and run it, features are working in
>  IE (even in IE8), not in FF2.
>  When I upload it, then features are not working properly.
>
>  Take a look at the gadgets.js and  find why it is not working in FF 2 in my
>  machine.
>
>  Why features are not working (In any browser except in Opera 9) when I
>  upload code?
>
>
>
>
>  On 3/7/08, Kevin Brown <et...@google.com> wrote:
>  >
>  > I'm running FF 2.0.0.12 on my windows XP machine and it's working fine for
>  > me. We're running the exact same thing that's checked into svn trunk on
>  > Orkut and aren't having any problems.
>  >
>  > As far as the contents of rpc_relay.html go...it's only a 200 byte file.
>  > It
>  > takes whatever is passed on the url fragment and passes it to
>  > parent.parent.gadgets.rpc.receive().
>  >
>  > On Thu, Mar 6, 2008 at 10:09 PM, Neo Anderson <
>  > neoanderson123@googlemail.com>
>  > wrote:
>  >
>  > > dynamic-height and settitle are working fine in IE 8 b1, IE 7, IE6. But
>  > it
>  > > is not working in FF 2 (2.0.0.12).
>  > >
>  > > That is why I want to know about this.
>  > >
>  > >
>  > > On 3/7/08, *Neo Anderson* <ne...@googlemail.com> wrote:
>  > > >
>  > > > Could some one give proper documentation for this rpc_relay.html?
>  > > >
>  > > > How it works?
>  > > >
>  > > >
>  > > >  On 3/7/08, Kevin Brown <et...@google.com> wrote:
>  > > > >
>  > > > > You don't. The rpc_relay.html file calls gadgets.rpc.process across
>  > > > > frames.
>  > > > >
>  > > > > On Thu, Mar 6, 2008 at 7:29 AM, Neo Anderson <
>  > > > > neoanderson123@googlemail.com>
>  > > > > wrote:
>  > > > >
>  > > > > > If rpc is not supported, then from where we call and use ifpc
>  > > > > services?
>  > > > > >
>  > > > > > On 3/6/08, artemy tregoubenko <at...@gmail.com> wrote:
>  > > > > > >
>  > > > > > > afaik in other case method of gadgets.rpc will be called
>  > directly
>  > > > > from
>  > > > > > > other frame
>  > > > > > >
>  > > > > > > On 3/6/08, Neo Anderson <ne...@googlemail.com> wrote:
>  > > > > > > > Yeah, below that
>  > > > > > > >
>  > > > > > > >  if (relayChannel === 'dpm' || relayChannel === 'wpm') {
>  > > > > > > >     document.addEventListener('message', function(packet) {
>  > > > > > > >       // TODO validate packet.domain for security reasons
>  > > > > > > >       process(gadgets.json.parse(packet.data));
>  > > > > > > >     }, false);
>  > > > > > > >  }
>  > > > > > > >
>  > > > > > > >
>  > > > > > > >  and no else condition. So, I thought that here you are
>  > handling
>  > > > > rpc
>  > > > > > > only.
>  > > > > > > >
>  > > > > > > >
>  > > > > > > >
>  > > > > > > >  On 3/6/08, Cassie <do...@apache.org> wrote:
>  > > > > > > >  >
>  > > > > > > >  > The logic is here:
>  > > > > > > >  >
>  > > > > > > >  >
>  > > > > > >
>  > > > > >
>  > > > >
>  > >
>  > http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js
>  > > > > > > >  >
>  > > > > > > >  > Around line 44 where it says "var relayChannel = ..."
>  > > > > > > >  >
>  > > > > > > >  > - Cassie
>  > > > > > > >  >
>  > > > > > > >  > On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson <
>  > > > > > > >  > neoanderson123@googlemail.com>
>  > > > > > > >  > wrote:
>  > > > > > > >  >
>  > > > > > > >  > > Firefox 3 beta 3 & Opera 9 uses rpc and FireFox 3 (< beta
>  > > 3),
>  > > > > IE
>  > > > > > 6
>  > > > > > > and
>  > > > > > > >  > IE
>  > > > > > > >  > > 7
>  > > > > > > >  > > uses ifpc. I want to know, where does the container
>  > decide
>  > > > > which
>  > > > > > > >  > technique
>  > > > > > > >  > > to use?
>  > > > > > > >  > >
>  > > > > > > >  > > Currently, dynamic-height is not working in my system in
>  > FF
>  > > > > > > 2.0.0.12 but
>  > > > > > > >  > > it
>  > > > > > > >  > > is working in IE 7, IE 6, opera 9(I don't think about
>  > this
>  > > > > and
>  > > > > > FF3
>  > > > > > > b3
>  > > > > > > >  > > because these uses rpc and hence works perfectly). So, if
>  > > any
>  > > > > > bosy
>  > > > > > > gives
>  > > > > > > >  > > me
>  > > > > > > >  > > details about the ifpc js, it will be very helpful for
>  > me.
>  > > > > > > >  > >
>  > > > > > > >  >
>  > > > > > > >
>  > > > > > >
>  > > > > > >
>  > > > > > > --
>  > > > > > > arty ( http://arty.name )
>  > > > > > >
>  > > > > >
>  > > > >
>  > > > >
>  > > > >
>  > > > > --
>  > > > > ~Kevin
>  > > > >
>  > > >
>  > > >
>  > >
>  >
>  >
>  >
>  > --
>  > ~Kevin
>  >
>

Re: rpc ifpc

Posted by Neo Anderson <ne...@googlemail.com>.
Kevin, did you found any problem?

On 3/7/08, Neo Anderson <ne...@googlemail.com> wrote:
>
> Look at it:
> http://tech-test.tutorialsforu.com/Test.html
>
> When I put the same code in my machine and run it, features are working in
> IE (even in IE8), not in FF2.
> When I upload it, then features are not working properly.
>
> Take a look at the gadgets.js and  find why it is not working in FF 2 in
> my machine.
>
> Why features are not working (In any browser except in Opera 9) when I
> upload code?
>
>
>  On 3/7/08, Kevin Brown <et...@google.com> wrote:
> >
> > I'm running FF 2.0.0.12 on my windows XP machine and it's working fine
> > for
> > me. We're running the exact same thing that's checked into svn trunk on
> > Orkut and aren't having any problems.
> >
> > As far as the contents of rpc_relay.html go...it's only a 200 byte file.
> > It
> > takes whatever is passed on the url fragment and passes it to
> > parent.parent.gadgets.rpc.receive().
> >
> > On Thu, Mar 6, 2008 at 10:09 PM, Neo Anderson <
> > neoanderson123@googlemail.com>
> > wrote:
> >
> > > dynamic-height and settitle are working fine in IE 8 b1, IE 7, IE6.
> > But it
> > > is not working in FF 2 (2.0.0.12).
> > >
> > > That is why I want to know about this.
> > >
> > >
> > > On 3/7/08, *Neo Anderson* <ne...@googlemail.com> wrote:
> > > >
> > > > Could some one give proper documentation for this rpc_relay.html?
> > > >
> > > > How it works?
> > > >
> > > >
> > > >  On 3/7/08, Kevin Brown <et...@google.com> wrote:
> > > > >
> > > > > You don't. The rpc_relay.html file calls gadgets.rpc.processacross
> > > > > frames.
> > > > >
> > > > > On Thu, Mar 6, 2008 at 7:29 AM, Neo Anderson <
> > > > > neoanderson123@googlemail.com>
> > > > > wrote:
> > > > >
> > > > > > If rpc is not supported, then from where we call and use ifpc
> > > > > services?
> > > > > >
> > > > > > On 3/6/08, artemy tregoubenko <at...@gmail.com> wrote:
> > > > > > >
> > > > > > > afaik in other case method of gadgets.rpc will be called
> > directly
> > > > > from
> > > > > > > other frame
> > > > > > >
> > > > > > > On 3/6/08, Neo Anderson <ne...@googlemail.com> wrote:
> > > > > > > > Yeah, below that
> > > > > > > >
> > > > > > > >  if (relayChannel === 'dpm' || relayChannel === 'wpm') {
> > > > > > > >     document.addEventListener('message', function(packet) {
> > > > > > > >       // TODO validate packet.domain for security reasons
> > > > > > > >       process(gadgets.json.parse(packet.data));
> > > > > > > >     }, false);
> > > > > > > >  }
> > > > > > > >
> > > > > > > >
> > > > > > > >  and no else condition. So, I thought that here you are
> > handling
> > > > > rpc
> > > > > > > only.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >  On 3/6/08, Cassie <do...@apache.org> wrote:
> > > > > > > >  >
> > > > > > > >  > The logic is here:
> > > > > > > >  >
> > > > > > > >  >
> > > > > > >
> > > > > >
> > > > >
> > >
> > http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js
> > > > > > > >  >
> > > > > > > >  > Around line 44 where it says "var relayChannel = ..."
> > > > > > > >  >
> > > > > > > >  > - Cassie
> > > > > > > >  >
> > > > > > > >  > On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson <
> > > > > > > >  > neoanderson123@googlemail.com>
> > > > > > > >  > wrote:
> > > > > > > >  >
> > > > > > > >  > > Firefox 3 beta 3 & Opera 9 uses rpc and FireFox 3 (<
> > beta
> > > 3),
> > > > > IE
> > > > > > 6
> > > > > > > and
> > > > > > > >  > IE
> > > > > > > >  > > 7
> > > > > > > >  > > uses ifpc. I want to know, where does the container
> > decide
> > > > > which
> > > > > > > >  > technique
> > > > > > > >  > > to use?
> > > > > > > >  > >
> > > > > > > >  > > Currently, dynamic-height is not working in my system
> > in FF
> > > > > > > 2.0.0.12 but
> > > > > > > >  > > it
> > > > > > > >  > > is working in IE 7, IE 6, opera 9(I don't think about
> > this
> > > > > and
> > > > > > FF3
> > > > > > > b3
> > > > > > > >  > > because these uses rpc and hence works perfectly). So,
> > if
> > > any
> > > > > > bosy
> > > > > > > gives
> > > > > > > >  > > me
> > > > > > > >  > > details about the ifpc js, it will be very helpful for
> > me.
> > > > > > > >  > >
> > > > > > > >  >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > arty ( http://arty.name )
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > ~Kevin
> > > > >
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > ~Kevin
> >
>
>

Re: rpc ifpc

Posted by Neo Anderson <ne...@googlemail.com>.
Look at it:
http://tech-test.tutorialsforu.com/Test.html

When I put the same code in my machine and run it, features are working in
IE (even in IE8), not in FF2.
When I upload it, then features are not working properly.

Take a look at the gadgets.js and  find why it is not working in FF 2 in my
machine.

Why features are not working (In any browser except in Opera 9) when I
upload code?


On 3/7/08, Kevin Brown <et...@google.com> wrote:
>
> I'm running FF 2.0.0.12 on my windows XP machine and it's working fine for
> me. We're running the exact same thing that's checked into svn trunk on
> Orkut and aren't having any problems.
>
> As far as the contents of rpc_relay.html go...it's only a 200 byte file.
> It
> takes whatever is passed on the url fragment and passes it to
> parent.parent.gadgets.rpc.receive().
>
> On Thu, Mar 6, 2008 at 10:09 PM, Neo Anderson <
> neoanderson123@googlemail.com>
> wrote:
>
> > dynamic-height and settitle are working fine in IE 8 b1, IE 7, IE6. But
> it
> > is not working in FF 2 (2.0.0.12).
> >
> > That is why I want to know about this.
> >
> >
> > On 3/7/08, *Neo Anderson* <ne...@googlemail.com> wrote:
> > >
> > > Could some one give proper documentation for this rpc_relay.html?
> > >
> > > How it works?
> > >
> > >
> > >  On 3/7/08, Kevin Brown <et...@google.com> wrote:
> > > >
> > > > You don't. The rpc_relay.html file calls gadgets.rpc.process across
> > > > frames.
> > > >
> > > > On Thu, Mar 6, 2008 at 7:29 AM, Neo Anderson <
> > > > neoanderson123@googlemail.com>
> > > > wrote:
> > > >
> > > > > If rpc is not supported, then from where we call and use ifpc
> > > > services?
> > > > >
> > > > > On 3/6/08, artemy tregoubenko <at...@gmail.com> wrote:
> > > > > >
> > > > > > afaik in other case method of gadgets.rpc will be called
> directly
> > > > from
> > > > > > other frame
> > > > > >
> > > > > > On 3/6/08, Neo Anderson <ne...@googlemail.com> wrote:
> > > > > > > Yeah, below that
> > > > > > >
> > > > > > >  if (relayChannel === 'dpm' || relayChannel === 'wpm') {
> > > > > > >     document.addEventListener('message', function(packet) {
> > > > > > >       // TODO validate packet.domain for security reasons
> > > > > > >       process(gadgets.json.parse(packet.data));
> > > > > > >     }, false);
> > > > > > >  }
> > > > > > >
> > > > > > >
> > > > > > >  and no else condition. So, I thought that here you are
> handling
> > > > rpc
> > > > > > only.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >  On 3/6/08, Cassie <do...@apache.org> wrote:
> > > > > > >  >
> > > > > > >  > The logic is here:
> > > > > > >  >
> > > > > > >  >
> > > > > >
> > > > >
> > > >
> >
> http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js
> > > > > > >  >
> > > > > > >  > Around line 44 where it says "var relayChannel = ..."
> > > > > > >  >
> > > > > > >  > - Cassie
> > > > > > >  >
> > > > > > >  > On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson <
> > > > > > >  > neoanderson123@googlemail.com>
> > > > > > >  > wrote:
> > > > > > >  >
> > > > > > >  > > Firefox 3 beta 3 & Opera 9 uses rpc and FireFox 3 (< beta
> > 3),
> > > > IE
> > > > > 6
> > > > > > and
> > > > > > >  > IE
> > > > > > >  > > 7
> > > > > > >  > > uses ifpc. I want to know, where does the container
> decide
> > > > which
> > > > > > >  > technique
> > > > > > >  > > to use?
> > > > > > >  > >
> > > > > > >  > > Currently, dynamic-height is not working in my system in
> FF
> > > > > > 2.0.0.12 but
> > > > > > >  > > it
> > > > > > >  > > is working in IE 7, IE 6, opera 9(I don't think about
> this
> > > > and
> > > > > FF3
> > > > > > b3
> > > > > > >  > > because these uses rpc and hence works perfectly). So, if
> > any
> > > > > bosy
> > > > > > gives
> > > > > > >  > > me
> > > > > > >  > > details about the ifpc js, it will be very helpful for
> me.
> > > > > > >  > >
> > > > > > >  >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > arty ( http://arty.name )
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > ~Kevin
> > > >
> > >
> > >
> >
>
>
>
> --
> ~Kevin
>

Re: rpc ifpc

Posted by Kevin Brown <et...@google.com>.
I'm running FF 2.0.0.12 on my windows XP machine and it's working fine for
me. We're running the exact same thing that's checked into svn trunk on
Orkut and aren't having any problems.

As far as the contents of rpc_relay.html go...it's only a 200 byte file. It
takes whatever is passed on the url fragment and passes it to
parent.parent.gadgets.rpc.receive().

On Thu, Mar 6, 2008 at 10:09 PM, Neo Anderson <ne...@googlemail.com>
wrote:

> dynamic-height and settitle are working fine in IE 8 b1, IE 7, IE6. But it
> is not working in FF 2 (2.0.0.12).
>
> That is why I want to know about this.
>
>
> On 3/7/08, *Neo Anderson* <ne...@googlemail.com> wrote:
> >
> > Could some one give proper documentation for this rpc_relay.html?
> >
> > How it works?
> >
> >
> >  On 3/7/08, Kevin Brown <et...@google.com> wrote:
> > >
> > > You don't. The rpc_relay.html file calls gadgets.rpc.process across
> > > frames.
> > >
> > > On Thu, Mar 6, 2008 at 7:29 AM, Neo Anderson <
> > > neoanderson123@googlemail.com>
> > > wrote:
> > >
> > > > If rpc is not supported, then from where we call and use ifpc
> > > services?
> > > >
> > > > On 3/6/08, artemy tregoubenko <at...@gmail.com> wrote:
> > > > >
> > > > > afaik in other case method of gadgets.rpc will be called directly
> > > from
> > > > > other frame
> > > > >
> > > > > On 3/6/08, Neo Anderson <ne...@googlemail.com> wrote:
> > > > > > Yeah, below that
> > > > > >
> > > > > >  if (relayChannel === 'dpm' || relayChannel === 'wpm') {
> > > > > >     document.addEventListener('message', function(packet) {
> > > > > >       // TODO validate packet.domain for security reasons
> > > > > >       process(gadgets.json.parse(packet.data));
> > > > > >     }, false);
> > > > > >  }
> > > > > >
> > > > > >
> > > > > >  and no else condition. So, I thought that here you are handling
> > > rpc
> > > > > only.
> > > > > >
> > > > > >
> > > > > >
> > > > > >  On 3/6/08, Cassie <do...@apache.org> wrote:
> > > > > >  >
> > > > > >  > The logic is here:
> > > > > >  >
> > > > > >  >
> > > > >
> > > >
> > >
> http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js
> > > > > >  >
> > > > > >  > Around line 44 where it says "var relayChannel = ..."
> > > > > >  >
> > > > > >  > - Cassie
> > > > > >  >
> > > > > >  > On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson <
> > > > > >  > neoanderson123@googlemail.com>
> > > > > >  > wrote:
> > > > > >  >
> > > > > >  > > Firefox 3 beta 3 & Opera 9 uses rpc and FireFox 3 (< beta
> 3),
> > > IE
> > > > 6
> > > > > and
> > > > > >  > IE
> > > > > >  > > 7
> > > > > >  > > uses ifpc. I want to know, where does the container decide
> > > which
> > > > > >  > technique
> > > > > >  > > to use?
> > > > > >  > >
> > > > > >  > > Currently, dynamic-height is not working in my system in FF
> > > > > 2.0.0.12 but
> > > > > >  > > it
> > > > > >  > > is working in IE 7, IE 6, opera 9(I don't think about this
> > > and
> > > > FF3
> > > > > b3
> > > > > >  > > because these uses rpc and hence works perfectly). So, if
> any
> > > > bosy
> > > > > gives
> > > > > >  > > me
> > > > > >  > > details about the ifpc js, it will be very helpful for me.
> > > > > >  > >
> > > > > >  >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > arty ( http://arty.name )
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > ~Kevin
> > >
> >
> >
>



-- 
~Kevin

Re: rpc ifpc

Posted by Neo Anderson <ne...@googlemail.com>.
dynamic-height and settitle are working fine in IE 8 b1, IE 7, IE6. But it
is not working in FF 2 (2.0.0.12).

That is why I want to know about this.


On 3/7/08, *Neo Anderson* <ne...@googlemail.com> wrote:
>
> Could some one give proper documentation for this rpc_relay.html?
>
> How it works?
>
>
>  On 3/7/08, Kevin Brown <et...@google.com> wrote:
> >
> > You don't. The rpc_relay.html file calls gadgets.rpc.process across
> > frames.
> >
> > On Thu, Mar 6, 2008 at 7:29 AM, Neo Anderson <
> > neoanderson123@googlemail.com>
> > wrote:
> >
> > > If rpc is not supported, then from where we call and use ifpc
> > services?
> > >
> > > On 3/6/08, artemy tregoubenko <at...@gmail.com> wrote:
> > > >
> > > > afaik in other case method of gadgets.rpc will be called directly
> > from
> > > > other frame
> > > >
> > > > On 3/6/08, Neo Anderson <ne...@googlemail.com> wrote:
> > > > > Yeah, below that
> > > > >
> > > > >  if (relayChannel === 'dpm' || relayChannel === 'wpm') {
> > > > >     document.addEventListener('message', function(packet) {
> > > > >       // TODO validate packet.domain for security reasons
> > > > >       process(gadgets.json.parse(packet.data));
> > > > >     }, false);
> > > > >  }
> > > > >
> > > > >
> > > > >  and no else condition. So, I thought that here you are handling
> > rpc
> > > > only.
> > > > >
> > > > >
> > > > >
> > > > >  On 3/6/08, Cassie <do...@apache.org> wrote:
> > > > >  >
> > > > >  > The logic is here:
> > > > >  >
> > > > >  >
> > > >
> > >
> > http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js
> > > > >  >
> > > > >  > Around line 44 where it says "var relayChannel = ..."
> > > > >  >
> > > > >  > - Cassie
> > > > >  >
> > > > >  > On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson <
> > > > >  > neoanderson123@googlemail.com>
> > > > >  > wrote:
> > > > >  >
> > > > >  > > Firefox 3 beta 3 & Opera 9 uses rpc and FireFox 3 (< beta 3),
> > IE
> > > 6
> > > > and
> > > > >  > IE
> > > > >  > > 7
> > > > >  > > uses ifpc. I want to know, where does the container decide
> > which
> > > > >  > technique
> > > > >  > > to use?
> > > > >  > >
> > > > >  > > Currently, dynamic-height is not working in my system in FF
> > > > 2.0.0.12 but
> > > > >  > > it
> > > > >  > > is working in IE 7, IE 6, opera 9(I don't think about this
> > and
> > > FF3
> > > > b3
> > > > >  > > because these uses rpc and hence works perfectly). So, if any
> > > bosy
> > > > gives
> > > > >  > > me
> > > > >  > > details about the ifpc js, it will be very helpful for me.
> > > > >  > >
> > > > >  >
> > > > >
> > > >
> > > >
> > > > --
> > > > arty ( http://arty.name )
> > > >
> > >
> >
> >
> >
> > --
> > ~Kevin
> >
>
>

Re: rpc ifpc

Posted by Neo Anderson <ne...@googlemail.com>.
Could some one give proper documentation for this rpc_relay.html?

How it works?


On 3/7/08, Kevin Brown <et...@google.com> wrote:
>
> You don't. The rpc_relay.html file calls gadgets.rpc.process across
> frames.
>
> On Thu, Mar 6, 2008 at 7:29 AM, Neo Anderson <
> neoanderson123@googlemail.com>
> wrote:
>
> > If rpc is not supported, then from where we call and use ifpc services?
> >
> > On 3/6/08, artemy tregoubenko <at...@gmail.com> wrote:
> > >
> > > afaik in other case method of gadgets.rpc will be called directly from
> > > other frame
> > >
> > > On 3/6/08, Neo Anderson <ne...@googlemail.com> wrote:
> > > > Yeah, below that
> > > >
> > > >  if (relayChannel === 'dpm' || relayChannel === 'wpm') {
> > > >     document.addEventListener('message', function(packet) {
> > > >       // TODO validate packet.domain for security reasons
> > > >       process(gadgets.json.parse(packet.data));
> > > >     }, false);
> > > >  }
> > > >
> > > >
> > > >  and no else condition. So, I thought that here you are handling rpc
> > > only.
> > > >
> > > >
> > > >
> > > >  On 3/6/08, Cassie <do...@apache.org> wrote:
> > > >  >
> > > >  > The logic is here:
> > > >  >
> > > >  >
> > >
> >
> http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js
> > > >  >
> > > >  > Around line 44 where it says "var relayChannel = ..."
> > > >  >
> > > >  > - Cassie
> > > >  >
> > > >  > On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson <
> > > >  > neoanderson123@googlemail.com>
> > > >  > wrote:
> > > >  >
> > > >  > > Firefox 3 beta 3 & Opera 9 uses rpc and FireFox 3 (< beta 3),
> IE
> > 6
> > > and
> > > >  > IE
> > > >  > > 7
> > > >  > > uses ifpc. I want to know, where does the container decide
> which
> > > >  > technique
> > > >  > > to use?
> > > >  > >
> > > >  > > Currently, dynamic-height is not working in my system in FF
> > > 2.0.0.12 but
> > > >  > > it
> > > >  > > is working in IE 7, IE 6, opera 9(I don't think about this and
> > FF3
> > > b3
> > > >  > > because these uses rpc and hence works perfectly). So, if any
> > bosy
> > > gives
> > > >  > > me
> > > >  > > details about the ifpc js, it will be very helpful for me.
> > > >  > >
> > > >  >
> > > >
> > >
> > >
> > > --
> > > arty ( http://arty.name )
> > >
> >
>
>
>
> --
> ~Kevin
>

Re: rpc ifpc

Posted by Kevin Brown <et...@google.com>.
You don't. The rpc_relay.html file calls gadgets.rpc.process across frames.

On Thu, Mar 6, 2008 at 7:29 AM, Neo Anderson <ne...@googlemail.com>
wrote:

> If rpc is not supported, then from where we call and use ifpc services?
>
> On 3/6/08, artemy tregoubenko <at...@gmail.com> wrote:
> >
> > afaik in other case method of gadgets.rpc will be called directly from
> > other frame
> >
> > On 3/6/08, Neo Anderson <ne...@googlemail.com> wrote:
> > > Yeah, below that
> > >
> > >  if (relayChannel === 'dpm' || relayChannel === 'wpm') {
> > >     document.addEventListener('message', function(packet) {
> > >       // TODO validate packet.domain for security reasons
> > >       process(gadgets.json.parse(packet.data));
> > >     }, false);
> > >  }
> > >
> > >
> > >  and no else condition. So, I thought that here you are handling rpc
> > only.
> > >
> > >
> > >
> > >  On 3/6/08, Cassie <do...@apache.org> wrote:
> > >  >
> > >  > The logic is here:
> > >  >
> > >  >
> >
> http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js
> > >  >
> > >  > Around line 44 where it says "var relayChannel = ..."
> > >  >
> > >  > - Cassie
> > >  >
> > >  > On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson <
> > >  > neoanderson123@googlemail.com>
> > >  > wrote:
> > >  >
> > >  > > Firefox 3 beta 3 & Opera 9 uses rpc and FireFox 3 (< beta 3), IE
> 6
> > and
> > >  > IE
> > >  > > 7
> > >  > > uses ifpc. I want to know, where does the container decide which
> > >  > technique
> > >  > > to use?
> > >  > >
> > >  > > Currently, dynamic-height is not working in my system in FF
> > 2.0.0.12 but
> > >  > > it
> > >  > > is working in IE 7, IE 6, opera 9(I don't think about this and
> FF3
> > b3
> > >  > > because these uses rpc and hence works perfectly). So, if any
> bosy
> > gives
> > >  > > me
> > >  > > details about the ifpc js, it will be very helpful for me.
> > >  > >
> > >  >
> > >
> >
> >
> > --
> > arty ( http://arty.name )
> >
>



-- 
~Kevin

Re: rpc ifpc

Posted by Neo Anderson <ne...@googlemail.com>.
If rpc is not supported, then from where we call and use ifpc services?

On 3/6/08, artemy tregoubenko <at...@gmail.com> wrote:
>
> afaik in other case method of gadgets.rpc will be called directly from
> other frame
>
> On 3/6/08, Neo Anderson <ne...@googlemail.com> wrote:
> > Yeah, below that
> >
> >  if (relayChannel === 'dpm' || relayChannel === 'wpm') {
> >     document.addEventListener('message', function(packet) {
> >       // TODO validate packet.domain for security reasons
> >       process(gadgets.json.parse(packet.data));
> >     }, false);
> >  }
> >
> >
> >  and no else condition. So, I thought that here you are handling rpc
> only.
> >
> >
> >
> >  On 3/6/08, Cassie <do...@apache.org> wrote:
> >  >
> >  > The logic is here:
> >  >
> >  >
> http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js
> >  >
> >  > Around line 44 where it says "var relayChannel = ..."
> >  >
> >  > - Cassie
> >  >
> >  > On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson <
> >  > neoanderson123@googlemail.com>
> >  > wrote:
> >  >
> >  > > Firefox 3 beta 3 & Opera 9 uses rpc and FireFox 3 (< beta 3), IE 6
> and
> >  > IE
> >  > > 7
> >  > > uses ifpc. I want to know, where does the container decide which
> >  > technique
> >  > > to use?
> >  > >
> >  > > Currently, dynamic-height is not working in my system in FF
> 2.0.0.12 but
> >  > > it
> >  > > is working in IE 7, IE 6, opera 9(I don't think about this and FF3
> b3
> >  > > because these uses rpc and hence works perfectly). So, if any bosy
> gives
> >  > > me
> >  > > details about the ifpc js, it will be very helpful for me.
> >  > >
> >  >
> >
>
>
> --
> arty ( http://arty.name )
>

Re: rpc ifpc

Posted by artemy tregoubenko <at...@gmail.com>.
afaik in other case method of gadgets.rpc will be called directly from
other frame

On 3/6/08, Neo Anderson <ne...@googlemail.com> wrote:
> Yeah, below that
>
>  if (relayChannel === 'dpm' || relayChannel === 'wpm') {
>     document.addEventListener('message', function(packet) {
>       // TODO validate packet.domain for security reasons
>       process(gadgets.json.parse(packet.data));
>     }, false);
>  }
>
>
>  and no else condition. So, I thought that here you are handling rpc only.
>
>
>
>  On 3/6/08, Cassie <do...@apache.org> wrote:
>  >
>  > The logic is here:
>  >
>  > http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js
>  >
>  > Around line 44 where it says "var relayChannel = ..."
>  >
>  > - Cassie
>  >
>  > On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson <
>  > neoanderson123@googlemail.com>
>  > wrote:
>  >
>  > > Firefox 3 beta 3 & Opera 9 uses rpc and FireFox 3 (< beta 3), IE 6 and
>  > IE
>  > > 7
>  > > uses ifpc. I want to know, where does the container decide which
>  > technique
>  > > to use?
>  > >
>  > > Currently, dynamic-height is not working in my system in FF 2.0.0.12 but
>  > > it
>  > > is working in IE 7, IE 6, opera 9(I don't think about this and FF3 b3
>  > > because these uses rpc and hence works perfectly). So, if any bosy gives
>  > > me
>  > > details about the ifpc js, it will be very helpful for me.
>  > >
>  >
>


-- 
arty ( http://arty.name )

Re: rpc ifpc

Posted by Neo Anderson <ne...@googlemail.com>.
Yeah, below that

if (relayChannel === 'dpm' || relayChannel === 'wpm') {
    document.addEventListener('message', function(packet) {
      // TODO validate packet.domain for security reasons
      process(gadgets.json.parse(packet.data));
    }, false);
}


and no else condition. So, I thought that here you are handling rpc only.


On 3/6/08, Cassie <do...@apache.org> wrote:
>
> The logic is here:
>
> http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js
>
> Around line 44 where it says "var relayChannel = ..."
>
> - Cassie
>
> On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson <
> neoanderson123@googlemail.com>
> wrote:
>
> > Firefox 3 beta 3 & Opera 9 uses rpc and FireFox 3 (< beta 3), IE 6 and
> IE
> > 7
> > uses ifpc. I want to know, where does the container decide which
> technique
> > to use?
> >
> > Currently, dynamic-height is not working in my system in FF 2.0.0.12 but
> > it
> > is working in IE 7, IE 6, opera 9(I don't think about this and FF3 b3
> > because these uses rpc and hence works perfectly). So, if any bosy gives
> > me
> > details about the ifpc js, it will be very helpful for me.
> >
>

Re: rpc ifpc

Posted by Cassie <do...@apache.org>.
The logic is here:
http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/rpc/rpc.js

Around line 44 where it says "var relayChannel = ..."

- Cassie

On Thu, Mar 6, 2008 at 2:52 PM, Neo Anderson <ne...@googlemail.com>
wrote:

> Firefox 3 beta 3 & Opera 9 uses rpc and FireFox 3 (< beta 3), IE 6 and IE
> 7
> uses ifpc. I want to know, where does the container decide which technique
> to use?
>
> Currently, dynamic-height is not working in my system in FF 2.0.0.12 but
> it
> is working in IE 7, IE 6, opera 9(I don't think about this and FF3 b3
> because these uses rpc and hence works perfectly). So, if any bosy gives
> me
> details about the ifpc js, it will be very helpful for me.
>