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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
> > <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
> > >  > > <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <
> > >  > > >  > [EMAIL PROTECTED]>
> > >  > > >  > 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* <[EMAIL PROTECTED]>
> > wrote:
> > >  > > >  > > >
> > >  > > >  > > > Could some one give proper documentation for this
> > >  > > rpc_relay.html?
> > >  > > >  > > >
> > >  > > >  > > > How it works?
> > >  > > >  > > >
> > >  > > >  > > >
> > >  > > >  > > >  On 3/7/08, Kevin Brown <[EMAIL PROTECTED]> 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 <
> > >  > > >  > > > > [EMAIL PROTECTED]>
> > >  > > >  > > > > wrote:
> > >  > > >  > > > >
> > >  > > >  > > > > > If rpc is not supported, then from where we call and
> > use
> > >  > > ifpc
> > >  > > >  > > > > services?
> > >  > > >  > > > > >
> > >  > > >  > > > > > On 3/6/08, artemy tregoubenko <
> > [EMAIL PROTECTED]>
> > >  > > wrote:
> > >  > > >  > > > > > >
> > >  > > >  > > > > > > afaik in other case method of gadgets.rpc will be
> > called
> > >  > > >  > directly
> > >  > > >  > > > > from
> > >  > > >  > > > > > > other frame
> > >  > > >  > > > > > >
> > >  > > >  > > > > > > On 3/6/08, Neo Anderson <
> > [EMAIL PROTECTED]>
> > >  > > 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 <[EMAIL PROTECTED]> 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
> > <
> > >  > > >  > > > > > > >  > [EMAIL PROTECTED]>
> > >  > > >  > > > > > > >  > 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
> > >  > > >  >
> > >  > > >
> > >  > >
> > >  >
> > >  >
> > >
> >
>
>

Reply via email to