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/02/13 08:45:54 UTC

uncaught exception: Permission denied to call method Window.setTimeout

I'm getting *uncaught exception: Permission denied to call method
Window.setTimeout *exception when I try to use Dynamic Height feature. But
dynamic height is working. I'm adding gadgets to my web page dynamically i.e.,
I'm able to add a gadget upon clicking on a button. But when I place two
gadgets in a column, then if the gadget on top needs to adjust it's height,
then the gadget height height is adjusted and the height adjusted is not
getting displayed and in this case, I'm getting the above said error.

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
Now, I have not tested because I got that UNSUPPORTED_FEATURE error.

On Feb 20, 2008 1:53 PM, Cassie <do...@apache.org> wrote:

> What browser are you using? I am not getting any errors or warnings in
> firefox after Zhen's change.
>
> - Cassie
>
>
> On Tue, Feb 19, 2008 at 10:13 PM, Neo Anderson <
>  neoanderson123@googlemail.com> wrote:
>
> > But still it is not working.
> >
> > On Feb 20, 2008 3:11 AM, Zhen Wang <wa...@google.com> wrote:
> >
> > > Yes, I have already changed the synd parameters to "shindig" to work
> > > around the problem.
> > >
> > > On Feb 18, 2008 10:21 PM, Arun Kumar <ar...@gmail.com>
> > > wrote:
> > > > Zhen, Did you solved this problem?
> > > > And if this problem  solved, can I use my custom layout manager
> code?
> > > >
> > > > *Code: *
> > > >
> > > > gadgets.SortableLayoutManager = function(layoutRootId) {
> > > >  gadgets.LayoutManager.call(this);
> > > >  this.layoutRootId_ = (typeof layoutRootId == "string") ?
> > > > _get(layoutRootId) : layoutRootId;
> > > >  this.columns = this.layoutRootId_.length;
> > > > };
> > > >
> > > > gadgets.SortableLayoutManager.inherits(gadgets.LayoutManager);
> > > >
> > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome =
> > > function(gadget) {
> > > >    minHeight = this.layoutRootId_[this.columns-1].offsetHeight;
> > > >    index = 0;
> > > >    for(i=this.columns-1; i>=0; i--){
> > > >        if(this.layoutRootId_[i].offsetHeight <= minHeight){
> > > >            minHeight = this.layoutRootId_[i].offsetHeight;
> > > >            index = i;
> > > >        }
> > > >    }
> > > >    return this.layoutRootId_[index];
> > > > };
> > > >
> > > > Will this code work without above said problem?
> > > >
> > > > In FF, I got above problem. Nut in IE7, if I open the same page, I'm
> > > getting
> > > > *"gadgets" is undefined.*
> > > >
> > > >
> > > > On Feb 16, 2008 5:10 AM, Zhen Wang <zh...@apache.org> wrote:
> > > >
> > > > > Hi Paul,
> > > > >
> > > > > Your analysis is correct. Although this is not a Shindig problem
> per
> > > > > se, it can be simply fixed by changing the synd parameter from
> > > > > "gadgets" to "shindig" which is supported by gmodules.com.
> > > > >
> > > > >
> > > > > On Fri, Feb 15, 2008 at 12:31 PM, Paul Lindner <pl...@hi5.com>
> > > wrote:
> > > > > > Digging into this with firebug it appears that this is problem
> on
> > > > > >  gmodules.com, not in Shindig.
> > > > > >
> > > > > >  A request is made of gmodules.com for an iframe like this:
> > > > > >
> > > > > >
> > > > >
> > >
> >
> http://www.gmodules.com/ig/ifr?url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fhoroscope.xml&nocache=1&synd=gadgets&mid=0&parent=http%3A%2F%2Flocalhost%3A8080%2Fgadgets%2Ffiles%2Fcontainer%2Fifpc_relay.html%3F&ogc=localhost:8080&country=US&lang=en&view=&view-params=%22%22#undefined
> > > > > >
> > > > > >  Note the parent is correctly set to localhost.
> > > > > >
> > > > > >  However it appears that gmodules.com ignores the parent and
> > instead
> > > > > >  tries to use an IFPC frame on www.google.com, like this:
> > > > > >
> > > > > >
> > > > >
> > >
> >
> http://www.google.com/ig/ifpc_relay#%22remote_iframe_2%22&0&1&0&%22%2522remote_iframe_2%2522%26%2522set_pref%2522%26%2522%2522%26%2522%2522%26%2522remote_iframe_2%2522%26%2522%2522%26%2522saved_tasks%2522%26%2522_%2523%2524LAB_MATAN%2524%2523_0_%2523%2524LAB_UDI%2524%2523_aaadfad_%2523%2524LAB_UDI%2524%2523_black%2522%22&true
> > > > > >
> > > > > >  That doesn't match localhost:8080, thus we get the permission
> > > denied
> > > > > >  error.
> > > > > >
> > > > > >  Can someone check in with the folks running gmodules.com so it
> > will
> > > > > >  recognize parent params on a synd=gadgets request?
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >  On Fri, Feb 15, 2008 at 11:37:06AM -0800, Kevin Brown wrote:
> > > > > >  > I asked Zhen to look into it since I've been bogged down with
> > too
> > > > > much work
> > > > > >  > as is -- as Cassie mentioned, his rpc commit should fix other
> > > issues.
> > > > > >  >
> > > > > >  > On Fri, Feb 15, 2008 at 10:40 AM, Cassie <do...@google.com>
> > wrote:
> > > > > >  >
> > > > > >  > > Hopefully with Zhen's new rpc code we can get this error to
> > go
> > > > > away. I
> > > > > >  > > believe he is going to switch over the samples to use
> > > gadgets.rpcsoon and
> > > >
> > > > > >  > > look into the error at the same time.
> > > > > >  > >
> > > > > >  > > - Cassie
> > > > > >  > >
> > > > > >  > >
> > > > > >  > > On Fri, Feb 15, 2008 at 4:41 AM, Neo Anderson <
> > > > > >  > > neoanderson123@googlemail.com>
> > > > > >  > > wrote:
> > > > > >  > >
> > > > > >  > > > Kevin, did you identified the problem?
> > > > > >  > > >
> > > > > >  > > > On Fri, Feb 15, 2008 at 2:58 PM, Neo Anderson <
> > > > > >  > > > neoanderson123@googlemail.com>
> > > > > >  > > > wrote:
> > > > > >  > > >
> > > > > >  > > > > Any update regarding this problem?
> > > > > >  > > > >
> > > > > >  > > > >
> > > > > >  > > > > On Thu, Feb 14, 2008 at 5:32 PM, Neo Anderson <
> > > > > >  > > > > neoanderson123@googlemail.com> wrote:
> > > > > >  > > > >
> > > > > >  > > > > > k. What abt the question related to UserPrefs?
> > > > > >  > > > > >
> > > > > >  > > > > >
> > > > > >  > > > > >
> > > > > >  > > > > > On Thu, Feb 14, 2008 at 5:29 PM, Kevin Brown <
> > > etnu@google.com
> > > > > >
> > > > > >  > > wrote:
> > > > > >  > > > > >
> > > > > >  > > > > > > Sorry, I haven't had a chance to look into it yet.
> > I'll
> > > try
> > > > > to see
> > > > > >  > > > > > > what I
> > > > > >  > > > > > > can find tomorrow.
> > > > > >  > > > > > >
> > > > > >  > > > > > > On Thu, Feb 14, 2008 at 3:56 AM, Neo Anderson <
> > > > > >  > > > > > > neoanderson123@googlemail.com>
> > > > > >  > > > > > > wrote:
> > > > > >  > > > > > >
> > > > > >  > > > > > > > @Kevin, did you identified the problem?,
> > > > > >  > > > > > > >
> > > > > >  > > > > > > > How to use UserPref with <Content type="url"
> href="
> > > > > xxxx.jsp" />?
> > > > > >  > > > > > > >
> > > > > >  > > > > > > > If I modify and click on save, to which URL these
> > > > > modified
> > > > > >  > > values
> > > > > >  > > > > > > will be
> > > > > >  > > > > > > > posted to?
> > > > > >  > > > > > > >
> > > > > >  > > > > > > > On Thu, Feb 14, 2008 at 2:57 PM, Neo Anderson <
> > > > > >  > > > > > > > neoanderson123@googlemail.com>
> > > > > >  > > > > > > > wrote:
> > > > > >  > > > > > > >
> > > > > >  > > > > > > > > Did you got my code?
> > > > > >  > > > > > > > >
> > > > > >  > > > > > > > >
> > > > > >  > > > > > > > > On Thu, Feb 14, 2008 at 2:21 PM, Kevin Brown <
> > > > > etnu@google.com>
> > > > > >  > > > > > > wrote:
> > > > > >  > > > > > > > >
> > > > > >  > > > > > > > > > Go ahead and send your code that's causing
> > > problems
> > > > > and I'll
> > > > > >  > > > see
> > > > > >  > > > > > > if I
> > > > > >  > > > > > > > > > can
> > > > > >  > > > > > > > > > take a look.
> > > > > >  > > > > > > > > >
> > > > > >  > > > > > > > > > The IE7 issue is known and being investigated
> > > (not
> > > > > your
> > > > > >  > > > problem
> > > > > >  > > > > > > > > > specifically).
> > > > > >  > > > > > > > > >
> > > > > >  > > > > > > > > > On Thu, Feb 14, 2008 at 12:33 AM, Neo
> Anderson
> > <
> > > > > >  > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > >  > > > > > > > > >
> > > > > >  > > > > > > > > > > It is working in FF with errors as said
> > above.
> > > But
> > > > > in IE(
> > > > > >  > > > v7.0),
> > > > > >  > > > > > > I
> > > > > >  > > > > > > > got
> > > > > >  > > > > > > > > > the
> > > > > >  > > > > > > > > > > error *Error: "gadgets" is undefined.* If
> the
> > > > > problem is
> > > > > >  > > > with
> > > > > >  > > > > > > my
> > > > > >  > > > > > > > > > script,
> > > > > >  > > > > > > > > > > then it must not work in FF. :-(
> > > > > >  > > > > > > > > > >
> > > > > >  > > > > > > > > > > On Thu, Feb 14, 2008 at 1:59 PM, Neo
> Anderson
> > <
> > > > > >  > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > >  > > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > >
> > > > > >  > > > > > > > > > > > I replaced GADGET_IFRAME_PREFIX_ with
> > default
> > > > > one. i.e.,
> > > > > >  > > > > > > > > > > "remote_iframe_"
> > > > > >  > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > Do I need to use arbitrary moduleId's or
> > can
> > > I
> > > > > make them
> > > > > >  > > > > > > user
> > > > > >  > > > > > > > > > specific?
> > > > > >  > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > Even now, after restoring the value of
> > > > > >  > > > > > > "GADGET_IFRAME_PREFIX_",
> > > > > >  > > > > > > >  it
> > > > > >  > > > > > > > > > is
> > > > > >  > > > > > > > > > > > working fine with sample6.html (I placed
> 6
> > > > > gadgets and
> > > > > >  > > got
> > > > > >  > > > > > > them in
> > > > > >  > > > > > > > > > two
> > > > > >  > > > > > > > > > > > rows.) And in this example, the gadget on
> > top
> > > is
> > > > > able to
> > > > > >  > > > > > > adjust
> > > > > >  > > > > > > > it's
> > > > > >  > > > > > > > > > > height.
> > > > > >  > > > > > > > > > > > But when I'm using my own Layout Manager,
> > > then
> > > > > The
> > > > > >  > > gadget
> > > > > >  > > > on
> > > > > >  > > > > > > top
> > > > > >  > > > > > > > is
> > > > > >  > > > > > > > > > not
> > > > > >  > > > > > > > > > > > adjusting it's height and after adjusting
> > > it's
> > > > > height
> > > > > >  > > the
> > > > > >  > > > > > > adjusted
> > > > > >  > > > > > > > > > part
> > > > > >  > > > > > > > > > > is
> > > > > >  > > > > > > > > > > > not visible.
> > > > > >  > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > When ever I use my own layout
> manager(Code
> > is
> > > > > posted in
> > > > > >  > > > one
> > > > > >  > > > > > > of the
> > > > > >  > > > > > > > > > > > previous mesages), I'm getting *uncaught
> > > > > exception:
> > > > > >  > > > > > > Permission
> > > > > >  > > > > > > > > > denied to
> > > > > >  > > > > > > > > > > > call method Window.setTimeout* error.
> > > > > >  > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > Can I send my gadgets.js file and the
> html
> > > page
> > > > > that I
> > > > > >  > > am
> > > > > >  > > > > > > using?
> > > > > >  > > > > > > > > > > >
> > > > > >  > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > On Thu, Feb 14, 2008 at 1:42 PM, Kevin
> > Brown
> > > <
> > > > > >  > > > > > > etnu@google.com>
> > > > > >  > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > Not with the current code -- it assumes
> > > that
> > > > > your
> > > > > >  > > > iframe's
> > > > > >  > > > > > > id /
> > > > > >  > > > > > > > > > name
> > > > > >  > > > > > > > > > > is
> > > > > >  > > > > > > > > > > > > remote_iframe_<module id>. (see:
> > > > > >  > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > >
> > > > > >  > > > > > > > > > >
> > > > > >  > > > > > > > > >
> > > > > >  > > > > > > >
> > > > > >  > > > > > >
> > > > > >  > > >
> > > > > >  > >
> > > > >
> > >
> >
> http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> > > > > >  > > > > > > > > > > > > )
> > > > > >  > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > When the changes described in
> SHINDIG-22
> > > and
> > > > > >  > > SHINDIG-44
> > > > > >  > > > > > > are
> > > > > >  > > > > > > > > > > implemented
> > > > > >  > > > > > > > > > > > > you
> > > > > >  > > > > > > > > > > > > should be able to use whatever you
> want,
> > > but
> > > > > for now
> > > > > >  > > you
> > > > > >  > > > > > > have to
> > > > > >  > > > > > > > > > > follow
> > > > > >  > > > > > > > > > > > > this
> > > > > >  > > > > > > > > > > > > naming convention for the shindig
> > > > > ifpc-dependent
> > > > > >  > > > features
> > > > > >  > > > > > > to
> > > > > >  > > > > > > > work.
> > > > > >  > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > On Wed, Feb 13, 2008 at 11:42 PM, Neo
> > > Anderson
> > > > > <
> > > > > >  > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > >  > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > Can't I use my own gadget id?
> > > > > >  > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > I won't change that
> > > GADGET_IFRAME_PREFIX_.
> > > > > Even now,
> > > > > >  > > > do
> > > > > >  > > > > > > I need
> > > > > >  > > > > > > > > > to
> > > > > >  > > > > > > > > > > use
> > > > > >  > > > > > > > > > > > > > arbitrary iframe id's?
> > > > > >  > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 1:00 PM,
> Kevin
> > > Brown
> > > > > <
> > > > > >  > > > > > > etnu@google.com>
> > > > > >  > > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > Right now some things are hard
> coded
> > to
> > > use
> > > > > the
> > > > > >  > > > fixed
> > > > > >  > > > > > > iframe
> > > > > >  > > > > > > > > > name
> > > > > >  > > > > > > > > > > > > > > assumptions (ported from igoogle).
> > Work
> > > > > that I'm
> > > > > >  > > > doing
> > > > > >  > > > > > > to
> > > > > >  > > > > > > > deal
> > > > > >  > > > > > > > > > > with
> > > > > >  > > > > > > > > > > > > a
> > > > > >  > > > > > > > > > > > > > > unified configuration model (see
> > > SHINDIG-22
> > > > > and
> > > > > >  > > > > > > SHINDIG-44
> > > > > >  > > > > > > > for
> > > > > >  > > > > > > > > > > > > details)
> > > > > >  > > > > > > > > > > > > > > should allow arbitrary iframe ids.
> > > > > >  > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:32 PM,
> Neo
> > > > > Anderson <
> > > > > >  > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> wrote:
> > > > > >  > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > Currently I'm using latest SVN
> > > snapshot.
> > > > > >  > > Actually,
> > > > > >  > > > I
> > > > > >  > > > > > > > update
> > > > > >  > > > > > > > > > my
> > > > > >  > > > > > > > > > > > > code
> > > > > >  > > > > > > > > > > > > > > daily.
> > > > > >  > > > > > > > > > > > > > > > So, problem is not with my code.
> > What
> > > if
> > > > > anybody
> > > > > >  > > > > > > wants to
> > > > > >  > > > > > > > > > use a
> > > > > >  > > > > > > > > > > > > > > different
> > > > > >  > > > > > > > > > > > > > > > GADGET_IFRAME_PREFIX_? What
> happens
> > > if
> > > > > somebody
> > > > > >  > > > > > > sends id
> > > > > >  > > > > > > > as
> > > > > >  > > > > > > > > > a
> > > > > >  > > > > > > > > > > > > > parameter
> > > > > >  > > > > > > > > > > > > > > > and
> > > > > >  > > > > > > > > > > > > > > > use it as gadget id?
> > > > > >  > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > Then iFrame id will be
> > > > > GADGET_IFRAME_PREFIX_ +
> > > > > >  > > id
> > > > > >  > > > > > > passed
> > > > > >  > > > > > > > as
> > > > > >  > > > > > > > > > > > > parameter.
> > > > > >  > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > Will this cause any problems?
> > > > > >  > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 11:52 AM,
> > > Kevin
> > > > > Brown <
> > > > > >  > > > > > > > > > etnu@google.com>
> > > > > >  > > > > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > It looks like a problem with
> > ifpc,
> > > but
> > > > > I can't
> > > > > >  > > > > > > figure
> > > > > >  > > > > > > > out
> > > > > >  > > > > > > > > > what
> > > > > >  > > > > > > > > > > > > > exactly
> > > > > >  > > > > > > > > > > > > > > > is
> > > > > >  > > > > > > > > > > > > > > > > causing it. From the looks of
> > > things it
> > > > > might
> > > > > >  > > be
> > > > > >  > > > > > > related
> > > > > >  > > > > > > > > > to
> > > > > >  > > > > > > > > > > > > > something
> > > > > >  > > > > > > > > > > > > > > > that
> > > > > >  > > > > > > > > > > > > > > > > Zhen recently fixed, which is
> > that
> > > we
> > > > > weren't
> > > > > >  > > > > > > using
> > > > > >  > > > > > > > > > consistent
> > > > > >  > > > > > > > > > > > > > > > assumptions
> > > > > >  > > > > > > > > > > > > > > > > for the id / name of the iframe
> > > > > elements on
> > > > > >  > > the
> > > > > >  > > > > > > > containing
> > > > > >  > > > > > > > > > > page.
> > > > > >  > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > Could you try it again using
> > what's
> > > in
> > > > > the
> > > > > >  > > > latest
> > > > > >  > > > > > > SVN
> > > > > >  > > > > > > > > > > snapshot?
> > > > > >  > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:06
> PM,
> > > Neo
> > > > > Anderson
> > > > > >  > > <
> > > > > >  > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > wrote:
> > > > > >  > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > Did I got this this problem
> due
> > > to my
> > > > > coding
> > > > > >  > > > or
> > > > > >  > > > > > > it is
> > > > > >  > > > > > > > > > > Shindig
> > > > > >  > > > > > > > > > > > > > > problem?
> > > > > >  > > > > > > > > > > > > > > > >  If
> > > > > >  > > > > > > > > > > > > > > > > > it is shindig problem,are
> they
> > > > > identified it
> > > > > >  > > > and
> > > > > >  > > > > > > > solving
> > > > > >  > > > > > > > > > it?
> > > > > >  > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > On Feb 14, 2008 12:07 AM,
> > Cassie
> > > <
> > > > > >  > > > > > > doll@google.com>
> > > > > >  > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > Just want to let you know
> > that
> > > > > these
> > > > > >  > > > > > > exceptions were
> > > > > >  > > > > > > > > > > > > captured in
> > > > > >  > > > > > > > > > > > > > > > this
> > > > > >  > > > > > > > > > > > > > > > > > bug
> > > > > >  > > > > > > > > > > > > > > > > > > here:
> > > > > >  > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > > >  > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > I am able to reproduce the
> > bug
> > > as
> > > > > well.
> > > > > >  > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > - Cassie
> > > > > >  > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at
> 5:11
> > > AM,
> > > > > Neo
> > > > > >  > > > Anderson
> > > > > >  > > > > > > <
> > > > > >  > > > > > > > > > > > > > > > > > >
> neoanderson123@googlemail.com
> > >
> > > > > >  > > > > > > > > > > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > // Own layout manager
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > gadgets.SortableLayoutManager=
> > > > > >  > > > > > > > > > function(layoutRootId) {
> > > > > >  > > > > > > > > > > > > > > > > > > >
> gadgets.LayoutManager.call
> > > > > (this);
> > > > > >  > > > > > > > > > > > > > > > > > > >  this.layoutRootId_ =
> > (typeof
> > > > > >  > > layoutRootId
> > > > > >  > > > > > > ==
> > > > > >  > > > > > > > > > "string")
> > > > > >  > > > > > > > > > > ?
> > > > > >  > > > > > > > > > > > > > > > > > > > _get(layoutRootId) :
> > > > > layoutRootId;
> > > > > >  > > > > > > > > > > > > > > > > > > >  this.columns =
> > > > > >  > > this.layoutRootId_.length;
> > > > > >  > > > > > > > > > > > > > > > > > > > };
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > > > > gadgets.SortableLayoutManager.inherits(
> > > > > >  > > > > > > > > > > > > gadgets.LayoutManager);
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > >
> > > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome=
> > > > > >  > > > > > > > > > > > > > > > > > > function(gadget)
> > > > > >  > > > > > > > > > > > > > > > > > > > {
> > > > > >  > > > > > > > > > > > > > > > > > > >    minHeight =
> > > this.layoutRootId
> > > > > _[
> > > > > >  > > > > > > this.columns-1
> > > > > >  > > > > > > > > > > > > > ].offsetHeight;
> > > > > >  > > > > > > > > > > > > > > > > > > >    index = 0;
> > > > > >  > > > > > > > > > > > > > > > > > > >    for(i=this.columns-1;
> > > i>=0;
> > > > > i--){
> > > > > >  > > > > > > > > > > > > > > > > > > >        if(
> this.layoutRootId
> > > > > >  > > > _[i].offsetHeight
> > > > > >  > > > > > > <=
> > > > > >  > > > > > > > > > > > > minHeight){
> > > > > >  > > > > > > > > > > > > > > > > > > >            minHeight =
> > > > > this.layoutRootId
> > > > > >  > > > > > > > > > > _[i].offsetHeight;
> > > > > >  > > > > > > > > > > > > > > > > > > >            index = i;
> > > > > >  > > > > > > > > > > > > > > > > > > >        }
> > > > > >  > > > > > > > > > > > > > > > > > > >    }
> > > > > >  > > > > > > > > > > > > > > > > > > >    return
> this.layoutRootId
> > > > > _[index];
> > > > > >  > > > > > > > > > > > > > > > > > > > };
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > > *********************************
> > > > > Code
> > > > > >  > > > ends
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > _get returns elements by
> > > class
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > Here I'm sending an array
> > of
> > > > > three div
> > > > > >  > > > > > > elements,
> > > > > >  > > > > > > > > > > > > > gadgetChromeId
> > > > > >  > > > > > > > > > > > > > > > will
> > > > > >  > > > > > > > > > > > > > > > > > be
> > > > > >  > > > > > > > > > > > > > > > > > > > set
> > > > > >  > > > > > > > > > > > > > > > > > > > to the column whose
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:53 PM,
> > > Kevin
> > > > > Brown <
> > > > > >  > > > > > > > > > etnu@google.com>
> > > > > >  > > > > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > Without seeing your
> code,
> > I
> > > > > really
> > > > > >  > > have
> > > > > >  > > > no
> > > > > >  > > > > > > idea.
> > > > > >  > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:19
> AM,
> > > Neo
> > > > > Anderson
> > > > > >  > > <
> > > > > >  > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > >  > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > I have created my own
> > > Layout
> > > > > >  > > Manager.
> > > > > >  > > > If
> > > > > >  > > > > > > I use
> > > > > >  > > > > > > > > > > > > > > > > > > FloatLeftLayoutManager,
> > > > > >  > > > > > > > > > > > > > > > > > > > > > then
> > > > > >  > > > > > > > > > > > > > > > > > > > > > it is working fine
> even
> > > in
> > > > > the page
> > > > > >  > > > that
> > > > > >  > > > > > > I
> > > > > >  > > > > > > > > > tested
> > > > > >  > > > > > > > > > > > > > > previously.
> > > > > >  > > > > > > > > > > > > > > > I
> > > > > >  > > > > > > > > > > > > > > > > > > > haven't
> > > > > >  > > > > > > > > > > > > > > > > > > > > > got
> > > > > >  > > > > > > > > > > > > > > > > > > > > > the
> > window.setTimeouterror.
> > > > > But why
> > > > > >  > > > I'm
> > > > > >  > > > > > > > getting
> > > > > >  > > > > > > > > > > this
> > > > > >  > > > > > > > > > > > > > error
> > > > > >  > > > > > > > > > > > > > > > when
> > > > > >  > > > > > > > > > > > > > > > > I
> > > > > >  > > > > > > > > > > > > > > > > > > use
> > > > > >  > > > > > > > > > > > > > > > > > > > > my
> > > > > >  > > > > > > > > > > > > > > > > > > > > > own layout manager?
> > > > > >  > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:29
> > PM,
> > > Neo
> > > > > >  > > Anderson
> > > > > >  > > > <
> > > > > >  > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > Container page? I'm
> > not
> > > > > using any
> > > > > >  > > > > > > container
> > > > > >  > > > > > > > .
> > > > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008
> 3:13
> > > PM,
> > > > > Kevin
> > > > > >  > > Brown
> > > > > >  > > > <
> > > > > >  > > > > > > > > > > > > etnu@google.com>
> > > > > >  > > > > > > > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > I see the error
> in
> > > IE,
> > > > > but this
> > > > > >  > > > > > > looks like
> > > > > >  > > > > > > > > > an
> > > > > >  > > > > > > > > > > > > error
> > > > > >  > > > > > > > > > > > > > > that's
> > > > > >  > > > > > > > > > > > > > > > > > > popping
> > > > > >  > > > > > > > > > > > > > > > > > > > > up
> > > > > >  > > > > > > > > > > > > > > > > > > > > > on
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > all
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > gadget renders (I
> > > don't
> > > > > have an
> > > > > >  > > IE
> > > > > >  > > > > > > > debugger
> > > > > >  > > > > > > > > > > > > available
> > > > > >  > > > > > > > > > > > > > > > right
> > > > > >  > > > > > > > > > > > > > > > > > now
> > > > > >  > > > > > > > > > > > > > > > > > > so
> > > > > >  > > > > > > > > > > > > > > > > > > > > > I'll
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > investigate
> > tomorrow
> > > when
> > > > > I do).
> > > > > >  > > I
> > > > > >  > > > > > > can't
> > > > > >  > > > > > > > > > find
> > > > > >  > > > > > > > > > > > > anything
> > > > > >  > > > > > > > > > > > > > > > > > > triggering
> > > > > >  > > > > > > > > > > > > > > > > > > > > this
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > window.setTimeoutissue,
> > > > > though.
> > > > > >  > > > Is
> > > > > >  > > > > > > this
> > > > > >  > > > > > > > > > > happening
> > > > > >  > > > > > > > > > > > > on
> > > > > >  > > > > > > > > > > > > > a
> > > > > >  > > > > > > > > > > > > > > > > > > container
> > > > > >  > > > > > > > > > > > > > > > > > > > > page
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > that
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > you wrote
> yourself?
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008
> > 1:05
> > > AM,
> > > > > Neo
> > > > > >  > > > > > > Anderson <
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > neoanderson123@googlemail.com
> > > > > >  > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > If I run the
> same
> > > > > example in
> > > > > >  > > IE,
> > > > > >  > > > > > > then it
> > > > > >  > > > > > > > > > is
> > > > > >  > > > > > > > > > > not
> > > > > >  > > > > > > > > > > > > > > working.
> > > > > >  > > > > > > > > > > > > > > > > It
> > > > > >  > > > > > > > > > > > > > > > > > is
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > displaying
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > JavaScript
> error
> > > > > "gadgets" is
> > > > > >  > > > not
> > > > > >  > > > > > > > defined.
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008
> > > 2:34
> > > > > PM, Neo
> > > > > >  > > > > > > Anderson <
> > > > > >  > > > > > > > > > > > > > > > > > > > >
> > > neoanderson123@googlemail.com
> > > > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > No, I'm not
> > > getting
> > > > > any
> > > > > >  > > errors
> > > > > >  > > > > > > even I
> > > > > >  > > > > > > > > > add
> > > > > >  > > > > > > > > > > some
> > > > > >  > > > > > > > > > > > > > more
> > > > > >  > > > > > > > > > > > > > > > > > gadgets
> > > > > >  > > > > > > > > > > > > > > > > > > in
> > > > > >  > > > > > > > > > > > > > > > > > > > a
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > single
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > column. Any
> it
> > is
> > > > > working
> > > > > >  > > > fine.
> > > > > >  > > > > > > What
> > > > > >  > > > > > > > > > might
> > > > > >  > > > > > > > > > > br
> > > > > >  > > > > > > > > > > > > the
> > > > > >  > > > > > > > > > > > > > > > > problem?
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13,
> 2008
> > > 2:11
> > > > > PM,
> > > > > >  > > Kevin
> > > > > >  > > > > > > Brown <
> > > > > >  > > > > > > > > > > > > > > etnu@google.com>
> > > > > >  > > > > > > > > > > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > Do you get
> > the
> > > > > error when
> > > > > >  > > > > > > hitting
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > >
> > > > > >  > > > > > >
> > > > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > clicking
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > the
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > "Refine the
> > > list"
> > > > > link?
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13,
> > 2008
> > > > > 12:35 AM,
> > > > > >  > > > Neo
> > > > > >  > > > > > > > Anderson
> > > > > >  > > > > > > > > > <
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > > neoanderson123@googlemail.com>
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > Yes, I'm
> > > using
> > > > > latest
> > > > > >  > > > > > > snapshot.
> > > > > >  > > > > > > > I'm
> > > > > >  > > > > > > > > > > using
> > > > > >  > > > > > > > > > > > > FF
> > > > > >  > > > > > > > > > > > > > > > 2.0.12
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb
> 13,
> > > 2008
> > > > > 2:04 PM,
> > > > > >  > > > > > > Kevin
> > > > > >  > > > > > > > Brown
> > > > > >  > > > > > > > > > <
> > > > > >  > > > > > > > > > > > > > > > > etnu@google.com>
> > > > > >  > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > What
> > > browser
> > > > > are you
> > > > > >  > > > > > > seeing this
> > > > > >  > > > > > > > > > in?
> > > > > >  > > > > > > > > > > Are
> > > > > >  > > > > > > > > > > > > you
> > > > > >  > > > > > > > > > > > > > > > using
> > > > > >  > > > > > > > > > > > > > > > > > the
> > > > > >  > > > > > > > > > > > > > > > > > > > > > latest
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > snapshot?
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > I
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > can't
> > > > > reproduce.
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb
> > 13,
> > > 2008
> > > > > 12:03
> > > > > >  > > > AM,
> > > > > >  > > > > > > Arun
> > > > > >  > > > > > > > > > Kumar <
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I
> also
> > > got
> > > > > the same
> > > > > >  > > > > > > problem...
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On
> Feb
> > > 13,
> > > > > 2008 1:15
> > > > > >  > > > PM,
> > > > > >  > > > > > > Neo
> > > > > >  > > > > > > > > > > Anderson
> > > > > >  > > > > > > > > > > > > <
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > neoanderson123@googlemail.com>
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> wrote:
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm
> > > getting
> > > > > >  > > > *uncaught
> > > > > >  > > > > > > > > > exception:
> > > > > >  > > > > > > > > > > > > > > Permission
> > > > > >  > > > > > > > > > > > > > > > > > denied
> > > > > >  > > > > > > > > > > > > > > > > > > > to
> > > > > >  > > > > > > > > > > > > > > > > > > > > > call
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > method
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > Window.setTimeout*exception
> > > > > >  > > > > > > > > > when
> > > > > >  > > > > > > > > > > I
> > > > > >  > > > > > > > > > > > > try
> > > > > >  > > > > > > > > > > > > > to
> > > > > >  > > > > > > > > > > > > > > > use
> > > > > >  > > > > > > > > > > > > > > > > > > > Dynamic
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > Height
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > feature.
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > But
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > dynamic
> > > > > height is
> > > > > >  > > > > > > working.
> > > > > >  > > > > > > > I'm
> > > > > >  > > > > > > > > > > > > adding
> > > > > >  > > > > > > > > > > > > > > > gadgets
> > > > > >  > > > > > > > > > > > > > > > > to
> > > > > >  > > > > > > > > > > > > > > > > > > my
> > > > > >  > > > > > > > > > > > > > > > > > > > > web
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > page
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > dynamically
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > i.e
> .,
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm
> > > able to
> > > > > add a
> > > > > >  > > > > > > gadget
> > > > > >  > > > > > > > upon
> > > > > >  > > > > > > > > > > > > clicking
> > > > > >  > > > > > > > > > > > > > on
> > > > > >  > > > > > > > > > > > > > > a
> > > > > >  > > > > > > > > > > > > > > > > > > button.
> > > > > >  > > > > > > > > > > > > > > > > > > > > But
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > when I
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > place
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > two
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > gadgets
> > > in
> > > > > a
> > > > > >  > > column,
> > > > > >  > > > > > > then if
> > > > > >  > > > > > > > > > the
> > > > > >  > > > > > > > > > > > > gadget
> > > > > >  > > > > > > > > > > > > > on
> > > > > >  > > > > > > > > > > > > > > > top
> > > > > >  > > > > > > > > > > > > > > > > > > needs
> > > > > >  > > > > > > > > > > > > > > > > > > > > to
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > adjust
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > it's
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > height,
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> then
> > > the
> > > > > gadget
> > > > > >  > > > height
> > > > > >  > > > > > > > height
> > > > > >  > > > > > > > > > is
> > > > > >  > > > > > > > > > > > > > adjusted
> > > > > >  > > > > > > > > > > > > > > > and
> > > > > >  > > > > > > > > > > > > > > > > > the
> > > > > >  > > > > > > > > > > > > > > > > > > > > height
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > adjusted is
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > not
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > getting
> > > > > displayed
> > > > > >  > > > and
> > > > > >  > > > > > > in
> > > > > >  > > > > > > > this
> > > > > >  > > > > > > > > > > case,
> > > > > >  > > > > > > > > > > > > I'm
> > > > > >  > > > > > > > > > > > > > > > > getting
> > > > > >  > > > > > > > > > > > > > > > > > > the
> > > > > >  > > > > > > > > > > > > > > > > > > > > > above
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > said
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > error.
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >
> > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > If you
> > > received
> > > > > this
> > > > > >  > > > email
> > > > > >  > > > > > > by
> > > > > >  > > > > > > > > > mistake,
> > > > > >  > > > > > > > > > > > > > please
> > > > > >  > > > > > > > > > > > > > > > > delete
> > > > > >  > > > > > > > > > > > > > > > > > > it,
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > cancel
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > your
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > mail
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> account,
> > > > > destroy your
> > > > > >  > > > hard
> > > > > >  > > > > > > > drive,
> > > > > >  > > > > > > > > > > > > silence
> > > > > >  > > > > > > > > > > > > > any
> > > > > >  > > > > > > > > > > > > > > > > > > witnesses,
> > > > > >  > > > > > > > > > > > > > > > > > > > > and
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > burn
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > down
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > the
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> building
> > > that
> > > > > you're
> > > > > >  > > in.
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > If you
> > received
> > > > > this email
> > > > > >  > > > by
> > > > > >  > > > > > > > mistake,
> > > > > >  > > > > > > > > > > > > please
> > > > > >  > > > > > > > > > > > > > > delete
> > > > > >  > > > > > > > > > > > > > > > > it,
> > > > > >  > > > > > > > > > > > > > > > > > > > > cancel
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > your
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > mail
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > account,
> > > destroy
> > > > > your hard
> > > > > >  > > > > > > drive,
> > > > > >  > > > > > > > > > silence
> > > > > >  > > > > > > > > > > > > any
> > > > > >  > > > > > > > > > > > > > > > > witnesses,
> > > > > >  > > > > > > > > > > > > > > > > > > and
> > > > > >  > > > > > > > > > > > > > > > > > > > > > burn
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > down
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > the
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > building
> that
> > > > > you're in.
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > If you received
> > this
> > > > > email by
> > > > > >  > > > > > > mistake,
> > > > > >  > > > > > > > > > please
> > > > > >  > > > > > > > > > > > > delete
> > > > > >  > > > > > > > > > > > > > it,
> > > > > >  > > > > > > > > > > > > > > > > > cancel
> > > > > >  > > > > > > > > > > > > > > > > > > > your
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > mail
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > account, destroy
> > your
> > > > > hard
> > > > > >  > > drive,
> > > > > >  > > > > > > silence
> > > > > >  > > > > > > > > > any
> > > > > >  > > > > > > > > > > > > > witnesses,
> > > > > >  > > > > > > > > > > > > > > > and
> > > > > >  > > > > > > > > > > > > > > > > > > burn
> > > > > >  > > > > > > > > > > > > > > > > > > > > down
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > the
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > > building that
> > you're
> > > in.
> > > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > > > If you received this
> > email
> > > by
> > > > > mistake,
> > > > > >  > > > > > > please
> > > > > >  > > > > > > > > > delete
> > > > > >  > > > > > > > > > > it,
> > > > > >  > > > > > > > > > > > > > > cancel
> > > > > >  > > > > > > > > > > > > > > > > your
> > > > > >  > > > > > > > > > > > > > > > > > > > mail
> > > > > >  > > > > > > > > > > > > > > > > > > > > account, destroy your
> > hard
> > > > > drive,
> > > > > >  > > > silence
> > > > > >  > > > > > > any
> > > > > >  > > > > > > > > > > witnesses,
> > > > > >  > > > > > > > > > > > > and
> > > > > >  > > > > > > > > > > > > > > > burn
> > > > > >  > > > > > > > > > > > > > > > > > down
> > > > > >  > > > > > > > > > > > > > > > > > > > the
> > > > > >  > > > > > > > > > > > > > > > > > > > > building that you're
> in.
> > > > > >  > > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > > > If you received this email by
> > > mistake,
> > > > > please
> > > > > >  > > > > > > delete it,
> > > > > >  > > > > > > > > > > cancel
> > > > > >  > > > > > > > > > > > > your
> > > > > >  > > > > > > > > > > > > > > > mail
> > > > > >  > > > > > > > > > > > > > > > > account, destroy your hard
> drive,
> > > > > silence any
> > > > > >  > > > > > > witnesses,
> > > > > >  > > > > > > > > > and
> > > > > >  > > > > > > > > > > > > burn
> > > > > >  > > > > > > > > > > > > > down
> > > > > >  > > > > > > > > > > > > > > > the
> > > > > >  > > > > > > > > > > > > > > > > building that you're in.
> > > > > >  > > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > > > If you received this email by
> > mistake,
> > > > > please
> > > > > >  > > delete
> > > > > >  > > > > > > it,
> > > > > >  > > > > > > > > > cancel
> > > > > >  > > > > > > > > > > your
> > > > > >  > > > > > > > > > > > > > mail
> > > > > >  > > > > > > > > > > > > > > account, destroy your hard drive,
> > > silence
> > > > > any
> > > > > >  > > > > > > witnesses, and
> > > > > >  > > > > > > > > > burn
> > > > > >  > > > > > > > > > > > > down
> > > > > >  > > > > > > > > > > > > > the
> > > > > >  > > > > > > > > > > > > > > building that you're in.
> > > > > >  > > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > > > If you received this email by mistake,
> > > please
> > > > > delete
> > > > > >  > > it,
> > > > > >  > > > > > > cancel
> > > > > >  > > > > > > > > > your
> > > > > >  > > > > > > > > > > > > mail
> > > > > >  > > > > > > > > > > > > account, destroy your hard drive,
> silence
> > > any
> > > > > >  > > witnesses,
> > > > > >  > > > > > > and
> > > > > >  > > > > > > > burn
> > > > > >  > > > > > > > > > down
> > > > > >  > > > > > > > > > > > > the
> > > > > >  > > > > > > > > > > > > building that you're in.
> > > > > >  > > > > > > > > > > > >
> > > > > >  > > > > > > > > > > >
> > > > > >  > > > > > > > > > > >
> > > > > >  > > > > > > > > > >
> > > > > >  > > > > > > > > >
> > > > > >  > > > > > > > > >
> > > > > >  > > > > > > > > >
> > > > > >  > > > > > > > > >
> > > > > >  > > > > > > > > > If you received this email by mistake, please
> > > delete
> > > > > it,
> > > > > >  > > > cancel
> > > > > >  > > > > > > your
> > > > > >  > > > > > > > > > mail
> > > > > >  > > > > > > > > > account, destroy your hard drive, silence any
> > > > > witnesses, and
> > > > > >  > > > > > > burn down
> > > > > >  > > > > > > > > > the
> > > > > >  > > > > > > > > > building that you're in.
> > > > > >  > > > > > > > > >
> > > > > >  > > > > > > > >
> > > > > >  > > > > > > > >
> > > > > >  > > > > > > >
> > > > > >  > > > > > >
> > > > > >  > > > > > >
> > > > > >  > > > > > >
> > > > > >  > > > > > >
> > > > > >  > > > > > > If you received this email by mistake, please
> delete
> > > it,
> > > > > cancel
> > > > > >  > > your
> > > > > >  > > > > > > mail
> > > > > >  > > > > > > account, destroy your hard drive, silence any
> > > witnesses,
> > > > > and burn
> > > > > >  > > > down
> > > > > >  > > > > > > the
> > > > > >  > > > > > > building that you're in.
> > > > > >  > > > > > >
> > > > > >  > > > > >
> > > > > >  > > > > >
> > > > > >  > > > >
> > > > > >  > > >
> > > > > >  > >
> > > > > >  >
> > > > > >  >
> > > > > >  >
> > > > > >
> > > > > >  --
> > > > > >  Paul Lindner
> > > > > >  hi5 Architect
> > > > > >  plindner@hi5.com
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Cassie <do...@apache.org>.
What browser are you using? I am not getting any errors or warnings in
firefox after Zhen's change.

- Cassie


On Tue, Feb 19, 2008 at 10:13 PM, Neo Anderson <
neoanderson123@googlemail.com> wrote:

> But still it is not working.
>
> On Feb 20, 2008 3:11 AM, Zhen Wang <wa...@google.com> wrote:
>
> > Yes, I have already changed the synd parameters to "shindig" to work
> > around the problem.
> >
> > On Feb 18, 2008 10:21 PM, Arun Kumar <ar...@gmail.com>
> > wrote:
> > > Zhen, Did you solved this problem?
> > > And if this problem  solved, can I use my custom layout manager code?
> > >
> > > *Code: *
> > >
> > > gadgets.SortableLayoutManager = function(layoutRootId) {
> > >  gadgets.LayoutManager.call(this);
> > >  this.layoutRootId_ = (typeof layoutRootId == "string") ?
> > > _get(layoutRootId) : layoutRootId;
> > >  this.columns = this.layoutRootId_.length;
> > > };
> > >
> > > gadgets.SortableLayoutManager.inherits(gadgets.LayoutManager);
> > >
> > > gadgets.SortableLayoutManager.prototype.getGadgetChrome =
> > function(gadget) {
> > >    minHeight = this.layoutRootId_[this.columns-1].offsetHeight;
> > >    index = 0;
> > >    for(i=this.columns-1; i>=0; i--){
> > >        if(this.layoutRootId_[i].offsetHeight <= minHeight){
> > >            minHeight = this.layoutRootId_[i].offsetHeight;
> > >            index = i;
> > >        }
> > >    }
> > >    return this.layoutRootId_[index];
> > > };
> > >
> > > Will this code work without above said problem?
> > >
> > > In FF, I got above problem. Nut in IE7, if I open the same page, I'm
> > getting
> > > *"gadgets" is undefined.*
> > >
> > >
> > > On Feb 16, 2008 5:10 AM, Zhen Wang <zh...@apache.org> wrote:
> > >
> > > > Hi Paul,
> > > >
> > > > Your analysis is correct. Although this is not a Shindig problem per
> > > > se, it can be simply fixed by changing the synd parameter from
> > > > "gadgets" to "shindig" which is supported by gmodules.com.
> > > >
> > > >
> > > > On Fri, Feb 15, 2008 at 12:31 PM, Paul Lindner <pl...@hi5.com>
> > wrote:
> > > > > Digging into this with firebug it appears that this is problem on
> > > > >  gmodules.com, not in Shindig.
> > > > >
> > > > >  A request is made of gmodules.com for an iframe like this:
> > > > >
> > > > >
> > > >
> >
> http://www.gmodules.com/ig/ifr?url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fhoroscope.xml&nocache=1&synd=gadgets&mid=0&parent=http%3A%2F%2Flocalhost%3A8080%2Fgadgets%2Ffiles%2Fcontainer%2Fifpc_relay.html%3F&ogc=localhost:8080&country=US&lang=en&view=&view-params=%22%22#undefined
> > > > >
> > > > >  Note the parent is correctly set to localhost.
> > > > >
> > > > >  However it appears that gmodules.com ignores the parent and
> instead
> > > > >  tries to use an IFPC frame on www.google.com, like this:
> > > > >
> > > > >
> > > >
> >
> http://www.google.com/ig/ifpc_relay#%22remote_iframe_2%22&0&1&0&%22%2522remote_iframe_2%2522%26%2522set_pref%2522%26%2522%2522%26%2522%2522%26%2522remote_iframe_2%2522%26%2522%2522%26%2522saved_tasks%2522%26%2522_%2523%2524LAB_MATAN%2524%2523_0_%2523%2524LAB_UDI%2524%2523_aaadfad_%2523%2524LAB_UDI%2524%2523_black%2522%22&true
> > > > >
> > > > >  That doesn't match localhost:8080, thus we get the permission
> > denied
> > > > >  error.
> > > > >
> > > > >  Can someone check in with the folks running gmodules.com so it
> will
> > > > >  recognize parent params on a synd=gadgets request?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >  On Fri, Feb 15, 2008 at 11:37:06AM -0800, Kevin Brown wrote:
> > > > >  > I asked Zhen to look into it since I've been bogged down with
> too
> > > > much work
> > > > >  > as is -- as Cassie mentioned, his rpc commit should fix other
> > issues.
> > > > >  >
> > > > >  > On Fri, Feb 15, 2008 at 10:40 AM, Cassie <do...@google.com>
> wrote:
> > > > >  >
> > > > >  > > Hopefully with Zhen's new rpc code we can get this error to
> go
> > > > away. I
> > > > >  > > believe he is going to switch over the samples to use
> > gadgets.rpcsoon and
> > >
> > > > >  > > look into the error at the same time.
> > > > >  > >
> > > > >  > > - Cassie
> > > > >  > >
> > > > >  > >
> > > > >  > > On Fri, Feb 15, 2008 at 4:41 AM, Neo Anderson <
> > > > >  > > neoanderson123@googlemail.com>
> > > > >  > > wrote:
> > > > >  > >
> > > > >  > > > Kevin, did you identified the problem?
> > > > >  > > >
> > > > >  > > > On Fri, Feb 15, 2008 at 2:58 PM, Neo Anderson <
> > > > >  > > > neoanderson123@googlemail.com>
> > > > >  > > > wrote:
> > > > >  > > >
> > > > >  > > > > Any update regarding this problem?
> > > > >  > > > >
> > > > >  > > > >
> > > > >  > > > > On Thu, Feb 14, 2008 at 5:32 PM, Neo Anderson <
> > > > >  > > > > neoanderson123@googlemail.com> wrote:
> > > > >  > > > >
> > > > >  > > > > > k. What abt the question related to UserPrefs?
> > > > >  > > > > >
> > > > >  > > > > >
> > > > >  > > > > >
> > > > >  > > > > > On Thu, Feb 14, 2008 at 5:29 PM, Kevin Brown <
> > etnu@google.com
> > > > >
> > > > >  > > wrote:
> > > > >  > > > > >
> > > > >  > > > > > > Sorry, I haven't had a chance to look into it yet.
> I'll
> > try
> > > > to see
> > > > >  > > > > > > what I
> > > > >  > > > > > > can find tomorrow.
> > > > >  > > > > > >
> > > > >  > > > > > > On Thu, Feb 14, 2008 at 3:56 AM, Neo Anderson <
> > > > >  > > > > > > neoanderson123@googlemail.com>
> > > > >  > > > > > > wrote:
> > > > >  > > > > > >
> > > > >  > > > > > > > @Kevin, did you identified the problem?,
> > > > >  > > > > > > >
> > > > >  > > > > > > > How to use UserPref with <Content type="url" href="
> > > > xxxx.jsp" />?
> > > > >  > > > > > > >
> > > > >  > > > > > > > If I modify and click on save, to which URL these
> > > > modified
> > > > >  > > values
> > > > >  > > > > > > will be
> > > > >  > > > > > > > posted to?
> > > > >  > > > > > > >
> > > > >  > > > > > > > On Thu, Feb 14, 2008 at 2:57 PM, Neo Anderson <
> > > > >  > > > > > > > neoanderson123@googlemail.com>
> > > > >  > > > > > > > wrote:
> > > > >  > > > > > > >
> > > > >  > > > > > > > > Did you got my code?
> > > > >  > > > > > > > >
> > > > >  > > > > > > > >
> > > > >  > > > > > > > > On Thu, Feb 14, 2008 at 2:21 PM, Kevin Brown <
> > > > etnu@google.com>
> > > > >  > > > > > > wrote:
> > > > >  > > > > > > > >
> > > > >  > > > > > > > > > Go ahead and send your code that's causing
> > problems
> > > > and I'll
> > > > >  > > > see
> > > > >  > > > > > > if I
> > > > >  > > > > > > > > > can
> > > > >  > > > > > > > > > take a look.
> > > > >  > > > > > > > > >
> > > > >  > > > > > > > > > The IE7 issue is known and being investigated
> > (not
> > > > your
> > > > >  > > > problem
> > > > >  > > > > > > > > > specifically).
> > > > >  > > > > > > > > >
> > > > >  > > > > > > > > > On Thu, Feb 14, 2008 at 12:33 AM, Neo Anderson
> <
> > > > >  > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > >  > > > > > > > > >
> > > > >  > > > > > > > > > > It is working in FF with errors as said
> above.
> > But
> > > > in IE(
> > > > >  > > > v7.0),
> > > > >  > > > > > > I
> > > > >  > > > > > > > got
> > > > >  > > > > > > > > > the
> > > > >  > > > > > > > > > > error *Error: "gadgets" is undefined.* If the
> > > > problem is
> > > > >  > > > with
> > > > >  > > > > > > my
> > > > >  > > > > > > > > > script,
> > > > >  > > > > > > > > > > then it must not work in FF. :-(
> > > > >  > > > > > > > > > >
> > > > >  > > > > > > > > > > On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson
> <
> > > > >  > > > > > > > > > > neoanderson123@googlemail.com>
> > > > >  > > > > > > > > > > wrote:
> > > > >  > > > > > > > > > >
> > > > >  > > > > > > > > > > > I replaced GADGET_IFRAME_PREFIX_ with
> default
> > > > one. i.e.,
> > > > >  > > > > > > > > > > "remote_iframe_"
> > > > >  > > > > > > > > > > >
> > > > >  > > > > > > > > > > > Do I need to use arbitrary moduleId's or
> can
> > I
> > > > make them
> > > > >  > > > > > > user
> > > > >  > > > > > > > > > specific?
> > > > >  > > > > > > > > > > >
> > > > >  > > > > > > > > > > > Even now, after restoring the value of
> > > > >  > > > > > > "GADGET_IFRAME_PREFIX_",
> > > > >  > > > > > > >  it
> > > > >  > > > > > > > > > is
> > > > >  > > > > > > > > > > > working fine with sample6.html (I placed 6
> > > > gadgets and
> > > > >  > > got
> > > > >  > > > > > > them in
> > > > >  > > > > > > > > > two
> > > > >  > > > > > > > > > > > rows.) And in this example, the gadget on
> top
> > is
> > > > able to
> > > > >  > > > > > > adjust
> > > > >  > > > > > > > it's
> > > > >  > > > > > > > > > > height.
> > > > >  > > > > > > > > > > > But when I'm using my own Layout Manager,
> > then
> > > > The
> > > > >  > > gadget
> > > > >  > > > on
> > > > >  > > > > > > top
> > > > >  > > > > > > > is
> > > > >  > > > > > > > > > not
> > > > >  > > > > > > > > > > > adjusting it's height and after adjusting
> > it's
> > > > height
> > > > >  > > the
> > > > >  > > > > > > adjusted
> > > > >  > > > > > > > > > part
> > > > >  > > > > > > > > > > is
> > > > >  > > > > > > > > > > > not visible.
> > > > >  > > > > > > > > > > >
> > > > >  > > > > > > > > > > > When ever I use my own layout manager(Code
> is
> > > > posted in
> > > > >  > > > one
> > > > >  > > > > > > of the
> > > > >  > > > > > > > > > > > previous mesages), I'm getting *uncaught
> > > > exception:
> > > > >  > > > > > > Permission
> > > > >  > > > > > > > > > denied to
> > > > >  > > > > > > > > > > > call method Window.setTimeout* error.
> > > > >  > > > > > > > > > > >
> > > > >  > > > > > > > > > > > Can I send my gadgets.js file and the html
> > page
> > > > that I
> > > > >  > > am
> > > > >  > > > > > > using?
> > > > >  > > > > > > > > > > >
> > > > >  > > > > > > > > > > >
> > > > >  > > > > > > > > > > > On Thu, Feb 14, 2008 at 1:42 PM, Kevin
> Brown
> > <
> > > > >  > > > > > > etnu@google.com>
> > > > >  > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > Not with the current code -- it assumes
> > that
> > > > your
> > > > >  > > > iframe's
> > > > >  > > > > > > id /
> > > > >  > > > > > > > > > name
> > > > >  > > > > > > > > > > is
> > > > >  > > > > > > > > > > > > remote_iframe_<module id>. (see:
> > > > >  > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > >
> > > > >  > > > > > > > > > >
> > > > >  > > > > > > > > >
> > > > >  > > > > > > >
> > > > >  > > > > > >
> > > > >  > > >
> > > > >  > >
> > > >
> >
> http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> > > > >  > > > > > > > > > > > > )
> > > > >  > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > When the changes described in SHINDIG-22
> > and
> > > > >  > > SHINDIG-44
> > > > >  > > > > > > are
> > > > >  > > > > > > > > > > implemented
> > > > >  > > > > > > > > > > > > you
> > > > >  > > > > > > > > > > > > should be able to use whatever you want,
> > but
> > > > for now
> > > > >  > > you
> > > > >  > > > > > > have to
> > > > >  > > > > > > > > > > follow
> > > > >  > > > > > > > > > > > > this
> > > > >  > > > > > > > > > > > > naming convention for the shindig
> > > > ifpc-dependent
> > > > >  > > > features
> > > > >  > > > > > > to
> > > > >  > > > > > > > work.
> > > > >  > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > On Wed, Feb 13, 2008 at 11:42 PM, Neo
> > Anderson
> > > > <
> > > > >  > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > >  > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > Can't I use my own gadget id?
> > > > >  > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > I won't change that
> > GADGET_IFRAME_PREFIX_.
> > > > Even now,
> > > > >  > > > do
> > > > >  > > > > > > I need
> > > > >  > > > > > > > > > to
> > > > >  > > > > > > > > > > use
> > > > >  > > > > > > > > > > > > > arbitrary iframe id's?
> > > > >  > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin
> > Brown
> > > > <
> > > > >  > > > > > > etnu@google.com>
> > > > >  > > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > Right now some things are hard coded
> to
> > use
> > > > the
> > > > >  > > > fixed
> > > > >  > > > > > > iframe
> > > > >  > > > > > > > > > name
> > > > >  > > > > > > > > > > > > > > assumptions (ported from igoogle).
> Work
> > > > that I'm
> > > > >  > > > doing
> > > > >  > > > > > > to
> > > > >  > > > > > > > deal
> > > > >  > > > > > > > > > > with
> > > > >  > > > > > > > > > > > > a
> > > > >  > > > > > > > > > > > > > > unified configuration model (see
> > SHINDIG-22
> > > > and
> > > > >  > > > > > > SHINDIG-44
> > > > >  > > > > > > > for
> > > > >  > > > > > > > > > > > > details)
> > > > >  > > > > > > > > > > > > > > should allow arbitrary iframe ids.
> > > > >  > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo
> > > > Anderson <
> > > > >  > > > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > >  > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > Currently I'm using latest SVN
> > snapshot.
> > > > >  > > Actually,
> > > > >  > > > I
> > > > >  > > > > > > > update
> > > > >  > > > > > > > > > my
> > > > >  > > > > > > > > > > > > code
> > > > >  > > > > > > > > > > > > > > daily.
> > > > >  > > > > > > > > > > > > > > > So, problem is not with my code.
> What
> > if
> > > > anybody
> > > > >  > > > > > > wants to
> > > > >  > > > > > > > > > use a
> > > > >  > > > > > > > > > > > > > > different
> > > > >  > > > > > > > > > > > > > > > GADGET_IFRAME_PREFIX_? What happens
> > if
> > > > somebody
> > > > >  > > > > > > sends id
> > > > >  > > > > > > > as
> > > > >  > > > > > > > > > a
> > > > >  > > > > > > > > > > > > > parameter
> > > > >  > > > > > > > > > > > > > > > and
> > > > >  > > > > > > > > > > > > > > > use it as gadget id?
> > > > >  > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > Then iFrame id will be
> > > > GADGET_IFRAME_PREFIX_ +
> > > > >  > > id
> > > > >  > > > > > > passed
> > > > >  > > > > > > > as
> > > > >  > > > > > > > > > > > > parameter.
> > > > >  > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > Will this cause any problems?
> > > > >  > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 11:52 AM,
> > Kevin
> > > > Brown <
> > > > >  > > > > > > > > > etnu@google.com>
> > > > >  > > > > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > It looks like a problem with
> ifpc,
> > but
> > > > I can't
> > > > >  > > > > > > figure
> > > > >  > > > > > > > out
> > > > >  > > > > > > > > > what
> > > > >  > > > > > > > > > > > > > exactly
> > > > >  > > > > > > > > > > > > > > > is
> > > > >  > > > > > > > > > > > > > > > > causing it. From the looks of
> > things it
> > > > might
> > > > >  > > be
> > > > >  > > > > > > related
> > > > >  > > > > > > > > > to
> > > > >  > > > > > > > > > > > > > something
> > > > >  > > > > > > > > > > > > > > > that
> > > > >  > > > > > > > > > > > > > > > > Zhen recently fixed, which is
> that
> > we
> > > > weren't
> > > > >  > > > > > > using
> > > > >  > > > > > > > > > consistent
> > > > >  > > > > > > > > > > > > > > > assumptions
> > > > >  > > > > > > > > > > > > > > > > for the id / name of the iframe
> > > > elements on
> > > > >  > > the
> > > > >  > > > > > > > containing
> > > > >  > > > > > > > > > > page.
> > > > >  > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > Could you try it again using
> what's
> > in
> > > > the
> > > > >  > > > latest
> > > > >  > > > > > > SVN
> > > > >  > > > > > > > > > > snapshot?
> > > > >  > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:06 PM,
> > Neo
> > > > Anderson
> > > > >  > > <
> > > > >  > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > wrote:
> > > > >  > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > Did I got this this problem due
> > to my
> > > > coding
> > > > >  > > > or
> > > > >  > > > > > > it is
> > > > >  > > > > > > > > > > Shindig
> > > > >  > > > > > > > > > > > > > > problem?
> > > > >  > > > > > > > > > > > > > > > >  If
> > > > >  > > > > > > > > > > > > > > > > > it is shindig problem,are they
> > > > identified it
> > > > >  > > > and
> > > > >  > > > > > > > solving
> > > > >  > > > > > > > > > it?
> > > > >  > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > On Feb 14, 2008 12:07 AM,
> Cassie
> > <
> > > > >  > > > > > > doll@google.com>
> > > > >  > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > Just want to let you know
> that
> > > > these
> > > > >  > > > > > > exceptions were
> > > > >  > > > > > > > > > > > > captured in
> > > > >  > > > > > > > > > > > > > > > this
> > > > >  > > > > > > > > > > > > > > > > > bug
> > > > >  > > > > > > > > > > > > > > > > > > here:
> > > > >  > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > >  > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > I am able to reproduce the
> bug
> > as
> > > > well.
> > > > >  > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > - Cassie
> > > > >  > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 5:11
> > AM,
> > > > Neo
> > > > >  > > > Anderson
> > > > >  > > > > > > <
> > > > >  > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> >
> > > > >  > > > > > > > > > > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > // Own layout manager
> > > > >  > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > >
> gadgets.SortableLayoutManager=
> > > > >  > > > > > > > > > function(layoutRootId) {
> > > > >  > > > > > > > > > > > > > > > > > > >  gadgets.LayoutManager.call
> > > > (this);
> > > > >  > > > > > > > > > > > > > > > > > > >  this.layoutRootId_ =
> (typeof
> > > > >  > > layoutRootId
> > > > >  > > > > > > ==
> > > > >  > > > > > > > > > "string")
> > > > >  > > > > > > > > > > ?
> > > > >  > > > > > > > > > > > > > > > > > > > _get(layoutRootId) :
> > > > layoutRootId;
> > > > >  > > > > > > > > > > > > > > > > > > >  this.columns =
> > > > >  > > this.layoutRootId_.length;
> > > > >  > > > > > > > > > > > > > > > > > > > };
> > > > >  > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > >
> > > > gadgets.SortableLayoutManager.inherits(
> > > > >  > > > > > > > > > > > > gadgets.LayoutManager);
> > > > >  > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > >
> > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome=
> > > > >  > > > > > > > > > > > > > > > > > > function(gadget)
> > > > >  > > > > > > > > > > > > > > > > > > > {
> > > > >  > > > > > > > > > > > > > > > > > > >    minHeight =
> > this.layoutRootId
> > > > _[
> > > > >  > > > > > > this.columns-1
> > > > >  > > > > > > > > > > > > > ].offsetHeight;
> > > > >  > > > > > > > > > > > > > > > > > > >    index = 0;
> > > > >  > > > > > > > > > > > > > > > > > > >    for(i=this.columns-1;
> > i>=0;
> > > > i--){
> > > > >  > > > > > > > > > > > > > > > > > > >        if(this.layoutRootId
> > > > >  > > > _[i].offsetHeight
> > > > >  > > > > > > <=
> > > > >  > > > > > > > > > > > > minHeight){
> > > > >  > > > > > > > > > > > > > > > > > > >            minHeight =
> > > > this.layoutRootId
> > > > >  > > > > > > > > > > _[i].offsetHeight;
> > > > >  > > > > > > > > > > > > > > > > > > >            index = i;
> > > > >  > > > > > > > > > > > > > > > > > > >        }
> > > > >  > > > > > > > > > > > > > > > > > > >    }
> > > > >  > > > > > > > > > > > > > > > > > > >    return this.layoutRootId
> > > > _[index];
> > > > >  > > > > > > > > > > > > > > > > > > > };
> > > > >  > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > >
> > *********************************
> > > > Code
> > > > >  > > > ends
> > > > >  > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > _get returns elements by
> > class
> > > > >  > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > Here I'm sending an array
> of
> > > > three div
> > > > >  > > > > > > elements,
> > > > >  > > > > > > > > > > > > > gadgetChromeId
> > > > >  > > > > > > > > > > > > > > > will
> > > > >  > > > > > > > > > > > > > > > > > be
> > > > >  > > > > > > > > > > > > > > > > > > > set
> > > > >  > > > > > > > > > > > > > > > > > > > to the column whose
> > > > >  > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:53 PM,
> > Kevin
> > > > Brown <
> > > > >  > > > > > > > > > etnu@google.com>
> > > > >  > > > > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > Without seeing your code,
> I
> > > > really
> > > > >  > > have
> > > > >  > > > no
> > > > >  > > > > > > idea.
> > > > >  > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:19 AM,
> > Neo
> > > > Anderson
> > > > >  > > <
> > > > >  > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > >  > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > I have created my own
> > Layout
> > > > >  > > Manager.
> > > > >  > > > If
> > > > >  > > > > > > I use
> > > > >  > > > > > > > > > > > > > > > > > > FloatLeftLayoutManager,
> > > > >  > > > > > > > > > > > > > > > > > > > > > then
> > > > >  > > > > > > > > > > > > > > > > > > > > > it is working fine even
> > in
> > > > the page
> > > > >  > > > that
> > > > >  > > > > > > I
> > > > >  > > > > > > > > > tested
> > > > >  > > > > > > > > > > > > > > previously.
> > > > >  > > > > > > > > > > > > > > > I
> > > > >  > > > > > > > > > > > > > > > > > > > haven't
> > > > >  > > > > > > > > > > > > > > > > > > > > > got
> > > > >  > > > > > > > > > > > > > > > > > > > > > the
> window.setTimeouterror.
> > > > But why
> > > > >  > > > I'm
> > > > >  > > > > > > > getting
> > > > >  > > > > > > > > > > this
> > > > >  > > > > > > > > > > > > > error
> > > > >  > > > > > > > > > > > > > > > when
> > > > >  > > > > > > > > > > > > > > > > I
> > > > >  > > > > > > > > > > > > > > > > > > use
> > > > >  > > > > > > > > > > > > > > > > > > > > my
> > > > >  > > > > > > > > > > > > > > > > > > > > > own layout manager?
> > > > >  > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:29
> PM,
> > Neo
> > > > >  > > Anderson
> > > > >  > > > <
> > > > >  > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > >  > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > Container page? I'm
> not
> > > > using any
> > > > >  > > > > > > container
> > > > >  > > > > > > > .
> > > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:13
> > PM,
> > > > Kevin
> > > > >  > > Brown
> > > > >  > > > <
> > > > >  > > > > > > > > > > > > etnu@google.com>
> > > > >  > > > > > > > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > I see the error in
> > IE,
> > > > but this
> > > > >  > > > > > > looks like
> > > > >  > > > > > > > > > an
> > > > >  > > > > > > > > > > > > error
> > > > >  > > > > > > > > > > > > > > that's
> > > > >  > > > > > > > > > > > > > > > > > > popping
> > > > >  > > > > > > > > > > > > > > > > > > > > up
> > > > >  > > > > > > > > > > > > > > > > > > > > > on
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > all
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > gadget renders (I
> > don't
> > > > have an
> > > > >  > > IE
> > > > >  > > > > > > > debugger
> > > > >  > > > > > > > > > > > > available
> > > > >  > > > > > > > > > > > > > > > right
> > > > >  > > > > > > > > > > > > > > > > > now
> > > > >  > > > > > > > > > > > > > > > > > > so
> > > > >  > > > > > > > > > > > > > > > > > > > > > I'll
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > investigate
> tomorrow
> > when
> > > > I do).
> > > > >  > > I
> > > > >  > > > > > > can't
> > > > >  > > > > > > > > > find
> > > > >  > > > > > > > > > > > > anything
> > > > >  > > > > > > > > > > > > > > > > > > triggering
> > > > >  > > > > > > > > > > > > > > > > > > > > this
> > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> window.setTimeoutissue,
> > > > though.
> > > > >  > > > Is
> > > > >  > > > > > > this
> > > > >  > > > > > > > > > > happening
> > > > >  > > > > > > > > > > > > on
> > > > >  > > > > > > > > > > > > > a
> > > > >  > > > > > > > > > > > > > > > > > > container
> > > > >  > > > > > > > > > > > > > > > > > > > > page
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > that
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > you wrote yourself?
> > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008
> 1:05
> > AM,
> > > > Neo
> > > > >  > > > > > > Anderson <
> > > > >  > > > > > > > > > > > > > > > > > > >
> neoanderson123@googlemail.com
> > > > >  > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > If I run the same
> > > > example in
> > > > >  > > IE,
> > > > >  > > > > > > then it
> > > > >  > > > > > > > > > is
> > > > >  > > > > > > > > > > not
> > > > >  > > > > > > > > > > > > > > working.
> > > > >  > > > > > > > > > > > > > > > > It
> > > > >  > > > > > > > > > > > > > > > > > is
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > displaying
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > JavaScript error
> > > > "gadgets" is
> > > > >  > > > not
> > > > >  > > > > > > > defined.
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008
> > 2:34
> > > > PM, Neo
> > > > >  > > > > > > Anderson <
> > > > >  > > > > > > > > > > > > > > > > > > > >
> > neoanderson123@googlemail.com
> > > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > No, I'm not
> > getting
> > > > any
> > > > >  > > errors
> > > > >  > > > > > > even I
> > > > >  > > > > > > > > > add
> > > > >  > > > > > > > > > > some
> > > > >  > > > > > > > > > > > > > more
> > > > >  > > > > > > > > > > > > > > > > > gadgets
> > > > >  > > > > > > > > > > > > > > > > > > in
> > > > >  > > > > > > > > > > > > > > > > > > > a
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > single
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > column. Any it
> is
> > > > working
> > > > >  > > > fine.
> > > > >  > > > > > > What
> > > > >  > > > > > > > > > might
> > > > >  > > > > > > > > > > br
> > > > >  > > > > > > > > > > > > the
> > > > >  > > > > > > > > > > > > > > > > problem?
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008
> > 2:11
> > > > PM,
> > > > >  > > Kevin
> > > > >  > > > > > > Brown <
> > > > >  > > > > > > > > > > > > > > etnu@google.com>
> > > > >  > > > > > > > > > > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > Do you get
> the
> > > > error when
> > > > >  > > > > > > hitting
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > >
> > > > >  > > > > > >
> > > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > clicking
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > the
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > "Refine the
> > list"
> > > > link?
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13,
> 2008
> > > > 12:35 AM,
> > > > >  > > > Neo
> > > > >  > > > > > > > Anderson
> > > > >  > > > > > > > > > <
> > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > neoanderson123@googlemail.com>
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > Yes, I'm
> > using
> > > > latest
> > > > >  > > > > > > snapshot.
> > > > >  > > > > > > > I'm
> > > > >  > > > > > > > > > > using
> > > > >  > > > > > > > > > > > > FF
> > > > >  > > > > > > > > > > > > > > > 2.0.12
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13,
> > 2008
> > > > 2:04 PM,
> > > > >  > > > > > > Kevin
> > > > >  > > > > > > > Brown
> > > > >  > > > > > > > > > <
> > > > >  > > > > > > > > > > > > > > > > etnu@google.com>
> > > > >  > > > > > > > > > > > > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > What
> > browser
> > > > are you
> > > > >  > > > > > > seeing this
> > > > >  > > > > > > > > > in?
> > > > >  > > > > > > > > > > Are
> > > > >  > > > > > > > > > > > > you
> > > > >  > > > > > > > > > > > > > > > using
> > > > >  > > > > > > > > > > > > > > > > > the
> > > > >  > > > > > > > > > > > > > > > > > > > > > latest
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > snapshot?
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > I
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > can't
> > > > reproduce.
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb
> 13,
> > 2008
> > > > 12:03
> > > > >  > > > AM,
> > > > >  > > > > > > Arun
> > > > >  > > > > > > > > > Kumar <
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I also
> > got
> > > > the same
> > > > >  > > > > > > problem...
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb
> > 13,
> > > > 2008 1:15
> > > > >  > > > PM,
> > > > >  > > > > > > Neo
> > > > >  > > > > > > > > > > Anderson
> > > > >  > > > > > > > > > > > > <
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > neoanderson123@googlemail.com>
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm
> > getting
> > > > >  > > > *uncaught
> > > > >  > > > > > > > > > exception:
> > > > >  > > > > > > > > > > > > > > Permission
> > > > >  > > > > > > > > > > > > > > > > > denied
> > > > >  > > > > > > > > > > > > > > > > > > > to
> > > > >  > > > > > > > > > > > > > > > > > > > > > call
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > method
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > Window.setTimeout*exception
> > > > >  > > > > > > > > > when
> > > > >  > > > > > > > > > > I
> > > > >  > > > > > > > > > > > > try
> > > > >  > > > > > > > > > > > > > to
> > > > >  > > > > > > > > > > > > > > > use
> > > > >  > > > > > > > > > > > > > > > > > > > Dynamic
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > Height
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > feature.
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > But
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> dynamic
> > > > height is
> > > > >  > > > > > > working.
> > > > >  > > > > > > > I'm
> > > > >  > > > > > > > > > > > > adding
> > > > >  > > > > > > > > > > > > > > > gadgets
> > > > >  > > > > > > > > > > > > > > > > to
> > > > >  > > > > > > > > > > > > > > > > > > my
> > > > >  > > > > > > > > > > > > > > > > > > > > web
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > page
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> dynamically
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > i.e.,
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm
> > able to
> > > > add a
> > > > >  > > > > > > gadget
> > > > >  > > > > > > > upon
> > > > >  > > > > > > > > > > > > clicking
> > > > >  > > > > > > > > > > > > > on
> > > > >  > > > > > > > > > > > > > > a
> > > > >  > > > > > > > > > > > > > > > > > > button.
> > > > >  > > > > > > > > > > > > > > > > > > > > But
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > when I
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > place
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > two
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> gadgets
> > in
> > > > a
> > > > >  > > column,
> > > > >  > > > > > > then if
> > > > >  > > > > > > > > > the
> > > > >  > > > > > > > > > > > > gadget
> > > > >  > > > > > > > > > > > > > on
> > > > >  > > > > > > > > > > > > > > > top
> > > > >  > > > > > > > > > > > > > > > > > > needs
> > > > >  > > > > > > > > > > > > > > > > > > > > to
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > adjust
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > it's
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> height,
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > then
> > the
> > > > gadget
> > > > >  > > > height
> > > > >  > > > > > > > height
> > > > >  > > > > > > > > > is
> > > > >  > > > > > > > > > > > > > adjusted
> > > > >  > > > > > > > > > > > > > > > and
> > > > >  > > > > > > > > > > > > > > > > > the
> > > > >  > > > > > > > > > > > > > > > > > > > > height
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > adjusted is
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > not
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> getting
> > > > displayed
> > > > >  > > > and
> > > > >  > > > > > > in
> > > > >  > > > > > > > this
> > > > >  > > > > > > > > > > case,
> > > > >  > > > > > > > > > > > > I'm
> > > > >  > > > > > > > > > > > > > > > > getting
> > > > >  > > > > > > > > > > > > > > > > > > the
> > > > >  > > > > > > > > > > > > > > > > > > > > > above
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > said
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > error.
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >
> > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > If you
> > received
> > > > this
> > > > >  > > > email
> > > > >  > > > > > > by
> > > > >  > > > > > > > > > mistake,
> > > > >  > > > > > > > > > > > > > please
> > > > >  > > > > > > > > > > > > > > > > delete
> > > > >  > > > > > > > > > > > > > > > > > > it,
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > cancel
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > your
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > mail
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > account,
> > > > destroy your
> > > > >  > > > hard
> > > > >  > > > > > > > drive,
> > > > >  > > > > > > > > > > > > silence
> > > > >  > > > > > > > > > > > > > any
> > > > >  > > > > > > > > > > > > > > > > > > witnesses,
> > > > >  > > > > > > > > > > > > > > > > > > > > and
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > burn
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > down
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > the
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > building
> > that
> > > > you're
> > > > >  > > in.
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > If you
> received
> > > > this email
> > > > >  > > > by
> > > > >  > > > > > > > mistake,
> > > > >  > > > > > > > > > > > > please
> > > > >  > > > > > > > > > > > > > > delete
> > > > >  > > > > > > > > > > > > > > > > it,
> > > > >  > > > > > > > > > > > > > > > > > > > > cancel
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > your
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > mail
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > account,
> > destroy
> > > > your hard
> > > > >  > > > > > > drive,
> > > > >  > > > > > > > > > silence
> > > > >  > > > > > > > > > > > > any
> > > > >  > > > > > > > > > > > > > > > > witnesses,
> > > > >  > > > > > > > > > > > > > > > > > > and
> > > > >  > > > > > > > > > > > > > > > > > > > > > burn
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > down
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > the
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > building that
> > > > you're in.
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > If you received
> this
> > > > email by
> > > > >  > > > > > > mistake,
> > > > >  > > > > > > > > > please
> > > > >  > > > > > > > > > > > > delete
> > > > >  > > > > > > > > > > > > > it,
> > > > >  > > > > > > > > > > > > > > > > > cancel
> > > > >  > > > > > > > > > > > > > > > > > > > your
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > mail
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > account, destroy
> your
> > > > hard
> > > > >  > > drive,
> > > > >  > > > > > > silence
> > > > >  > > > > > > > > > any
> > > > >  > > > > > > > > > > > > > witnesses,
> > > > >  > > > > > > > > > > > > > > > and
> > > > >  > > > > > > > > > > > > > > > > > > burn
> > > > >  > > > > > > > > > > > > > > > > > > > > down
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > the
> > > > >  > > > > > > > > > > > > > > > > > > > > > > > building that
> you're
> > in.
> > > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > > > If you received this
> email
> > by
> > > > mistake,
> > > > >  > > > > > > please
> > > > >  > > > > > > > > > delete
> > > > >  > > > > > > > > > > it,
> > > > >  > > > > > > > > > > > > > > cancel
> > > > >  > > > > > > > > > > > > > > > > your
> > > > >  > > > > > > > > > > > > > > > > > > > mail
> > > > >  > > > > > > > > > > > > > > > > > > > > account, destroy your
> hard
> > > > drive,
> > > > >  > > > silence
> > > > >  > > > > > > any
> > > > >  > > > > > > > > > > witnesses,
> > > > >  > > > > > > > > > > > > and
> > > > >  > > > > > > > > > > > > > > > burn
> > > > >  > > > > > > > > > > > > > > > > > down
> > > > >  > > > > > > > > > > > > > > > > > > > the
> > > > >  > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > >  > > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > > > If you received this email by
> > mistake,
> > > > please
> > > > >  > > > > > > delete it,
> > > > >  > > > > > > > > > > cancel
> > > > >  > > > > > > > > > > > > your
> > > > >  > > > > > > > > > > > > > > > mail
> > > > >  > > > > > > > > > > > > > > > > account, destroy your hard drive,
> > > > silence any
> > > > >  > > > > > > witnesses,
> > > > >  > > > > > > > > > and
> > > > >  > > > > > > > > > > > > burn
> > > > >  > > > > > > > > > > > > > down
> > > > >  > > > > > > > > > > > > > > > the
> > > > >  > > > > > > > > > > > > > > > > building that you're in.
> > > > >  > > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > > > If you received this email by
> mistake,
> > > > please
> > > > >  > > delete
> > > > >  > > > > > > it,
> > > > >  > > > > > > > > > cancel
> > > > >  > > > > > > > > > > your
> > > > >  > > > > > > > > > > > > > mail
> > > > >  > > > > > > > > > > > > > > account, destroy your hard drive,
> > silence
> > > > any
> > > > >  > > > > > > witnesses, and
> > > > >  > > > > > > > > > burn
> > > > >  > > > > > > > > > > > > down
> > > > >  > > > > > > > > > > > > > the
> > > > >  > > > > > > > > > > > > > > building that you're in.
> > > > >  > > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > >
> > > > >  > > > > > > > > > > > > If you received this email by mistake,
> > please
> > > > delete
> > > > >  > > it,
> > > > >  > > > > > > cancel
> > > > >  > > > > > > > > > your
> > > > >  > > > > > > > > > > > > mail
> > > > >  > > > > > > > > > > > > account, destroy your hard drive, silence
> > any
> > > > >  > > witnesses,
> > > > >  > > > > > > and
> > > > >  > > > > > > > burn
> > > > >  > > > > > > > > > down
> > > > >  > > > > > > > > > > > > the
> > > > >  > > > > > > > > > > > > building that you're in.
> > > > >  > > > > > > > > > > > >
> > > > >  > > > > > > > > > > >
> > > > >  > > > > > > > > > > >
> > > > >  > > > > > > > > > >
> > > > >  > > > > > > > > >
> > > > >  > > > > > > > > >
> > > > >  > > > > > > > > >
> > > > >  > > > > > > > > >
> > > > >  > > > > > > > > > If you received this email by mistake, please
> > delete
> > > > it,
> > > > >  > > > cancel
> > > > >  > > > > > > your
> > > > >  > > > > > > > > > mail
> > > > >  > > > > > > > > > account, destroy your hard drive, silence any
> > > > witnesses, and
> > > > >  > > > > > > burn down
> > > > >  > > > > > > > > > the
> > > > >  > > > > > > > > > building that you're in.
> > > > >  > > > > > > > > >
> > > > >  > > > > > > > >
> > > > >  > > > > > > > >
> > > > >  > > > > > > >
> > > > >  > > > > > >
> > > > >  > > > > > >
> > > > >  > > > > > >
> > > > >  > > > > > >
> > > > >  > > > > > > If you received this email by mistake, please delete
> > it,
> > > > cancel
> > > > >  > > your
> > > > >  > > > > > > mail
> > > > >  > > > > > > account, destroy your hard drive, silence any
> > witnesses,
> > > > and burn
> > > > >  > > > down
> > > > >  > > > > > > the
> > > > >  > > > > > > building that you're in.
> > > > >  > > > > > >
> > > > >  > > > > >
> > > > >  > > > > >
> > > > >  > > > >
> > > > >  > > >
> > > > >  > >
> > > > >  >
> > > > >  >
> > > > >  >
> > > > >
> > > > >  --
> > > > >  Paul Lindner
> > > > >  hi5 Architect
> > > > >  plindner@hi5.com
> > > > >
> > > >
> > >
> >
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
But still it is not working.

On Feb 20, 2008 3:11 AM, Zhen Wang <wa...@google.com> wrote:

> Yes, I have already changed the synd parameters to "shindig" to work
> around the problem.
>
> On Feb 18, 2008 10:21 PM, Arun Kumar <ar...@gmail.com>
> wrote:
> > Zhen, Did you solved this problem?
> > And if this problem  solved, can I use my custom layout manager code?
> >
> > *Code: *
> >
> > gadgets.SortableLayoutManager = function(layoutRootId) {
> >  gadgets.LayoutManager.call(this);
> >  this.layoutRootId_ = (typeof layoutRootId == "string") ?
> > _get(layoutRootId) : layoutRootId;
> >  this.columns = this.layoutRootId_.length;
> > };
> >
> > gadgets.SortableLayoutManager.inherits(gadgets.LayoutManager);
> >
> > gadgets.SortableLayoutManager.prototype.getGadgetChrome =
> function(gadget) {
> >    minHeight = this.layoutRootId_[this.columns-1].offsetHeight;
> >    index = 0;
> >    for(i=this.columns-1; i>=0; i--){
> >        if(this.layoutRootId_[i].offsetHeight <= minHeight){
> >            minHeight = this.layoutRootId_[i].offsetHeight;
> >            index = i;
> >        }
> >    }
> >    return this.layoutRootId_[index];
> > };
> >
> > Will this code work without above said problem?
> >
> > In FF, I got above problem. Nut in IE7, if I open the same page, I'm
> getting
> > *"gadgets" is undefined.*
> >
> >
> > On Feb 16, 2008 5:10 AM, Zhen Wang <zh...@apache.org> wrote:
> >
> > > Hi Paul,
> > >
> > > Your analysis is correct. Although this is not a Shindig problem per
> > > se, it can be simply fixed by changing the synd parameter from
> > > "gadgets" to "shindig" which is supported by gmodules.com.
> > >
> > >
> > > On Fri, Feb 15, 2008 at 12:31 PM, Paul Lindner <pl...@hi5.com>
> wrote:
> > > > Digging into this with firebug it appears that this is problem on
> > > >  gmodules.com, not in Shindig.
> > > >
> > > >  A request is made of gmodules.com for an iframe like this:
> > > >
> > > >
> > >
> http://www.gmodules.com/ig/ifr?url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fhoroscope.xml&nocache=1&synd=gadgets&mid=0&parent=http%3A%2F%2Flocalhost%3A8080%2Fgadgets%2Ffiles%2Fcontainer%2Fifpc_relay.html%3F&ogc=localhost:8080&country=US&lang=en&view=&view-params=%22%22#undefined
> > > >
> > > >  Note the parent is correctly set to localhost.
> > > >
> > > >  However it appears that gmodules.com ignores the parent and instead
> > > >  tries to use an IFPC frame on www.google.com, like this:
> > > >
> > > >
> > >
> http://www.google.com/ig/ifpc_relay#%22remote_iframe_2%22&0&1&0&%22%2522remote_iframe_2%2522%26%2522set_pref%2522%26%2522%2522%26%2522%2522%26%2522remote_iframe_2%2522%26%2522%2522%26%2522saved_tasks%2522%26%2522_%2523%2524LAB_MATAN%2524%2523_0_%2523%2524LAB_UDI%2524%2523_aaadfad_%2523%2524LAB_UDI%2524%2523_black%2522%22&true
> > > >
> > > >  That doesn't match localhost:8080, thus we get the permission
> denied
> > > >  error.
> > > >
> > > >  Can someone check in with the folks running gmodules.com so it will
> > > >  recognize parent params on a synd=gadgets request?
> > > >
> > > >
> > > >
> > > >
> > > >  On Fri, Feb 15, 2008 at 11:37:06AM -0800, Kevin Brown wrote:
> > > >  > I asked Zhen to look into it since I've been bogged down with too
> > > much work
> > > >  > as is -- as Cassie mentioned, his rpc commit should fix other
> issues.
> > > >  >
> > > >  > On Fri, Feb 15, 2008 at 10:40 AM, Cassie <do...@google.com> wrote:
> > > >  >
> > > >  > > Hopefully with Zhen's new rpc code we can get this error to go
> > > away. I
> > > >  > > believe he is going to switch over the samples to use
> gadgets.rpcsoon and
> >
> > > >  > > look into the error at the same time.
> > > >  > >
> > > >  > > - Cassie
> > > >  > >
> > > >  > >
> > > >  > > On Fri, Feb 15, 2008 at 4:41 AM, Neo Anderson <
> > > >  > > neoanderson123@googlemail.com>
> > > >  > > wrote:
> > > >  > >
> > > >  > > > Kevin, did you identified the problem?
> > > >  > > >
> > > >  > > > On Fri, Feb 15, 2008 at 2:58 PM, Neo Anderson <
> > > >  > > > neoanderson123@googlemail.com>
> > > >  > > > wrote:
> > > >  > > >
> > > >  > > > > Any update regarding this problem?
> > > >  > > > >
> > > >  > > > >
> > > >  > > > > On Thu, Feb 14, 2008 at 5:32 PM, Neo Anderson <
> > > >  > > > > neoanderson123@googlemail.com> wrote:
> > > >  > > > >
> > > >  > > > > > k. What abt the question related to UserPrefs?
> > > >  > > > > >
> > > >  > > > > >
> > > >  > > > > >
> > > >  > > > > > On Thu, Feb 14, 2008 at 5:29 PM, Kevin Brown <
> etnu@google.com
> > > >
> > > >  > > wrote:
> > > >  > > > > >
> > > >  > > > > > > Sorry, I haven't had a chance to look into it yet. I'll
> try
> > > to see
> > > >  > > > > > > what I
> > > >  > > > > > > can find tomorrow.
> > > >  > > > > > >
> > > >  > > > > > > On Thu, Feb 14, 2008 at 3:56 AM, Neo Anderson <
> > > >  > > > > > > neoanderson123@googlemail.com>
> > > >  > > > > > > wrote:
> > > >  > > > > > >
> > > >  > > > > > > > @Kevin, did you identified the problem?,
> > > >  > > > > > > >
> > > >  > > > > > > > How to use UserPref with <Content type="url" href="
> > > xxxx.jsp" />?
> > > >  > > > > > > >
> > > >  > > > > > > > If I modify and click on save, to which URL these
> > > modified
> > > >  > > values
> > > >  > > > > > > will be
> > > >  > > > > > > > posted to?
> > > >  > > > > > > >
> > > >  > > > > > > > On Thu, Feb 14, 2008 at 2:57 PM, Neo Anderson <
> > > >  > > > > > > > neoanderson123@googlemail.com>
> > > >  > > > > > > > wrote:
> > > >  > > > > > > >
> > > >  > > > > > > > > Did you got my code?
> > > >  > > > > > > > >
> > > >  > > > > > > > >
> > > >  > > > > > > > > On Thu, Feb 14, 2008 at 2:21 PM, Kevin Brown <
> > > etnu@google.com>
> > > >  > > > > > > wrote:
> > > >  > > > > > > > >
> > > >  > > > > > > > > > Go ahead and send your code that's causing
> problems
> > > and I'll
> > > >  > > > see
> > > >  > > > > > > if I
> > > >  > > > > > > > > > can
> > > >  > > > > > > > > > take a look.
> > > >  > > > > > > > > >
> > > >  > > > > > > > > > The IE7 issue is known and being investigated
> (not
> > > your
> > > >  > > > problem
> > > >  > > > > > > > > > specifically).
> > > >  > > > > > > > > >
> > > >  > > > > > > > > > On Thu, Feb 14, 2008 at 12:33 AM, Neo Anderson <
> > > >  > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > >  > > > > > > > > >
> > > >  > > > > > > > > > > It is working in FF with errors as said above.
> But
> > > in IE(
> > > >  > > > v7.0),
> > > >  > > > > > > I
> > > >  > > > > > > > got
> > > >  > > > > > > > > > the
> > > >  > > > > > > > > > > error *Error: "gadgets" is undefined.* If the
> > > problem is
> > > >  > > > with
> > > >  > > > > > > my
> > > >  > > > > > > > > > script,
> > > >  > > > > > > > > > > then it must not work in FF. :-(
> > > >  > > > > > > > > > >
> > > >  > > > > > > > > > > On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson <
> > > >  > > > > > > > > > > neoanderson123@googlemail.com>
> > > >  > > > > > > > > > > wrote:
> > > >  > > > > > > > > > >
> > > >  > > > > > > > > > > > I replaced GADGET_IFRAME_PREFIX_ with default
> > > one. i.e.,
> > > >  > > > > > > > > > > "remote_iframe_"
> > > >  > > > > > > > > > > >
> > > >  > > > > > > > > > > > Do I need to use arbitrary moduleId's or can
> I
> > > make them
> > > >  > > > > > > user
> > > >  > > > > > > > > > specific?
> > > >  > > > > > > > > > > >
> > > >  > > > > > > > > > > > Even now, after restoring the value of
> > > >  > > > > > > "GADGET_IFRAME_PREFIX_",
> > > >  > > > > > > >  it
> > > >  > > > > > > > > > is
> > > >  > > > > > > > > > > > working fine with sample6.html (I placed 6
> > > gadgets and
> > > >  > > got
> > > >  > > > > > > them in
> > > >  > > > > > > > > > two
> > > >  > > > > > > > > > > > rows.) And in this example, the gadget on top
> is
> > > able to
> > > >  > > > > > > adjust
> > > >  > > > > > > > it's
> > > >  > > > > > > > > > > height.
> > > >  > > > > > > > > > > > But when I'm using my own Layout Manager,
> then
> > > The
> > > >  > > gadget
> > > >  > > > on
> > > >  > > > > > > top
> > > >  > > > > > > > is
> > > >  > > > > > > > > > not
> > > >  > > > > > > > > > > > adjusting it's height and after adjusting
> it's
> > > height
> > > >  > > the
> > > >  > > > > > > adjusted
> > > >  > > > > > > > > > part
> > > >  > > > > > > > > > > is
> > > >  > > > > > > > > > > > not visible.
> > > >  > > > > > > > > > > >
> > > >  > > > > > > > > > > > When ever I use my own layout manager(Code is
> > > posted in
> > > >  > > > one
> > > >  > > > > > > of the
> > > >  > > > > > > > > > > > previous mesages), I'm getting *uncaught
> > > exception:
> > > >  > > > > > > Permission
> > > >  > > > > > > > > > denied to
> > > >  > > > > > > > > > > > call method Window.setTimeout* error.
> > > >  > > > > > > > > > > >
> > > >  > > > > > > > > > > > Can I send my gadgets.js file and the html
> page
> > > that I
> > > >  > > am
> > > >  > > > > > > using?
> > > >  > > > > > > > > > > >
> > > >  > > > > > > > > > > >
> > > >  > > > > > > > > > > > On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown
> <
> > > >  > > > > > > etnu@google.com>
> > > >  > > > > > > > > > wrote:
> > > >  > > > > > > > > > > >
> > > >  > > > > > > > > > > > > Not with the current code -- it assumes
> that
> > > your
> > > >  > > > iframe's
> > > >  > > > > > > id /
> > > >  > > > > > > > > > name
> > > >  > > > > > > > > > > is
> > > >  > > > > > > > > > > > > remote_iframe_<module id>. (see:
> > > >  > > > > > > > > > > > >
> > > >  > > > > > > > > > > > >
> > > >  > > > > > > > > > >
> > > >  > > > > > > > > >
> > > >  > > > > > > >
> > > >  > > > > > >
> > > >  > > >
> > > >  > >
> > >
> http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> > > >  > > > > > > > > > > > > )
> > > >  > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > When the changes described in SHINDIG-22
> and
> > > >  > > SHINDIG-44
> > > >  > > > > > > are
> > > >  > > > > > > > > > > implemented
> > > >  > > > > > > > > > > > > you
> > > >  > > > > > > > > > > > > should be able to use whatever you want,
> but
> > > for now
> > > >  > > you
> > > >  > > > > > > have to
> > > >  > > > > > > > > > > follow
> > > >  > > > > > > > > > > > > this
> > > >  > > > > > > > > > > > > naming convention for the shindig
> > > ifpc-dependent
> > > >  > > > features
> > > >  > > > > > > to
> > > >  > > > > > > > work.
> > > >  > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > On Wed, Feb 13, 2008 at 11:42 PM, Neo
> Anderson
> > > <
> > > >  > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > >  > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > Can't I use my own gadget id?
> > > >  > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > I won't change that
> GADGET_IFRAME_PREFIX_.
> > > Even now,
> > > >  > > > do
> > > >  > > > > > > I need
> > > >  > > > > > > > > > to
> > > >  > > > > > > > > > > use
> > > >  > > > > > > > > > > > > > arbitrary iframe id's?
> > > >  > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin
> Brown
> > > <
> > > >  > > > > > > etnu@google.com>
> > > >  > > > > > > > > > > wrote:
> > > >  > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > Right now some things are hard coded to
> use
> > > the
> > > >  > > > fixed
> > > >  > > > > > > iframe
> > > >  > > > > > > > > > name
> > > >  > > > > > > > > > > > > > > assumptions (ported from igoogle). Work
> > > that I'm
> > > >  > > > doing
> > > >  > > > > > > to
> > > >  > > > > > > > deal
> > > >  > > > > > > > > > > with
> > > >  > > > > > > > > > > > > a
> > > >  > > > > > > > > > > > > > > unified configuration model (see
> SHINDIG-22
> > > and
> > > >  > > > > > > SHINDIG-44
> > > >  > > > > > > > for
> > > >  > > > > > > > > > > > > details)
> > > >  > > > > > > > > > > > > > > should allow arbitrary iframe ids.
> > > >  > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo
> > > Anderson <
> > > >  > > > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > >  > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > Currently I'm using latest SVN
> snapshot.
> > > >  > > Actually,
> > > >  > > > I
> > > >  > > > > > > > update
> > > >  > > > > > > > > > my
> > > >  > > > > > > > > > > > > code
> > > >  > > > > > > > > > > > > > > daily.
> > > >  > > > > > > > > > > > > > > > So, problem is not with my code. What
> if
> > > anybody
> > > >  > > > > > > wants to
> > > >  > > > > > > > > > use a
> > > >  > > > > > > > > > > > > > > different
> > > >  > > > > > > > > > > > > > > > GADGET_IFRAME_PREFIX_? What happens
> if
> > > somebody
> > > >  > > > > > > sends id
> > > >  > > > > > > > as
> > > >  > > > > > > > > > a
> > > >  > > > > > > > > > > > > > parameter
> > > >  > > > > > > > > > > > > > > > and
> > > >  > > > > > > > > > > > > > > > use it as gadget id?
> > > >  > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > Then iFrame id will be
> > > GADGET_IFRAME_PREFIX_ +
> > > >  > > id
> > > >  > > > > > > passed
> > > >  > > > > > > > as
> > > >  > > > > > > > > > > > > parameter.
> > > >  > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > Will this cause any problems?
> > > >  > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 11:52 AM,
> Kevin
> > > Brown <
> > > >  > > > > > > > > > etnu@google.com>
> > > >  > > > > > > > > > > > > wrote:
> > > >  > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > It looks like a problem with ifpc,
> but
> > > I can't
> > > >  > > > > > > figure
> > > >  > > > > > > > out
> > > >  > > > > > > > > > what
> > > >  > > > > > > > > > > > > > exactly
> > > >  > > > > > > > > > > > > > > > is
> > > >  > > > > > > > > > > > > > > > > causing it. From the looks of
> things it
> > > might
> > > >  > > be
> > > >  > > > > > > related
> > > >  > > > > > > > > > to
> > > >  > > > > > > > > > > > > > something
> > > >  > > > > > > > > > > > > > > > that
> > > >  > > > > > > > > > > > > > > > > Zhen recently fixed, which is that
> we
> > > weren't
> > > >  > > > > > > using
> > > >  > > > > > > > > > consistent
> > > >  > > > > > > > > > > > > > > > assumptions
> > > >  > > > > > > > > > > > > > > > > for the id / name of the iframe
> > > elements on
> > > >  > > the
> > > >  > > > > > > > containing
> > > >  > > > > > > > > > > page.
> > > >  > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > Could you try it again using what's
> in
> > > the
> > > >  > > > latest
> > > >  > > > > > > SVN
> > > >  > > > > > > > > > > snapshot?
> > > >  > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:06 PM,
> Neo
> > > Anderson
> > > >  > > <
> > > >  > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> wrote:
> > > >  > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > Did I got this this problem due
> to my
> > > coding
> > > >  > > > or
> > > >  > > > > > > it is
> > > >  > > > > > > > > > > Shindig
> > > >  > > > > > > > > > > > > > > problem?
> > > >  > > > > > > > > > > > > > > > >  If
> > > >  > > > > > > > > > > > > > > > > > it is shindig problem,are they
> > > identified it
> > > >  > > > and
> > > >  > > > > > > > solving
> > > >  > > > > > > > > > it?
> > > >  > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > On Feb 14, 2008 12:07 AM, Cassie
> <
> > > >  > > > > > > doll@google.com>
> > > >  > > > > > > > > > wrote:
> > > >  > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > Just want to let you know that
> > > these
> > > >  > > > > > > exceptions were
> > > >  > > > > > > > > > > > > captured in
> > > >  > > > > > > > > > > > > > > > this
> > > >  > > > > > > > > > > > > > > > > > bug
> > > >  > > > > > > > > > > > > > > > > > > here:
> > > >  > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > >  > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > I am able to reproduce the bug
> as
> > > well.
> > > >  > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > - Cassie
> > > >  > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 5:11
> AM,
> > > Neo
> > > >  > > > Anderson
> > > >  > > > > > > <
> > > >  > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > >  > > > > > > > > > > > > > > > > > > wrote:
> > > >  > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > // Own layout manager
> > > >  > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > gadgets.SortableLayoutManager=
> > > >  > > > > > > > > > function(layoutRootId) {
> > > >  > > > > > > > > > > > > > > > > > > >  gadgets.LayoutManager.call
> > > (this);
> > > >  > > > > > > > > > > > > > > > > > > >  this.layoutRootId_ = (typeof
> > > >  > > layoutRootId
> > > >  > > > > > > ==
> > > >  > > > > > > > > > "string")
> > > >  > > > > > > > > > > ?
> > > >  > > > > > > > > > > > > > > > > > > > _get(layoutRootId) :
> > > layoutRootId;
> > > >  > > > > > > > > > > > > > > > > > > >  this.columns =
> > > >  > > this.layoutRootId_.length;
> > > >  > > > > > > > > > > > > > > > > > > > };
> > > >  > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > >
> > > gadgets.SortableLayoutManager.inherits(
> > > >  > > > > > > > > > > > > gadgets.LayoutManager);
> > > >  > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > >
> > > gadgets.SortableLayoutManager.prototype.getGadgetChrome=
> > > >  > > > > > > > > > > > > > > > > > > function(gadget)
> > > >  > > > > > > > > > > > > > > > > > > > {
> > > >  > > > > > > > > > > > > > > > > > > >    minHeight =
> this.layoutRootId
> > > _[
> > > >  > > > > > > this.columns-1
> > > >  > > > > > > > > > > > > > ].offsetHeight;
> > > >  > > > > > > > > > > > > > > > > > > >    index = 0;
> > > >  > > > > > > > > > > > > > > > > > > >    for(i=this.columns-1;
> i>=0;
> > > i--){
> > > >  > > > > > > > > > > > > > > > > > > >        if(this.layoutRootId
> > > >  > > > _[i].offsetHeight
> > > >  > > > > > > <=
> > > >  > > > > > > > > > > > > minHeight){
> > > >  > > > > > > > > > > > > > > > > > > >            minHeight =
> > > this.layoutRootId
> > > >  > > > > > > > > > > _[i].offsetHeight;
> > > >  > > > > > > > > > > > > > > > > > > >            index = i;
> > > >  > > > > > > > > > > > > > > > > > > >        }
> > > >  > > > > > > > > > > > > > > > > > > >    }
> > > >  > > > > > > > > > > > > > > > > > > >    return this.layoutRootId
> > > _[index];
> > > >  > > > > > > > > > > > > > > > > > > > };
> > > >  > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > >
> *********************************
> > > Code
> > > >  > > > ends
> > > >  > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > _get returns elements by
> class
> > > >  > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > Here I'm sending an array of
> > > three div
> > > >  > > > > > > elements,
> > > >  > > > > > > > > > > > > > gadgetChromeId
> > > >  > > > > > > > > > > > > > > > will
> > > >  > > > > > > > > > > > > > > > > > be
> > > >  > > > > > > > > > > > > > > > > > > > set
> > > >  > > > > > > > > > > > > > > > > > > > to the column whose
> > > >  > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:53 PM,
> Kevin
> > > Brown <
> > > >  > > > > > > > > > etnu@google.com>
> > > >  > > > > > > > > > > > > wrote:
> > > >  > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > Without seeing your code, I
> > > really
> > > >  > > have
> > > >  > > > no
> > > >  > > > > > > idea.
> > > >  > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:19 AM,
> Neo
> > > Anderson
> > > >  > > <
> > > >  > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > >  > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > wrote:
> > > >  > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > I have created my own
> Layout
> > > >  > > Manager.
> > > >  > > > If
> > > >  > > > > > > I use
> > > >  > > > > > > > > > > > > > > > > > > FloatLeftLayoutManager,
> > > >  > > > > > > > > > > > > > > > > > > > > > then
> > > >  > > > > > > > > > > > > > > > > > > > > > it is working fine even
> in
> > > the page
> > > >  > > > that
> > > >  > > > > > > I
> > > >  > > > > > > > > > tested
> > > >  > > > > > > > > > > > > > > previously.
> > > >  > > > > > > > > > > > > > > > I
> > > >  > > > > > > > > > > > > > > > > > > > haven't
> > > >  > > > > > > > > > > > > > > > > > > > > > got
> > > >  > > > > > > > > > > > > > > > > > > > > > the window.setTimeouterror.
> > > But why
> > > >  > > > I'm
> > > >  > > > > > > > getting
> > > >  > > > > > > > > > > this
> > > >  > > > > > > > > > > > > > error
> > > >  > > > > > > > > > > > > > > > when
> > > >  > > > > > > > > > > > > > > > > I
> > > >  > > > > > > > > > > > > > > > > > > use
> > > >  > > > > > > > > > > > > > > > > > > > > my
> > > >  > > > > > > > > > > > > > > > > > > > > > own layout manager?
> > > >  > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:29 PM,
> Neo
> > > >  > > Anderson
> > > >  > > > <
> > > >  > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > >  > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > wrote:
> > > >  > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > Container page? I'm not
> > > using any
> > > >  > > > > > > container
> > > >  > > > > > > > .
> > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:13
> PM,
> > > Kevin
> > > >  > > Brown
> > > >  > > > <
> > > >  > > > > > > > > > > > > etnu@google.com>
> > > >  > > > > > > > > > > > > > > > wrote:
> > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > I see the error in
> IE,
> > > but this
> > > >  > > > > > > looks like
> > > >  > > > > > > > > > an
> > > >  > > > > > > > > > > > > error
> > > >  > > > > > > > > > > > > > > that's
> > > >  > > > > > > > > > > > > > > > > > > popping
> > > >  > > > > > > > > > > > > > > > > > > > > up
> > > >  > > > > > > > > > > > > > > > > > > > > > on
> > > >  > > > > > > > > > > > > > > > > > > > > > > > all
> > > >  > > > > > > > > > > > > > > > > > > > > > > > gadget renders (I
> don't
> > > have an
> > > >  > > IE
> > > >  > > > > > > > debugger
> > > >  > > > > > > > > > > > > available
> > > >  > > > > > > > > > > > > > > > right
> > > >  > > > > > > > > > > > > > > > > > now
> > > >  > > > > > > > > > > > > > > > > > > so
> > > >  > > > > > > > > > > > > > > > > > > > > > I'll
> > > >  > > > > > > > > > > > > > > > > > > > > > > > investigate tomorrow
> when
> > > I do).
> > > >  > > I
> > > >  > > > > > > can't
> > > >  > > > > > > > > > find
> > > >  > > > > > > > > > > > > anything
> > > >  > > > > > > > > > > > > > > > > > > triggering
> > > >  > > > > > > > > > > > > > > > > > > > > this
> > > >  > > > > > > > > > > > > > > > > > > > > > > > window.setTimeoutissue,
> > > though.
> > > >  > > > Is
> > > >  > > > > > > this
> > > >  > > > > > > > > > > happening
> > > >  > > > > > > > > > > > > on
> > > >  > > > > > > > > > > > > > a
> > > >  > > > > > > > > > > > > > > > > > > container
> > > >  > > > > > > > > > > > > > > > > > > > > page
> > > >  > > > > > > > > > > > > > > > > > > > > > > > that
> > > >  > > > > > > > > > > > > > > > > > > > > > > > you wrote yourself?
> > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:05
> AM,
> > > Neo
> > > >  > > > > > > Anderson <
> > > >  > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > >  > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > If I run the same
> > > example in
> > > >  > > IE,
> > > >  > > > > > > then it
> > > >  > > > > > > > > > is
> > > >  > > > > > > > > > > not
> > > >  > > > > > > > > > > > > > > working.
> > > >  > > > > > > > > > > > > > > > > It
> > > >  > > > > > > > > > > > > > > > > > is
> > > >  > > > > > > > > > > > > > > > > > > > > > > > displaying
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > JavaScript error
> > > "gadgets" is
> > > >  > > > not
> > > >  > > > > > > > defined.
> > > >  > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008
> 2:34
> > > PM, Neo
> > > >  > > > > > > Anderson <
> > > >  > > > > > > > > > > > > > > > > > > > >
> neoanderson123@googlemail.com
> > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > >  > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > No, I'm not
> getting
> > > any
> > > >  > > errors
> > > >  > > > > > > even I
> > > >  > > > > > > > > > add
> > > >  > > > > > > > > > > some
> > > >  > > > > > > > > > > > > > more
> > > >  > > > > > > > > > > > > > > > > > gadgets
> > > >  > > > > > > > > > > > > > > > > > > in
> > > >  > > > > > > > > > > > > > > > > > > > a
> > > >  > > > > > > > > > > > > > > > > > > > > > > > single
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > column. Any it is
> > > working
> > > >  > > > fine.
> > > >  > > > > > > What
> > > >  > > > > > > > > > might
> > > >  > > > > > > > > > > br
> > > >  > > > > > > > > > > > > the
> > > >  > > > > > > > > > > > > > > > > problem?
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008
> 2:11
> > > PM,
> > > >  > > Kevin
> > > >  > > > > > > Brown <
> > > >  > > > > > > > > > > > > > > etnu@google.com>
> > > >  > > > > > > > > > > > > > > > > > > wrote:
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > Do you get the
> > > error when
> > > >  > > > > > > hitting
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > >
> > > >  > > > > > >
> > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > clicking
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > the
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > "Refine the
> list"
> > > link?
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008
> > > 12:35 AM,
> > > >  > > > Neo
> > > >  > > > > > > > Anderson
> > > >  > > > > > > > > > <
> > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > neoanderson123@googlemail.com>
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > Yes, I'm
> using
> > > latest
> > > >  > > > > > > snapshot.
> > > >  > > > > > > > I'm
> > > >  > > > > > > > > > > using
> > > >  > > > > > > > > > > > > FF
> > > >  > > > > > > > > > > > > > > > 2.0.12
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13,
> 2008
> > > 2:04 PM,
> > > >  > > > > > > Kevin
> > > >  > > > > > > > Brown
> > > >  > > > > > > > > > <
> > > >  > > > > > > > > > > > > > > > > etnu@google.com>
> > > >  > > > > > > > > > > > > > > > > > > > > wrote:
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > What
> browser
> > > are you
> > > >  > > > > > > seeing this
> > > >  > > > > > > > > > in?
> > > >  > > > > > > > > > > Are
> > > >  > > > > > > > > > > > > you
> > > >  > > > > > > > > > > > > > > > using
> > > >  > > > > > > > > > > > > > > > > > the
> > > >  > > > > > > > > > > > > > > > > > > > > > latest
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > snapshot?
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > I
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > can't
> > > reproduce.
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13,
> 2008
> > > 12:03
> > > >  > > > AM,
> > > >  > > > > > > Arun
> > > >  > > > > > > > > > Kumar <
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > arunkumar.boppudi.514@gmail.com>
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I also
> got
> > > the same
> > > >  > > > > > > problem...
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb
> 13,
> > > 2008 1:15
> > > >  > > > PM,
> > > >  > > > > > > Neo
> > > >  > > > > > > > > > > Anderson
> > > >  > > > > > > > > > > > > <
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > neoanderson123@googlemail.com>
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm
> getting
> > > >  > > > *uncaught
> > > >  > > > > > > > > > exception:
> > > >  > > > > > > > > > > > > > > Permission
> > > >  > > > > > > > > > > > > > > > > > denied
> > > >  > > > > > > > > > > > > > > > > > > > to
> > > >  > > > > > > > > > > > > > > > > > > > > > call
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > method
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > Window.setTimeout*exception
> > > >  > > > > > > > > > when
> > > >  > > > > > > > > > > I
> > > >  > > > > > > > > > > > > try
> > > >  > > > > > > > > > > > > > to
> > > >  > > > > > > > > > > > > > > > use
> > > >  > > > > > > > > > > > > > > > > > > > Dynamic
> > > >  > > > > > > > > > > > > > > > > > > > > > > > Height
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > feature.
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > But
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > dynamic
> > > height is
> > > >  > > > > > > working.
> > > >  > > > > > > > I'm
> > > >  > > > > > > > > > > > > adding
> > > >  > > > > > > > > > > > > > > > gadgets
> > > >  > > > > > > > > > > > > > > > > to
> > > >  > > > > > > > > > > > > > > > > > > my
> > > >  > > > > > > > > > > > > > > > > > > > > web
> > > >  > > > > > > > > > > > > > > > > > > > > > > > page
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > dynamically
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > i.e.,
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm
> able to
> > > add a
> > > >  > > > > > > gadget
> > > >  > > > > > > > upon
> > > >  > > > > > > > > > > > > clicking
> > > >  > > > > > > > > > > > > > on
> > > >  > > > > > > > > > > > > > > a
> > > >  > > > > > > > > > > > > > > > > > > button.
> > > >  > > > > > > > > > > > > > > > > > > > > But
> > > >  > > > > > > > > > > > > > > > > > > > > > > > when I
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > place
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > two
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > gadgets
> in
> > > a
> > > >  > > column,
> > > >  > > > > > > then if
> > > >  > > > > > > > > > the
> > > >  > > > > > > > > > > > > gadget
> > > >  > > > > > > > > > > > > > on
> > > >  > > > > > > > > > > > > > > > top
> > > >  > > > > > > > > > > > > > > > > > > needs
> > > >  > > > > > > > > > > > > > > > > > > > > to
> > > >  > > > > > > > > > > > > > > > > > > > > > > > adjust
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > it's
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > height,
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > then
> the
> > > gadget
> > > >  > > > height
> > > >  > > > > > > > height
> > > >  > > > > > > > > > is
> > > >  > > > > > > > > > > > > > adjusted
> > > >  > > > > > > > > > > > > > > > and
> > > >  > > > > > > > > > > > > > > > > > the
> > > >  > > > > > > > > > > > > > > > > > > > > height
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > adjusted is
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > not
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > getting
> > > displayed
> > > >  > > > and
> > > >  > > > > > > in
> > > >  > > > > > > > this
> > > >  > > > > > > > > > > case,
> > > >  > > > > > > > > > > > > I'm
> > > >  > > > > > > > > > > > > > > > > getting
> > > >  > > > > > > > > > > > > > > > > > > the
> > > >  > > > > > > > > > > > > > > > > > > > > > above
> > > >  > > > > > > > > > > > > > > > > > > > > > > > said
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > error.
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >
> > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > If you
> received
> > > this
> > > >  > > > email
> > > >  > > > > > > by
> > > >  > > > > > > > > > mistake,
> > > >  > > > > > > > > > > > > > please
> > > >  > > > > > > > > > > > > > > > > delete
> > > >  > > > > > > > > > > > > > > > > > > it,
> > > >  > > > > > > > > > > > > > > > > > > > > > > > cancel
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > your
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > mail
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > account,
> > > destroy your
> > > >  > > > hard
> > > >  > > > > > > > drive,
> > > >  > > > > > > > > > > > > silence
> > > >  > > > > > > > > > > > > > any
> > > >  > > > > > > > > > > > > > > > > > > witnesses,
> > > >  > > > > > > > > > > > > > > > > > > > > and
> > > >  > > > > > > > > > > > > > > > > > > > > > > > burn
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > down
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > the
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > building
> that
> > > you're
> > > >  > > in.
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > If you received
> > > this email
> > > >  > > > by
> > > >  > > > > > > > mistake,
> > > >  > > > > > > > > > > > > please
> > > >  > > > > > > > > > > > > > > delete
> > > >  > > > > > > > > > > > > > > > > it,
> > > >  > > > > > > > > > > > > > > > > > > > > cancel
> > > >  > > > > > > > > > > > > > > > > > > > > > > > your
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > mail
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > account,
> destroy
> > > your hard
> > > >  > > > > > > drive,
> > > >  > > > > > > > > > silence
> > > >  > > > > > > > > > > > > any
> > > >  > > > > > > > > > > > > > > > > witnesses,
> > > >  > > > > > > > > > > > > > > > > > > and
> > > >  > > > > > > > > > > > > > > > > > > > > > burn
> > > >  > > > > > > > > > > > > > > > > > > > > > > > down
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > the
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > > building that
> > > you're in.
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > > > If you received this
> > > email by
> > > >  > > > > > > mistake,
> > > >  > > > > > > > > > please
> > > >  > > > > > > > > > > > > delete
> > > >  > > > > > > > > > > > > > it,
> > > >  > > > > > > > > > > > > > > > > > cancel
> > > >  > > > > > > > > > > > > > > > > > > > your
> > > >  > > > > > > > > > > > > > > > > > > > > > > > mail
> > > >  > > > > > > > > > > > > > > > > > > > > > > > account, destroy your
> > > hard
> > > >  > > drive,
> > > >  > > > > > > silence
> > > >  > > > > > > > > > any
> > > >  > > > > > > > > > > > > > witnesses,
> > > >  > > > > > > > > > > > > > > > and
> > > >  > > > > > > > > > > > > > > > > > > burn
> > > >  > > > > > > > > > > > > > > > > > > > > down
> > > >  > > > > > > > > > > > > > > > > > > > > > > > the
> > > >  > > > > > > > > > > > > > > > > > > > > > > > building that you're
> in.
> > > >  > > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > > > If you received this email
> by
> > > mistake,
> > > >  > > > > > > please
> > > >  > > > > > > > > > delete
> > > >  > > > > > > > > > > it,
> > > >  > > > > > > > > > > > > > > cancel
> > > >  > > > > > > > > > > > > > > > > your
> > > >  > > > > > > > > > > > > > > > > > > > mail
> > > >  > > > > > > > > > > > > > > > > > > > > account, destroy your hard
> > > drive,
> > > >  > > > silence
> > > >  > > > > > > any
> > > >  > > > > > > > > > > witnesses,
> > > >  > > > > > > > > > > > > and
> > > >  > > > > > > > > > > > > > > > burn
> > > >  > > > > > > > > > > > > > > > > > down
> > > >  > > > > > > > > > > > > > > > > > > > the
> > > >  > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > >  > > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > > > If you received this email by
> mistake,
> > > please
> > > >  > > > > > > delete it,
> > > >  > > > > > > > > > > cancel
> > > >  > > > > > > > > > > > > your
> > > >  > > > > > > > > > > > > > > > mail
> > > >  > > > > > > > > > > > > > > > > account, destroy your hard drive,
> > > silence any
> > > >  > > > > > > witnesses,
> > > >  > > > > > > > > > and
> > > >  > > > > > > > > > > > > burn
> > > >  > > > > > > > > > > > > > down
> > > >  > > > > > > > > > > > > > > > the
> > > >  > > > > > > > > > > > > > > > > building that you're in.
> > > >  > > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > > > If you received this email by mistake,
> > > please
> > > >  > > delete
> > > >  > > > > > > it,
> > > >  > > > > > > > > > cancel
> > > >  > > > > > > > > > > your
> > > >  > > > > > > > > > > > > > mail
> > > >  > > > > > > > > > > > > > > account, destroy your hard drive,
> silence
> > > any
> > > >  > > > > > > witnesses, and
> > > >  > > > > > > > > > burn
> > > >  > > > > > > > > > > > > down
> > > >  > > > > > > > > > > > > > the
> > > >  > > > > > > > > > > > > > > building that you're in.
> > > >  > > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > >
> > > >  > > > > > > > > > > > >
> > > >  > > > > > > > > > > > >
> > > >  > > > > > > > > > > > >
> > > >  > > > > > > > > > > > >
> > > >  > > > > > > > > > > > > If you received this email by mistake,
> please
> > > delete
> > > >  > > it,
> > > >  > > > > > > cancel
> > > >  > > > > > > > > > your
> > > >  > > > > > > > > > > > > mail
> > > >  > > > > > > > > > > > > account, destroy your hard drive, silence
> any
> > > >  > > witnesses,
> > > >  > > > > > > and
> > > >  > > > > > > > burn
> > > >  > > > > > > > > > down
> > > >  > > > > > > > > > > > > the
> > > >  > > > > > > > > > > > > building that you're in.
> > > >  > > > > > > > > > > > >
> > > >  > > > > > > > > > > >
> > > >  > > > > > > > > > > >
> > > >  > > > > > > > > > >
> > > >  > > > > > > > > >
> > > >  > > > > > > > > >
> > > >  > > > > > > > > >
> > > >  > > > > > > > > >
> > > >  > > > > > > > > > If you received this email by mistake, please
> delete
> > > it,
> > > >  > > > cancel
> > > >  > > > > > > your
> > > >  > > > > > > > > > mail
> > > >  > > > > > > > > > account, destroy your hard drive, silence any
> > > witnesses, and
> > > >  > > > > > > burn down
> > > >  > > > > > > > > > the
> > > >  > > > > > > > > > building that you're in.
> > > >  > > > > > > > > >
> > > >  > > > > > > > >
> > > >  > > > > > > > >
> > > >  > > > > > > >
> > > >  > > > > > >
> > > >  > > > > > >
> > > >  > > > > > >
> > > >  > > > > > >
> > > >  > > > > > > If you received this email by mistake, please delete
> it,
> > > cancel
> > > >  > > your
> > > >  > > > > > > mail
> > > >  > > > > > > account, destroy your hard drive, silence any
> witnesses,
> > > and burn
> > > >  > > > down
> > > >  > > > > > > the
> > > >  > > > > > > building that you're in.
> > > >  > > > > > >
> > > >  > > > > >
> > > >  > > > > >
> > > >  > > > >
> > > >  > > >
> > > >  > >
> > > >  >
> > > >  >
> > > >  >
> > > >
> > > >  --
> > > >  Paul Lindner
> > > >  hi5 Architect
> > > >  plindner@hi5.com
> > > >
> > >
> >
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Zhen Wang <wa...@google.com>.
Yes, I have already changed the synd parameters to "shindig" to work
around the problem.

On Feb 18, 2008 10:21 PM, Arun Kumar <ar...@gmail.com> wrote:
> Zhen, Did you solved this problem?
> And if this problem  solved, can I use my custom layout manager code?
>
> *Code: *
>
> gadgets.SortableLayoutManager = function(layoutRootId) {
>  gadgets.LayoutManager.call(this);
>  this.layoutRootId_ = (typeof layoutRootId == "string") ?
> _get(layoutRootId) : layoutRootId;
>  this.columns = this.layoutRootId_.length;
> };
>
> gadgets.SortableLayoutManager.inherits(gadgets.LayoutManager);
>
> gadgets.SortableLayoutManager.prototype.getGadgetChrome = function(gadget) {
>    minHeight = this.layoutRootId_[this.columns-1].offsetHeight;
>    index = 0;
>    for(i=this.columns-1; i>=0; i--){
>        if(this.layoutRootId_[i].offsetHeight <= minHeight){
>            minHeight = this.layoutRootId_[i].offsetHeight;
>            index = i;
>        }
>    }
>    return this.layoutRootId_[index];
> };
>
> Will this code work without above said problem?
>
> In FF, I got above problem. Nut in IE7, if I open the same page, I'm getting
> *"gadgets" is undefined.*
>
>
> On Feb 16, 2008 5:10 AM, Zhen Wang <zh...@apache.org> wrote:
>
> > Hi Paul,
> >
> > Your analysis is correct. Although this is not a Shindig problem per
> > se, it can be simply fixed by changing the synd parameter from
> > "gadgets" to "shindig" which is supported by gmodules.com.
> >
> >
> > On Fri, Feb 15, 2008 at 12:31 PM, Paul Lindner <pl...@hi5.com> wrote:
> > > Digging into this with firebug it appears that this is problem on
> > >  gmodules.com, not in Shindig.
> > >
> > >  A request is made of gmodules.com for an iframe like this:
> > >
> > >
> > http://www.gmodules.com/ig/ifr?url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fhoroscope.xml&nocache=1&synd=gadgets&mid=0&parent=http%3A%2F%2Flocalhost%3A8080%2Fgadgets%2Ffiles%2Fcontainer%2Fifpc_relay.html%3F&ogc=localhost:8080&country=US&lang=en&view=&view-params=%22%22#undefined
> > >
> > >  Note the parent is correctly set to localhost.
> > >
> > >  However it appears that gmodules.com ignores the parent and instead
> > >  tries to use an IFPC frame on www.google.com, like this:
> > >
> > >
> > http://www.google.com/ig/ifpc_relay#%22remote_iframe_2%22&0&1&0&%22%2522remote_iframe_2%2522%26%2522set_pref%2522%26%2522%2522%26%2522%2522%26%2522remote_iframe_2%2522%26%2522%2522%26%2522saved_tasks%2522%26%2522_%2523%2524LAB_MATAN%2524%2523_0_%2523%2524LAB_UDI%2524%2523_aaadfad_%2523%2524LAB_UDI%2524%2523_black%2522%22&true
> > >
> > >  That doesn't match localhost:8080, thus we get the permission denied
> > >  error.
> > >
> > >  Can someone check in with the folks running gmodules.com so it will
> > >  recognize parent params on a synd=gadgets request?
> > >
> > >
> > >
> > >
> > >  On Fri, Feb 15, 2008 at 11:37:06AM -0800, Kevin Brown wrote:
> > >  > I asked Zhen to look into it since I've been bogged down with too
> > much work
> > >  > as is -- as Cassie mentioned, his rpc commit should fix other issues.
> > >  >
> > >  > On Fri, Feb 15, 2008 at 10:40 AM, Cassie <do...@google.com> wrote:
> > >  >
> > >  > > Hopefully with Zhen's new rpc code we can get this error to go
> > away. I
> > >  > > believe he is going to switch over the samples to use gadgets.rpcsoon and
>
> > >  > > look into the error at the same time.
> > >  > >
> > >  > > - Cassie
> > >  > >
> > >  > >
> > >  > > On Fri, Feb 15, 2008 at 4:41 AM, Neo Anderson <
> > >  > > neoanderson123@googlemail.com>
> > >  > > wrote:
> > >  > >
> > >  > > > Kevin, did you identified the problem?
> > >  > > >
> > >  > > > On Fri, Feb 15, 2008 at 2:58 PM, Neo Anderson <
> > >  > > > neoanderson123@googlemail.com>
> > >  > > > wrote:
> > >  > > >
> > >  > > > > Any update regarding this problem?
> > >  > > > >
> > >  > > > >
> > >  > > > > On Thu, Feb 14, 2008 at 5:32 PM, Neo Anderson <
> > >  > > > > neoanderson123@googlemail.com> wrote:
> > >  > > > >
> > >  > > > > > k. What abt the question related to UserPrefs?
> > >  > > > > >
> > >  > > > > >
> > >  > > > > >
> > >  > > > > > On Thu, Feb 14, 2008 at 5:29 PM, Kevin Brown <etnu@google.com
> > >
> > >  > > wrote:
> > >  > > > > >
> > >  > > > > > > Sorry, I haven't had a chance to look into it yet. I'll try
> > to see
> > >  > > > > > > what I
> > >  > > > > > > can find tomorrow.
> > >  > > > > > >
> > >  > > > > > > On Thu, Feb 14, 2008 at 3:56 AM, Neo Anderson <
> > >  > > > > > > neoanderson123@googlemail.com>
> > >  > > > > > > wrote:
> > >  > > > > > >
> > >  > > > > > > > @Kevin, did you identified the problem?,
> > >  > > > > > > >
> > >  > > > > > > > How to use UserPref with <Content type="url" href="
> > xxxx.jsp" />?
> > >  > > > > > > >
> > >  > > > > > > > If I modify and click on save, to which URL these
> > modified
> > >  > > values
> > >  > > > > > > will be
> > >  > > > > > > > posted to?
> > >  > > > > > > >
> > >  > > > > > > > On Thu, Feb 14, 2008 at 2:57 PM, Neo Anderson <
> > >  > > > > > > > neoanderson123@googlemail.com>
> > >  > > > > > > > wrote:
> > >  > > > > > > >
> > >  > > > > > > > > Did you got my code?
> > >  > > > > > > > >
> > >  > > > > > > > >
> > >  > > > > > > > > On Thu, Feb 14, 2008 at 2:21 PM, Kevin Brown <
> > etnu@google.com>
> > >  > > > > > > wrote:
> > >  > > > > > > > >
> > >  > > > > > > > > > Go ahead and send your code that's causing problems
> > and I'll
> > >  > > > see
> > >  > > > > > > if I
> > >  > > > > > > > > > can
> > >  > > > > > > > > > take a look.
> > >  > > > > > > > > >
> > >  > > > > > > > > > The IE7 issue is known and being investigated (not
> > your
> > >  > > > problem
> > >  > > > > > > > > > specifically).
> > >  > > > > > > > > >
> > >  > > > > > > > > > On Thu, Feb 14, 2008 at 12:33 AM, Neo Anderson <
> > >  > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > >  > > > > > > > > >
> > >  > > > > > > > > > > It is working in FF with errors as said above. But
> > in IE(
> > >  > > > v7.0),
> > >  > > > > > > I
> > >  > > > > > > > got
> > >  > > > > > > > > > the
> > >  > > > > > > > > > > error *Error: "gadgets" is undefined.* If the
> > problem is
> > >  > > > with
> > >  > > > > > > my
> > >  > > > > > > > > > script,
> > >  > > > > > > > > > > then it must not work in FF. :-(
> > >  > > > > > > > > > >
> > >  > > > > > > > > > > On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson <
> > >  > > > > > > > > > > neoanderson123@googlemail.com>
> > >  > > > > > > > > > > wrote:
> > >  > > > > > > > > > >
> > >  > > > > > > > > > > > I replaced GADGET_IFRAME_PREFIX_ with default
> > one. i.e.,
> > >  > > > > > > > > > > "remote_iframe_"
> > >  > > > > > > > > > > >
> > >  > > > > > > > > > > > Do I need to use arbitrary moduleId's or can I
> > make them
> > >  > > > > > > user
> > >  > > > > > > > > > specific?
> > >  > > > > > > > > > > >
> > >  > > > > > > > > > > > Even now, after restoring the value of
> > >  > > > > > > "GADGET_IFRAME_PREFIX_",
> > >  > > > > > > >  it
> > >  > > > > > > > > > is
> > >  > > > > > > > > > > > working fine with sample6.html (I placed 6
> > gadgets and
> > >  > > got
> > >  > > > > > > them in
> > >  > > > > > > > > > two
> > >  > > > > > > > > > > > rows.) And in this example, the gadget on top is
> > able to
> > >  > > > > > > adjust
> > >  > > > > > > > it's
> > >  > > > > > > > > > > height.
> > >  > > > > > > > > > > > But when I'm using my own Layout Manager, then
> > The
> > >  > > gadget
> > >  > > > on
> > >  > > > > > > top
> > >  > > > > > > > is
> > >  > > > > > > > > > not
> > >  > > > > > > > > > > > adjusting it's height and after adjusting it's
> > height
> > >  > > the
> > >  > > > > > > adjusted
> > >  > > > > > > > > > part
> > >  > > > > > > > > > > is
> > >  > > > > > > > > > > > not visible.
> > >  > > > > > > > > > > >
> > >  > > > > > > > > > > > When ever I use my own layout manager(Code is
> > posted in
> > >  > > > one
> > >  > > > > > > of the
> > >  > > > > > > > > > > > previous mesages), I'm getting *uncaught
> > exception:
> > >  > > > > > > Permission
> > >  > > > > > > > > > denied to
> > >  > > > > > > > > > > > call method Window.setTimeout* error.
> > >  > > > > > > > > > > >
> > >  > > > > > > > > > > > Can I send my gadgets.js file and the html page
> > that I
> > >  > > am
> > >  > > > > > > using?
> > >  > > > > > > > > > > >
> > >  > > > > > > > > > > >
> > >  > > > > > > > > > > > On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown <
> > >  > > > > > > etnu@google.com>
> > >  > > > > > > > > > wrote:
> > >  > > > > > > > > > > >
> > >  > > > > > > > > > > > > Not with the current code -- it assumes that
> > your
> > >  > > > iframe's
> > >  > > > > > > id /
> > >  > > > > > > > > > name
> > >  > > > > > > > > > > is
> > >  > > > > > > > > > > > > remote_iframe_<module id>. (see:
> > >  > > > > > > > > > > > >
> > >  > > > > > > > > > > > >
> > >  > > > > > > > > > >
> > >  > > > > > > > > >
> > >  > > > > > > >
> > >  > > > > > >
> > >  > > >
> > >  > >
> > http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> > >  > > > > > > > > > > > > )
> > >  > > > > > > > > > > > >
> > >  > > > > > > > > > > > > When the changes described in SHINDIG-22 and
> > >  > > SHINDIG-44
> > >  > > > > > > are
> > >  > > > > > > > > > > implemented
> > >  > > > > > > > > > > > > you
> > >  > > > > > > > > > > > > should be able to use whatever you want, but
> > for now
> > >  > > you
> > >  > > > > > > have to
> > >  > > > > > > > > > > follow
> > >  > > > > > > > > > > > > this
> > >  > > > > > > > > > > > > naming convention for the shindig
> > ifpc-dependent
> > >  > > > features
> > >  > > > > > > to
> > >  > > > > > > > work.
> > >  > > > > > > > > > > > >
> > >  > > > > > > > > > > > > On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson
> > <
> > >  > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > >  > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > Can't I use my own gadget id?
> > >  > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > I won't change that GADGET_IFRAME_PREFIX_.
> > Even now,
> > >  > > > do
> > >  > > > > > > I need
> > >  > > > > > > > > > to
> > >  > > > > > > > > > > use
> > >  > > > > > > > > > > > > > arbitrary iframe id's?
> > >  > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown
> > <
> > >  > > > > > > etnu@google.com>
> > >  > > > > > > > > > > wrote:
> > >  > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > Right now some things are hard coded to use
> > the
> > >  > > > fixed
> > >  > > > > > > iframe
> > >  > > > > > > > > > name
> > >  > > > > > > > > > > > > > > assumptions (ported from igoogle). Work
> > that I'm
> > >  > > > doing
> > >  > > > > > > to
> > >  > > > > > > > deal
> > >  > > > > > > > > > > with
> > >  > > > > > > > > > > > > a
> > >  > > > > > > > > > > > > > > unified configuration model (see SHINDIG-22
> > and
> > >  > > > > > > SHINDIG-44
> > >  > > > > > > > for
> > >  > > > > > > > > > > > > details)
> > >  > > > > > > > > > > > > > > should allow arbitrary iframe ids.
> > >  > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo
> > Anderson <
> > >  > > > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > >  > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > Currently I'm using latest SVN snapshot.
> > >  > > Actually,
> > >  > > > I
> > >  > > > > > > > update
> > >  > > > > > > > > > my
> > >  > > > > > > > > > > > > code
> > >  > > > > > > > > > > > > > > daily.
> > >  > > > > > > > > > > > > > > > So, problem is not with my code. What if
> > anybody
> > >  > > > > > > wants to
> > >  > > > > > > > > > use a
> > >  > > > > > > > > > > > > > > different
> > >  > > > > > > > > > > > > > > > GADGET_IFRAME_PREFIX_? What happens if
> > somebody
> > >  > > > > > > sends id
> > >  > > > > > > > as
> > >  > > > > > > > > > a
> > >  > > > > > > > > > > > > > parameter
> > >  > > > > > > > > > > > > > > > and
> > >  > > > > > > > > > > > > > > > use it as gadget id?
> > >  > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > Then iFrame id will be
> > GADGET_IFRAME_PREFIX_ +
> > >  > > id
> > >  > > > > > > passed
> > >  > > > > > > > as
> > >  > > > > > > > > > > > > parameter.
> > >  > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > Will this cause any problems?
> > >  > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin
> > Brown <
> > >  > > > > > > > > > etnu@google.com>
> > >  > > > > > > > > > > > > wrote:
> > >  > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > It looks like a problem with ifpc, but
> > I can't
> > >  > > > > > > figure
> > >  > > > > > > > out
> > >  > > > > > > > > > what
> > >  > > > > > > > > > > > > > exactly
> > >  > > > > > > > > > > > > > > > is
> > >  > > > > > > > > > > > > > > > > causing it. From the looks of things it
> > might
> > >  > > be
> > >  > > > > > > related
> > >  > > > > > > > > > to
> > >  > > > > > > > > > > > > > something
> > >  > > > > > > > > > > > > > > > that
> > >  > > > > > > > > > > > > > > > > Zhen recently fixed, which is that we
> > weren't
> > >  > > > > > > using
> > >  > > > > > > > > > consistent
> > >  > > > > > > > > > > > > > > > assumptions
> > >  > > > > > > > > > > > > > > > > for the id / name of the iframe
> > elements on
> > >  > > the
> > >  > > > > > > > containing
> > >  > > > > > > > > > > page.
> > >  > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > Could you try it again using what's in
> > the
> > >  > > > latest
> > >  > > > > > > SVN
> > >  > > > > > > > > > > snapshot?
> > >  > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo
> > Anderson
> > >  > > <
> > >  > > > > > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > >  > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > Did I got this this problem due to my
> > coding
> > >  > > > or
> > >  > > > > > > it is
> > >  > > > > > > > > > > Shindig
> > >  > > > > > > > > > > > > > > problem?
> > >  > > > > > > > > > > > > > > > >  If
> > >  > > > > > > > > > > > > > > > > > it is shindig problem,are they
> > identified it
> > >  > > > and
> > >  > > > > > > > solving
> > >  > > > > > > > > > it?
> > >  > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > On Feb 14, 2008 12:07 AM, Cassie <
> > >  > > > > > > doll@google.com>
> > >  > > > > > > > > > wrote:
> > >  > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > Just want to let you know that
> > these
> > >  > > > > > > exceptions were
> > >  > > > > > > > > > > > > captured in
> > >  > > > > > > > > > > > > > > > this
> > >  > > > > > > > > > > > > > > > > > bug
> > >  > > > > > > > > > > > > > > > > > > here:
> > >  > > > > > > > > > > > > > > > > > >
> > >  > > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > >  > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > I am able to reproduce the bug as
> > well.
> > >  > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > - Cassie
> > >  > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 5:11 AM,
> > Neo
> > >  > > > Anderson
> > >  > > > > > > <
> > >  > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > >  > > > > > > > > > > > > > > > > > > wrote:
> > >  > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > // Own layout manager
> > >  > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > gadgets.SortableLayoutManager =
> > >  > > > > > > > > > function(layoutRootId) {
> > >  > > > > > > > > > > > > > > > > > > >  gadgets.LayoutManager.call
> > (this);
> > >  > > > > > > > > > > > > > > > > > > >  this.layoutRootId_ = (typeof
> > >  > > layoutRootId
> > >  > > > > > > ==
> > >  > > > > > > > > > "string")
> > >  > > > > > > > > > > ?
> > >  > > > > > > > > > > > > > > > > > > > _get(layoutRootId) :
> > layoutRootId;
> > >  > > > > > > > > > > > > > > > > > > >  this.columns =
> > >  > > this.layoutRootId_.length;
> > >  > > > > > > > > > > > > > > > > > > > };
> > >  > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > >
> > gadgets.SortableLayoutManager.inherits(
> > >  > > > > > > > > > > > > gadgets.LayoutManager);
> > >  > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > >
> > gadgets.SortableLayoutManager.prototype.getGadgetChrome=
> > >  > > > > > > > > > > > > > > > > > > function(gadget)
> > >  > > > > > > > > > > > > > > > > > > > {
> > >  > > > > > > > > > > > > > > > > > > >    minHeight = this.layoutRootId
> > _[
> > >  > > > > > > this.columns-1
> > >  > > > > > > > > > > > > > ].offsetHeight;
> > >  > > > > > > > > > > > > > > > > > > >    index = 0;
> > >  > > > > > > > > > > > > > > > > > > >    for(i=this.columns-1; i>=0;
> > i--){
> > >  > > > > > > > > > > > > > > > > > > >        if(this.layoutRootId
> > >  > > > _[i].offsetHeight
> > >  > > > > > > <=
> > >  > > > > > > > > > > > > minHeight){
> > >  > > > > > > > > > > > > > > > > > > >            minHeight =
> > this.layoutRootId
> > >  > > > > > > > > > > _[i].offsetHeight;
> > >  > > > > > > > > > > > > > > > > > > >            index = i;
> > >  > > > > > > > > > > > > > > > > > > >        }
> > >  > > > > > > > > > > > > > > > > > > >    }
> > >  > > > > > > > > > > > > > > > > > > >    return this.layoutRootId
> > _[index];
> > >  > > > > > > > > > > > > > > > > > > > };
> > >  > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > *********************************
> > Code
> > >  > > > ends
> > >  > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > _get returns elements by class
> > >  > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > Here I'm sending an array of
> > three div
> > >  > > > > > > elements,
> > >  > > > > > > > > > > > > > gadgetChromeId
> > >  > > > > > > > > > > > > > > > will
> > >  > > > > > > > > > > > > > > > > > be
> > >  > > > > > > > > > > > > > > > > > > > set
> > >  > > > > > > > > > > > > > > > > > > > to the column whose
> > >  > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:53 PM, Kevin
> > Brown <
> > >  > > > > > > > > > etnu@google.com>
> > >  > > > > > > > > > > > > wrote:
> > >  > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > Without seeing your code, I
> > really
> > >  > > have
> > >  > > > no
> > >  > > > > > > idea.
> > >  > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:19 AM, Neo
> > Anderson
> > >  > > <
> > >  > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > >  > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > wrote:
> > >  > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > I have created my own Layout
> > >  > > Manager.
> > >  > > > If
> > >  > > > > > > I use
> > >  > > > > > > > > > > > > > > > > > > FloatLeftLayoutManager,
> > >  > > > > > > > > > > > > > > > > > > > > > then
> > >  > > > > > > > > > > > > > > > > > > > > > it is working fine even in
> > the page
> > >  > > > that
> > >  > > > > > > I
> > >  > > > > > > > > > tested
> > >  > > > > > > > > > > > > > > previously.
> > >  > > > > > > > > > > > > > > > I
> > >  > > > > > > > > > > > > > > > > > > > haven't
> > >  > > > > > > > > > > > > > > > > > > > > > got
> > >  > > > > > > > > > > > > > > > > > > > > > the window.setTimeout error.
> > But why
> > >  > > > I'm
> > >  > > > > > > > getting
> > >  > > > > > > > > > > this
> > >  > > > > > > > > > > > > > error
> > >  > > > > > > > > > > > > > > > when
> > >  > > > > > > > > > > > > > > > > I
> > >  > > > > > > > > > > > > > > > > > > use
> > >  > > > > > > > > > > > > > > > > > > > > my
> > >  > > > > > > > > > > > > > > > > > > > > > own layout manager?
> > >  > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:29 PM, Neo
> > >  > > Anderson
> > >  > > > <
> > >  > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > >  > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > wrote:
> > >  > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > Container page? I'm not
> > using any
> > >  > > > > > > container
> > >  > > > > > > > .
> > >  > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:13 PM,
> > Kevin
> > >  > > Brown
> > >  > > > <
> > >  > > > > > > > > > > > > etnu@google.com>
> > >  > > > > > > > > > > > > > > > wrote:
> > >  > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > I see the error in IE,
> > but this
> > >  > > > > > > looks like
> > >  > > > > > > > > > an
> > >  > > > > > > > > > > > > error
> > >  > > > > > > > > > > > > > > that's
> > >  > > > > > > > > > > > > > > > > > > popping
> > >  > > > > > > > > > > > > > > > > > > > > up
> > >  > > > > > > > > > > > > > > > > > > > > > on
> > >  > > > > > > > > > > > > > > > > > > > > > > > all
> > >  > > > > > > > > > > > > > > > > > > > > > > > gadget renders (I don't
> > have an
> > >  > > IE
> > >  > > > > > > > debugger
> > >  > > > > > > > > > > > > available
> > >  > > > > > > > > > > > > > > > right
> > >  > > > > > > > > > > > > > > > > > now
> > >  > > > > > > > > > > > > > > > > > > so
> > >  > > > > > > > > > > > > > > > > > > > > > I'll
> > >  > > > > > > > > > > > > > > > > > > > > > > > investigate tomorrow when
> > I do).
> > >  > > I
> > >  > > > > > > can't
> > >  > > > > > > > > > find
> > >  > > > > > > > > > > > > anything
> > >  > > > > > > > > > > > > > > > > > > triggering
> > >  > > > > > > > > > > > > > > > > > > > > this
> > >  > > > > > > > > > > > > > > > > > > > > > > > window.setTimeout issue,
> > though.
> > >  > > > Is
> > >  > > > > > > this
> > >  > > > > > > > > > > happening
> > >  > > > > > > > > > > > > on
> > >  > > > > > > > > > > > > > a
> > >  > > > > > > > > > > > > > > > > > > container
> > >  > > > > > > > > > > > > > > > > > > > > page
> > >  > > > > > > > > > > > > > > > > > > > > > > > that
> > >  > > > > > > > > > > > > > > > > > > > > > > > you wrote yourself?
> > >  > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:05 AM,
> > Neo
> > >  > > > > > > Anderson <
> > >  > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > >  > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > >  > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > If I run the same
> > example in
> > >  > > IE,
> > >  > > > > > > then it
> > >  > > > > > > > > > is
> > >  > > > > > > > > > > not
> > >  > > > > > > > > > > > > > > working.
> > >  > > > > > > > > > > > > > > > > It
> > >  > > > > > > > > > > > > > > > > > is
> > >  > > > > > > > > > > > > > > > > > > > > > > > displaying
> > >  > > > > > > > > > > > > > > > > > > > > > > > > JavaScript error
> > "gadgets" is
> > >  > > > not
> > >  > > > > > > > defined.
> > >  > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:34
> > PM, Neo
> > >  > > > > > > Anderson <
> > >  > > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > >  > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > >  > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > No, I'm not getting
> > any
> > >  > > errors
> > >  > > > > > > even I
> > >  > > > > > > > > > add
> > >  > > > > > > > > > > some
> > >  > > > > > > > > > > > > > more
> > >  > > > > > > > > > > > > > > > > > gadgets
> > >  > > > > > > > > > > > > > > > > > > in
> > >  > > > > > > > > > > > > > > > > > > > a
> > >  > > > > > > > > > > > > > > > > > > > > > > > single
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > column. Any it is
> > working
> > >  > > > fine.
> > >  > > > > > > What
> > >  > > > > > > > > > might
> > >  > > > > > > > > > > br
> > >  > > > > > > > > > > > > the
> > >  > > > > > > > > > > > > > > > > problem?
> > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:11
> > PM,
> > >  > > Kevin
> > >  > > > > > > Brown <
> > >  > > > > > > > > > > > > > > etnu@google.com>
> > >  > > > > > > > > > > > > > > > > > > wrote:
> > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > Do you get the
> > error when
> > >  > > > > > > hitting
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > >
> > >  > > > > > >
> > http://localhost:8080/gadgets/files/container/sample6.htmland
> > >  > > > > > > > > > > > > > > > > > > > > > > > > clicking
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > the
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > "Refine the list"
> > link?
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008
> > 12:35 AM,
> > >  > > > Neo
> > >  > > > > > > > Anderson
> > >  > > > > > > > > > <
> > >  > > > > > > > > > > > > > > > > > > > > > > >
> > neoanderson123@googlemail.com>
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > Yes, I'm using
> > latest
> > >  > > > > > > snapshot.
> > >  > > > > > > > I'm
> > >  > > > > > > > > > > using
> > >  > > > > > > > > > > > > FF
> > >  > > > > > > > > > > > > > > > 2.0.12
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008
> > 2:04 PM,
> > >  > > > > > > Kevin
> > >  > > > > > > > Brown
> > >  > > > > > > > > > <
> > >  > > > > > > > > > > > > > > > > etnu@google.com>
> > >  > > > > > > > > > > > > > > > > > > > > wrote:
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > What browser
> > are you
> > >  > > > > > > seeing this
> > >  > > > > > > > > > in?
> > >  > > > > > > > > > > Are
> > >  > > > > > > > > > > > > you
> > >  > > > > > > > > > > > > > > > using
> > >  > > > > > > > > > > > > > > > > > the
> > >  > > > > > > > > > > > > > > > > > > > > > latest
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > snapshot?
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > I
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > can't
> > reproduce.
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008
> > 12:03
> > >  > > > AM,
> > >  > > > > > > Arun
> > >  > > > > > > > > > Kumar <
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > arunkumar.boppudi.514@gmail.com>
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I also got
> > the same
> > >  > > > > > > problem...
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13,
> > 2008 1:15
> > >  > > > PM,
> > >  > > > > > > Neo
> > >  > > > > > > > > > > Anderson
> > >  > > > > > > > > > > > > <
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > neoanderson123@googlemail.com>
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm getting
> > >  > > > *uncaught
> > >  > > > > > > > > > exception:
> > >  > > > > > > > > > > > > > > Permission
> > >  > > > > > > > > > > > > > > > > > denied
> > >  > > > > > > > > > > > > > > > > > > > to
> > >  > > > > > > > > > > > > > > > > > > > > > call
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > method
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > Window.setTimeout*exception
> > >  > > > > > > > > > when
> > >  > > > > > > > > > > I
> > >  > > > > > > > > > > > > try
> > >  > > > > > > > > > > > > > to
> > >  > > > > > > > > > > > > > > > use
> > >  > > > > > > > > > > > > > > > > > > > Dynamic
> > >  > > > > > > > > > > > > > > > > > > > > > > > Height
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > feature.
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > But
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > dynamic
> > height is
> > >  > > > > > > working.
> > >  > > > > > > > I'm
> > >  > > > > > > > > > > > > adding
> > >  > > > > > > > > > > > > > > > gadgets
> > >  > > > > > > > > > > > > > > > > to
> > >  > > > > > > > > > > > > > > > > > > my
> > >  > > > > > > > > > > > > > > > > > > > > web
> > >  > > > > > > > > > > > > > > > > > > > > > > > page
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > dynamically
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > i.e.,
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm able to
> > add a
> > >  > > > > > > gadget
> > >  > > > > > > > upon
> > >  > > > > > > > > > > > > clicking
> > >  > > > > > > > > > > > > > on
> > >  > > > > > > > > > > > > > > a
> > >  > > > > > > > > > > > > > > > > > > button.
> > >  > > > > > > > > > > > > > > > > > > > > But
> > >  > > > > > > > > > > > > > > > > > > > > > > > when I
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > place
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > two
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > gadgets in
> > a
> > >  > > column,
> > >  > > > > > > then if
> > >  > > > > > > > > > the
> > >  > > > > > > > > > > > > gadget
> > >  > > > > > > > > > > > > > on
> > >  > > > > > > > > > > > > > > > top
> > >  > > > > > > > > > > > > > > > > > > needs
> > >  > > > > > > > > > > > > > > > > > > > > to
> > >  > > > > > > > > > > > > > > > > > > > > > > > adjust
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > it's
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > height,
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > then the
> > gadget
> > >  > > > height
> > >  > > > > > > > height
> > >  > > > > > > > > > is
> > >  > > > > > > > > > > > > > adjusted
> > >  > > > > > > > > > > > > > > > and
> > >  > > > > > > > > > > > > > > > > > the
> > >  > > > > > > > > > > > > > > > > > > > > height
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > adjusted is
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > not
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > getting
> > displayed
> > >  > > > and
> > >  > > > > > > in
> > >  > > > > > > > this
> > >  > > > > > > > > > > case,
> > >  > > > > > > > > > > > > I'm
> > >  > > > > > > > > > > > > > > > > getting
> > >  > > > > > > > > > > > > > > > > > > the
> > >  > > > > > > > > > > > > > > > > > > > > > above
> > >  > > > > > > > > > > > > > > > > > > > > > > > said
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > error.
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >
> > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > If you received
> > this
> > >  > > > email
> > >  > > > > > > by
> > >  > > > > > > > > > mistake,
> > >  > > > > > > > > > > > > > please
> > >  > > > > > > > > > > > > > > > > delete
> > >  > > > > > > > > > > > > > > > > > > it,
> > >  > > > > > > > > > > > > > > > > > > > > > > > cancel
> > >  > > > > > > > > > > > > > > > > > > > > > > > > your
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > mail
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > account,
> > destroy your
> > >  > > > hard
> > >  > > > > > > > drive,
> > >  > > > > > > > > > > > > silence
> > >  > > > > > > > > > > > > > any
> > >  > > > > > > > > > > > > > > > > > > witnesses,
> > >  > > > > > > > > > > > > > > > > > > > > and
> > >  > > > > > > > > > > > > > > > > > > > > > > > burn
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > down
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > the
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > building that
> > you're
> > >  > > in.
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > If you received
> > this email
> > >  > > > by
> > >  > > > > > > > mistake,
> > >  > > > > > > > > > > > > please
> > >  > > > > > > > > > > > > > > delete
> > >  > > > > > > > > > > > > > > > > it,
> > >  > > > > > > > > > > > > > > > > > > > > cancel
> > >  > > > > > > > > > > > > > > > > > > > > > > > your
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > mail
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > account, destroy
> > your hard
> > >  > > > > > > drive,
> > >  > > > > > > > > > silence
> > >  > > > > > > > > > > > > any
> > >  > > > > > > > > > > > > > > > > witnesses,
> > >  > > > > > > > > > > > > > > > > > > and
> > >  > > > > > > > > > > > > > > > > > > > > > burn
> > >  > > > > > > > > > > > > > > > > > > > > > > > down
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > the
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > > building that
> > you're in.
> > >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > > > If you received this
> > email by
> > >  > > > > > > mistake,
> > >  > > > > > > > > > please
> > >  > > > > > > > > > > > > delete
> > >  > > > > > > > > > > > > > it,
> > >  > > > > > > > > > > > > > > > > > cancel
> > >  > > > > > > > > > > > > > > > > > > > your
> > >  > > > > > > > > > > > > > > > > > > > > > > > mail
> > >  > > > > > > > > > > > > > > > > > > > > > > > account, destroy your
> > hard
> > >  > > drive,
> > >  > > > > > > silence
> > >  > > > > > > > > > any
> > >  > > > > > > > > > > > > > witnesses,
> > >  > > > > > > > > > > > > > > > and
> > >  > > > > > > > > > > > > > > > > > > burn
> > >  > > > > > > > > > > > > > > > > > > > > down
> > >  > > > > > > > > > > > > > > > > > > > > > > > the
> > >  > > > > > > > > > > > > > > > > > > > > > > > building that you're in.
> > >  > > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > > > If you received this email by
> > mistake,
> > >  > > > > > > please
> > >  > > > > > > > > > delete
> > >  > > > > > > > > > > it,
> > >  > > > > > > > > > > > > > > cancel
> > >  > > > > > > > > > > > > > > > > your
> > >  > > > > > > > > > > > > > > > > > > > mail
> > >  > > > > > > > > > > > > > > > > > > > > account, destroy your hard
> > drive,
> > >  > > > silence
> > >  > > > > > > any
> > >  > > > > > > > > > > witnesses,
> > >  > > > > > > > > > > > > and
> > >  > > > > > > > > > > > > > > > burn
> > >  > > > > > > > > > > > > > > > > > down
> > >  > > > > > > > > > > > > > > > > > > > the
> > >  > > > > > > > > > > > > > > > > > > > > building that you're in.
> > >  > > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > > > If you received this email by mistake,
> > please
> > >  > > > > > > delete it,
> > >  > > > > > > > > > > cancel
> > >  > > > > > > > > > > > > your
> > >  > > > > > > > > > > > > > > > mail
> > >  > > > > > > > > > > > > > > > > account, destroy your hard drive,
> > silence any
> > >  > > > > > > witnesses,
> > >  > > > > > > > > > and
> > >  > > > > > > > > > > > > burn
> > >  > > > > > > > > > > > > > down
> > >  > > > > > > > > > > > > > > > the
> > >  > > > > > > > > > > > > > > > > building that you're in.
> > >  > > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > > > If you received this email by mistake,
> > please
> > >  > > delete
> > >  > > > > > > it,
> > >  > > > > > > > > > cancel
> > >  > > > > > > > > > > your
> > >  > > > > > > > > > > > > > mail
> > >  > > > > > > > > > > > > > > account, destroy your hard drive, silence
> > any
> > >  > > > > > > witnesses, and
> > >  > > > > > > > > > burn
> > >  > > > > > > > > > > > > down
> > >  > > > > > > > > > > > > > the
> > >  > > > > > > > > > > > > > > building that you're in.
> > >  > > > > > > > > > > > > > >
> > >  > > > > > > > > > > > > >
> > >  > > > > > > > > > > > >
> > >  > > > > > > > > > > > >
> > >  > > > > > > > > > > > >
> > >  > > > > > > > > > > > >
> > >  > > > > > > > > > > > > If you received this email by mistake, please
> > delete
> > >  > > it,
> > >  > > > > > > cancel
> > >  > > > > > > > > > your
> > >  > > > > > > > > > > > > mail
> > >  > > > > > > > > > > > > account, destroy your hard drive, silence any
> > >  > > witnesses,
> > >  > > > > > > and
> > >  > > > > > > > burn
> > >  > > > > > > > > > down
> > >  > > > > > > > > > > > > the
> > >  > > > > > > > > > > > > building that you're in.
> > >  > > > > > > > > > > > >
> > >  > > > > > > > > > > >
> > >  > > > > > > > > > > >
> > >  > > > > > > > > > >
> > >  > > > > > > > > >
> > >  > > > > > > > > >
> > >  > > > > > > > > >
> > >  > > > > > > > > >
> > >  > > > > > > > > > If you received this email by mistake, please delete
> > it,
> > >  > > > cancel
> > >  > > > > > > your
> > >  > > > > > > > > > mail
> > >  > > > > > > > > > account, destroy your hard drive, silence any
> > witnesses, and
> > >  > > > > > > burn down
> > >  > > > > > > > > > the
> > >  > > > > > > > > > building that you're in.
> > >  > > > > > > > > >
> > >  > > > > > > > >
> > >  > > > > > > > >
> > >  > > > > > > >
> > >  > > > > > >
> > >  > > > > > >
> > >  > > > > > >
> > >  > > > > > >
> > >  > > > > > > If you received this email by mistake, please delete it,
> > cancel
> > >  > > your
> > >  > > > > > > mail
> > >  > > > > > > account, destroy your hard drive, silence any witnesses,
> > and burn
> > >  > > > down
> > >  > > > > > > the
> > >  > > > > > > building that you're in.
> > >  > > > > > >
> > >  > > > > >
> > >  > > > > >
> > >  > > > >
> > >  > > >
> > >  > >
> > >  >
> > >  >
> > >  >
> > >
> > >  --
> > >  Paul Lindner
> > >  hi5 Architect
> > >  plindner@hi5.com
> > >
> >
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Arun Kumar <ar...@gmail.com>.
Zhen, Did you solved this problem?
And if this problem  solved, can I use my custom layout manager code?

*Code: *

gadgets.SortableLayoutManager = function(layoutRootId) {
 gadgets.LayoutManager.call(this);
 this.layoutRootId_ = (typeof layoutRootId == "string") ?
_get(layoutRootId) : layoutRootId;
 this.columns = this.layoutRootId_.length;
};

gadgets.SortableLayoutManager.inherits(gadgets.LayoutManager);

gadgets.SortableLayoutManager.prototype.getGadgetChrome = function(gadget) {
   minHeight = this.layoutRootId_[this.columns-1].offsetHeight;
   index = 0;
   for(i=this.columns-1; i>=0; i--){
       if(this.layoutRootId_[i].offsetHeight <= minHeight){
           minHeight = this.layoutRootId_[i].offsetHeight;
           index = i;
       }
   }
   return this.layoutRootId_[index];
};

Will this code work without above said problem?

In FF, I got above problem. Nut in IE7, if I open the same page, I'm getting
*"gadgets" is undefined.*

On Feb 16, 2008 5:10 AM, Zhen Wang <zh...@apache.org> wrote:

> Hi Paul,
>
> Your analysis is correct. Although this is not a Shindig problem per
> se, it can be simply fixed by changing the synd parameter from
> "gadgets" to "shindig" which is supported by gmodules.com.
>
>
> On Fri, Feb 15, 2008 at 12:31 PM, Paul Lindner <pl...@hi5.com> wrote:
> > Digging into this with firebug it appears that this is problem on
> >  gmodules.com, not in Shindig.
> >
> >  A request is made of gmodules.com for an iframe like this:
> >
> >
> http://www.gmodules.com/ig/ifr?url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fhoroscope.xml&nocache=1&synd=gadgets&mid=0&parent=http%3A%2F%2Flocalhost%3A8080%2Fgadgets%2Ffiles%2Fcontainer%2Fifpc_relay.html%3F&ogc=localhost:8080&country=US&lang=en&view=&view-params=%22%22#undefined
> >
> >  Note the parent is correctly set to localhost.
> >
> >  However it appears that gmodules.com ignores the parent and instead
> >  tries to use an IFPC frame on www.google.com, like this:
> >
> >
> http://www.google.com/ig/ifpc_relay#%22remote_iframe_2%22&0&1&0&%22%2522remote_iframe_2%2522%26%2522set_pref%2522%26%2522%2522%26%2522%2522%26%2522remote_iframe_2%2522%26%2522%2522%26%2522saved_tasks%2522%26%2522_%2523%2524LAB_MATAN%2524%2523_0_%2523%2524LAB_UDI%2524%2523_aaadfad_%2523%2524LAB_UDI%2524%2523_black%2522%22&true
> >
> >  That doesn't match localhost:8080, thus we get the permission denied
> >  error.
> >
> >  Can someone check in with the folks running gmodules.com so it will
> >  recognize parent params on a synd=gadgets request?
> >
> >
> >
> >
> >  On Fri, Feb 15, 2008 at 11:37:06AM -0800, Kevin Brown wrote:
> >  > I asked Zhen to look into it since I've been bogged down with too
> much work
> >  > as is -- as Cassie mentioned, his rpc commit should fix other issues.
> >  >
> >  > On Fri, Feb 15, 2008 at 10:40 AM, Cassie <do...@google.com> wrote:
> >  >
> >  > > Hopefully with Zhen's new rpc code we can get this error to go
> away. I
> >  > > believe he is going to switch over the samples to use gadgets.rpcsoon and
> >  > > look into the error at the same time.
> >  > >
> >  > > - Cassie
> >  > >
> >  > >
> >  > > On Fri, Feb 15, 2008 at 4:41 AM, Neo Anderson <
> >  > > neoanderson123@googlemail.com>
> >  > > wrote:
> >  > >
> >  > > > Kevin, did you identified the problem?
> >  > > >
> >  > > > On Fri, Feb 15, 2008 at 2:58 PM, Neo Anderson <
> >  > > > neoanderson123@googlemail.com>
> >  > > > wrote:
> >  > > >
> >  > > > > Any update regarding this problem?
> >  > > > >
> >  > > > >
> >  > > > > On Thu, Feb 14, 2008 at 5:32 PM, Neo Anderson <
> >  > > > > neoanderson123@googlemail.com> wrote:
> >  > > > >
> >  > > > > > k. What abt the question related to UserPrefs?
> >  > > > > >
> >  > > > > >
> >  > > > > >
> >  > > > > > On Thu, Feb 14, 2008 at 5:29 PM, Kevin Brown <etnu@google.com
> >
> >  > > wrote:
> >  > > > > >
> >  > > > > > > Sorry, I haven't had a chance to look into it yet. I'll try
> to see
> >  > > > > > > what I
> >  > > > > > > can find tomorrow.
> >  > > > > > >
> >  > > > > > > On Thu, Feb 14, 2008 at 3:56 AM, Neo Anderson <
> >  > > > > > > neoanderson123@googlemail.com>
> >  > > > > > > wrote:
> >  > > > > > >
> >  > > > > > > > @Kevin, did you identified the problem?,
> >  > > > > > > >
> >  > > > > > > > How to use UserPref with <Content type="url" href="
> xxxx.jsp" />?
> >  > > > > > > >
> >  > > > > > > > If I modify and click on save, to which URL these
> modified
> >  > > values
> >  > > > > > > will be
> >  > > > > > > > posted to?
> >  > > > > > > >
> >  > > > > > > > On Thu, Feb 14, 2008 at 2:57 PM, Neo Anderson <
> >  > > > > > > > neoanderson123@googlemail.com>
> >  > > > > > > > wrote:
> >  > > > > > > >
> >  > > > > > > > > Did you got my code?
> >  > > > > > > > >
> >  > > > > > > > >
> >  > > > > > > > > On Thu, Feb 14, 2008 at 2:21 PM, Kevin Brown <
> etnu@google.com>
> >  > > > > > > wrote:
> >  > > > > > > > >
> >  > > > > > > > > > Go ahead and send your code that's causing problems
> and I'll
> >  > > > see
> >  > > > > > > if I
> >  > > > > > > > > > can
> >  > > > > > > > > > take a look.
> >  > > > > > > > > >
> >  > > > > > > > > > The IE7 issue is known and being investigated (not
> your
> >  > > > problem
> >  > > > > > > > > > specifically).
> >  > > > > > > > > >
> >  > > > > > > > > > On Thu, Feb 14, 2008 at 12:33 AM, Neo Anderson <
> >  > > > > > > > > > neoanderson123@googlemail.com> wrote:
> >  > > > > > > > > >
> >  > > > > > > > > > > It is working in FF with errors as said above. But
> in IE(
> >  > > > v7.0),
> >  > > > > > > I
> >  > > > > > > > got
> >  > > > > > > > > > the
> >  > > > > > > > > > > error *Error: "gadgets" is undefined.* If the
> problem is
> >  > > > with
> >  > > > > > > my
> >  > > > > > > > > > script,
> >  > > > > > > > > > > then it must not work in FF. :-(
> >  > > > > > > > > > >
> >  > > > > > > > > > > On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson <
> >  > > > > > > > > > > neoanderson123@googlemail.com>
> >  > > > > > > > > > > wrote:
> >  > > > > > > > > > >
> >  > > > > > > > > > > > I replaced GADGET_IFRAME_PREFIX_ with default
> one. i.e.,
> >  > > > > > > > > > > "remote_iframe_"
> >  > > > > > > > > > > >
> >  > > > > > > > > > > > Do I need to use arbitrary moduleId's or can I
> make them
> >  > > > > > > user
> >  > > > > > > > > > specific?
> >  > > > > > > > > > > >
> >  > > > > > > > > > > > Even now, after restoring the value of
> >  > > > > > > "GADGET_IFRAME_PREFIX_",
> >  > > > > > > >  it
> >  > > > > > > > > > is
> >  > > > > > > > > > > > working fine with sample6.html (I placed 6
> gadgets and
> >  > > got
> >  > > > > > > them in
> >  > > > > > > > > > two
> >  > > > > > > > > > > > rows.) And in this example, the gadget on top is
> able to
> >  > > > > > > adjust
> >  > > > > > > > it's
> >  > > > > > > > > > > height.
> >  > > > > > > > > > > > But when I'm using my own Layout Manager, then
> The
> >  > > gadget
> >  > > > on
> >  > > > > > > top
> >  > > > > > > > is
> >  > > > > > > > > > not
> >  > > > > > > > > > > > adjusting it's height and after adjusting it's
> height
> >  > > the
> >  > > > > > > adjusted
> >  > > > > > > > > > part
> >  > > > > > > > > > > is
> >  > > > > > > > > > > > not visible.
> >  > > > > > > > > > > >
> >  > > > > > > > > > > > When ever I use my own layout manager(Code is
> posted in
> >  > > > one
> >  > > > > > > of the
> >  > > > > > > > > > > > previous mesages), I'm getting *uncaught
> exception:
> >  > > > > > > Permission
> >  > > > > > > > > > denied to
> >  > > > > > > > > > > > call method Window.setTimeout* error.
> >  > > > > > > > > > > >
> >  > > > > > > > > > > > Can I send my gadgets.js file and the html page
> that I
> >  > > am
> >  > > > > > > using?
> >  > > > > > > > > > > >
> >  > > > > > > > > > > >
> >  > > > > > > > > > > > On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown <
> >  > > > > > > etnu@google.com>
> >  > > > > > > > > > wrote:
> >  > > > > > > > > > > >
> >  > > > > > > > > > > > > Not with the current code -- it assumes that
> your
> >  > > > iframe's
> >  > > > > > > id /
> >  > > > > > > > > > name
> >  > > > > > > > > > > is
> >  > > > > > > > > > > > > remote_iframe_<module id>. (see:
> >  > > > > > > > > > > > >
> >  > > > > > > > > > > > >
> >  > > > > > > > > > >
> >  > > > > > > > > >
> >  > > > > > > >
> >  > > > > > >
> >  > > >
> >  > >
> http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> >  > > > > > > > > > > > > )
> >  > > > > > > > > > > > >
> >  > > > > > > > > > > > > When the changes described in SHINDIG-22 and
> >  > > SHINDIG-44
> >  > > > > > > are
> >  > > > > > > > > > > implemented
> >  > > > > > > > > > > > > you
> >  > > > > > > > > > > > > should be able to use whatever you want, but
> for now
> >  > > you
> >  > > > > > > have to
> >  > > > > > > > > > > follow
> >  > > > > > > > > > > > > this
> >  > > > > > > > > > > > > naming convention for the shindig
> ifpc-dependent
> >  > > > features
> >  > > > > > > to
> >  > > > > > > > work.
> >  > > > > > > > > > > > >
> >  > > > > > > > > > > > > On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson
> <
> >  > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> >  > > > > > > > > > > > >
> >  > > > > > > > > > > > > > Can't I use my own gadget id?
> >  > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > I won't change that GADGET_IFRAME_PREFIX_.
> Even now,
> >  > > > do
> >  > > > > > > I need
> >  > > > > > > > > > to
> >  > > > > > > > > > > use
> >  > > > > > > > > > > > > > arbitrary iframe id's?
> >  > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown
> <
> >  > > > > > > etnu@google.com>
> >  > > > > > > > > > > wrote:
> >  > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > Right now some things are hard coded to use
> the
> >  > > > fixed
> >  > > > > > > iframe
> >  > > > > > > > > > name
> >  > > > > > > > > > > > > > > assumptions (ported from igoogle). Work
> that I'm
> >  > > > doing
> >  > > > > > > to
> >  > > > > > > > deal
> >  > > > > > > > > > > with
> >  > > > > > > > > > > > > a
> >  > > > > > > > > > > > > > > unified configuration model (see SHINDIG-22
> and
> >  > > > > > > SHINDIG-44
> >  > > > > > > > for
> >  > > > > > > > > > > > > details)
> >  > > > > > > > > > > > > > > should allow arbitrary iframe ids.
> >  > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo
> Anderson <
> >  > > > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> >  > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > Currently I'm using latest SVN snapshot.
> >  > > Actually,
> >  > > > I
> >  > > > > > > > update
> >  > > > > > > > > > my
> >  > > > > > > > > > > > > code
> >  > > > > > > > > > > > > > > daily.
> >  > > > > > > > > > > > > > > > So, problem is not with my code. What if
> anybody
> >  > > > > > > wants to
> >  > > > > > > > > > use a
> >  > > > > > > > > > > > > > > different
> >  > > > > > > > > > > > > > > > GADGET_IFRAME_PREFIX_? What happens if
> somebody
> >  > > > > > > sends id
> >  > > > > > > > as
> >  > > > > > > > > > a
> >  > > > > > > > > > > > > > parameter
> >  > > > > > > > > > > > > > > > and
> >  > > > > > > > > > > > > > > > use it as gadget id?
> >  > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > Then iFrame id will be
> GADGET_IFRAME_PREFIX_ +
> >  > > id
> >  > > > > > > passed
> >  > > > > > > > as
> >  > > > > > > > > > > > > parameter.
> >  > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > Will this cause any problems?
> >  > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin
> Brown <
> >  > > > > > > > > > etnu@google.com>
> >  > > > > > > > > > > > > wrote:
> >  > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > It looks like a problem with ifpc, but
> I can't
> >  > > > > > > figure
> >  > > > > > > > out
> >  > > > > > > > > > what
> >  > > > > > > > > > > > > > exactly
> >  > > > > > > > > > > > > > > > is
> >  > > > > > > > > > > > > > > > > causing it. From the looks of things it
> might
> >  > > be
> >  > > > > > > related
> >  > > > > > > > > > to
> >  > > > > > > > > > > > > > something
> >  > > > > > > > > > > > > > > > that
> >  > > > > > > > > > > > > > > > > Zhen recently fixed, which is that we
> weren't
> >  > > > > > > using
> >  > > > > > > > > > consistent
> >  > > > > > > > > > > > > > > > assumptions
> >  > > > > > > > > > > > > > > > > for the id / name of the iframe
> elements on
> >  > > the
> >  > > > > > > > containing
> >  > > > > > > > > > > page.
> >  > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > Could you try it again using what's in
> the
> >  > > > latest
> >  > > > > > > SVN
> >  > > > > > > > > > > snapshot?
> >  > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo
> Anderson
> >  > > <
> >  > > > > > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> >  > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > Did I got this this problem due to my
> coding
> >  > > > or
> >  > > > > > > it is
> >  > > > > > > > > > > Shindig
> >  > > > > > > > > > > > > > > problem?
> >  > > > > > > > > > > > > > > > >  If
> >  > > > > > > > > > > > > > > > > > it is shindig problem,are they
> identified it
> >  > > > and
> >  > > > > > > > solving
> >  > > > > > > > > > it?
> >  > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > On Feb 14, 2008 12:07 AM, Cassie <
> >  > > > > > > doll@google.com>
> >  > > > > > > > > > wrote:
> >  > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > Just want to let you know that
> these
> >  > > > > > > exceptions were
> >  > > > > > > > > > > > > captured in
> >  > > > > > > > > > > > > > > > this
> >  > > > > > > > > > > > > > > > > > bug
> >  > > > > > > > > > > > > > > > > > > here:
> >  > > > > > > > > > > > > > > > > > >
> >  > > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> >  > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > I am able to reproduce the bug as
> well.
> >  > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > - Cassie
> >  > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 5:11 AM,
> Neo
> >  > > > Anderson
> >  > > > > > > <
> >  > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> >  > > > > > > > > > > > > > > > > > > wrote:
> >  > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > // Own layout manager
> >  > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > gadgets.SortableLayoutManager =
> >  > > > > > > > > > function(layoutRootId) {
> >  > > > > > > > > > > > > > > > > > > >  gadgets.LayoutManager.call
> (this);
> >  > > > > > > > > > > > > > > > > > > >  this.layoutRootId_ = (typeof
> >  > > layoutRootId
> >  > > > > > > ==
> >  > > > > > > > > > "string")
> >  > > > > > > > > > > ?
> >  > > > > > > > > > > > > > > > > > > > _get(layoutRootId) :
> layoutRootId;
> >  > > > > > > > > > > > > > > > > > > >  this.columns =
> >  > > this.layoutRootId_.length;
> >  > > > > > > > > > > > > > > > > > > > };
> >  > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > >
> gadgets.SortableLayoutManager.inherits(
> >  > > > > > > > > > > > > gadgets.LayoutManager);
> >  > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > >
> gadgets.SortableLayoutManager.prototype.getGadgetChrome=
> >  > > > > > > > > > > > > > > > > > > function(gadget)
> >  > > > > > > > > > > > > > > > > > > > {
> >  > > > > > > > > > > > > > > > > > > >    minHeight = this.layoutRootId
> _[
> >  > > > > > > this.columns-1
> >  > > > > > > > > > > > > > ].offsetHeight;
> >  > > > > > > > > > > > > > > > > > > >    index = 0;
> >  > > > > > > > > > > > > > > > > > > >    for(i=this.columns-1; i>=0;
> i--){
> >  > > > > > > > > > > > > > > > > > > >        if(this.layoutRootId
> >  > > > _[i].offsetHeight
> >  > > > > > > <=
> >  > > > > > > > > > > > > minHeight){
> >  > > > > > > > > > > > > > > > > > > >            minHeight =
> this.layoutRootId
> >  > > > > > > > > > > _[i].offsetHeight;
> >  > > > > > > > > > > > > > > > > > > >            index = i;
> >  > > > > > > > > > > > > > > > > > > >        }
> >  > > > > > > > > > > > > > > > > > > >    }
> >  > > > > > > > > > > > > > > > > > > >    return this.layoutRootId
> _[index];
> >  > > > > > > > > > > > > > > > > > > > };
> >  > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > *********************************
> Code
> >  > > > ends
> >  > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > _get returns elements by class
> >  > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > Here I'm sending an array of
> three div
> >  > > > > > > elements,
> >  > > > > > > > > > > > > > gadgetChromeId
> >  > > > > > > > > > > > > > > > will
> >  > > > > > > > > > > > > > > > > > be
> >  > > > > > > > > > > > > > > > > > > > set
> >  > > > > > > > > > > > > > > > > > > > to the column whose
> >  > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:53 PM, Kevin
> Brown <
> >  > > > > > > > > > etnu@google.com>
> >  > > > > > > > > > > > > wrote:
> >  > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > Without seeing your code, I
> really
> >  > > have
> >  > > > no
> >  > > > > > > idea.
> >  > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:19 AM, Neo
> Anderson
> >  > > <
> >  > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> >  > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > wrote:
> >  > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > I have created my own Layout
> >  > > Manager.
> >  > > > If
> >  > > > > > > I use
> >  > > > > > > > > > > > > > > > > > > FloatLeftLayoutManager,
> >  > > > > > > > > > > > > > > > > > > > > > then
> >  > > > > > > > > > > > > > > > > > > > > > it is working fine even in
> the page
> >  > > > that
> >  > > > > > > I
> >  > > > > > > > > > tested
> >  > > > > > > > > > > > > > > previously.
> >  > > > > > > > > > > > > > > > I
> >  > > > > > > > > > > > > > > > > > > > haven't
> >  > > > > > > > > > > > > > > > > > > > > > got
> >  > > > > > > > > > > > > > > > > > > > > > the window.setTimeout error.
> But why
> >  > > > I'm
> >  > > > > > > > getting
> >  > > > > > > > > > > this
> >  > > > > > > > > > > > > > error
> >  > > > > > > > > > > > > > > > when
> >  > > > > > > > > > > > > > > > > I
> >  > > > > > > > > > > > > > > > > > > use
> >  > > > > > > > > > > > > > > > > > > > > my
> >  > > > > > > > > > > > > > > > > > > > > > own layout manager?
> >  > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:29 PM, Neo
> >  > > Anderson
> >  > > > <
> >  > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> >  > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > wrote:
> >  > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > Container page? I'm not
> using any
> >  > > > > > > container
> >  > > > > > > > .
> >  > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:13 PM,
> Kevin
> >  > > Brown
> >  > > > <
> >  > > > > > > > > > > > > etnu@google.com>
> >  > > > > > > > > > > > > > > > wrote:
> >  > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > I see the error in IE,
> but this
> >  > > > > > > looks like
> >  > > > > > > > > > an
> >  > > > > > > > > > > > > error
> >  > > > > > > > > > > > > > > that's
> >  > > > > > > > > > > > > > > > > > > popping
> >  > > > > > > > > > > > > > > > > > > > > up
> >  > > > > > > > > > > > > > > > > > > > > > on
> >  > > > > > > > > > > > > > > > > > > > > > > > all
> >  > > > > > > > > > > > > > > > > > > > > > > > gadget renders (I don't
> have an
> >  > > IE
> >  > > > > > > > debugger
> >  > > > > > > > > > > > > available
> >  > > > > > > > > > > > > > > > right
> >  > > > > > > > > > > > > > > > > > now
> >  > > > > > > > > > > > > > > > > > > so
> >  > > > > > > > > > > > > > > > > > > > > > I'll
> >  > > > > > > > > > > > > > > > > > > > > > > > investigate tomorrow when
> I do).
> >  > > I
> >  > > > > > > can't
> >  > > > > > > > > > find
> >  > > > > > > > > > > > > anything
> >  > > > > > > > > > > > > > > > > > > triggering
> >  > > > > > > > > > > > > > > > > > > > > this
> >  > > > > > > > > > > > > > > > > > > > > > > > window.setTimeout issue,
> though.
> >  > > > Is
> >  > > > > > > this
> >  > > > > > > > > > > happening
> >  > > > > > > > > > > > > on
> >  > > > > > > > > > > > > > a
> >  > > > > > > > > > > > > > > > > > > container
> >  > > > > > > > > > > > > > > > > > > > > page
> >  > > > > > > > > > > > > > > > > > > > > > > > that
> >  > > > > > > > > > > > > > > > > > > > > > > > you wrote yourself?
> >  > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:05 AM,
> Neo
> >  > > > > > > Anderson <
> >  > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> >  > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > wrote:
> >  > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > If I run the same
> example in
> >  > > IE,
> >  > > > > > > then it
> >  > > > > > > > > > is
> >  > > > > > > > > > > not
> >  > > > > > > > > > > > > > > working.
> >  > > > > > > > > > > > > > > > > It
> >  > > > > > > > > > > > > > > > > > is
> >  > > > > > > > > > > > > > > > > > > > > > > > displaying
> >  > > > > > > > > > > > > > > > > > > > > > > > > JavaScript error
> "gadgets" is
> >  > > > not
> >  > > > > > > > defined.
> >  > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:34
> PM, Neo
> >  > > > > > > Anderson <
> >  > > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> >  > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> >  > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > No, I'm not getting
> any
> >  > > errors
> >  > > > > > > even I
> >  > > > > > > > > > add
> >  > > > > > > > > > > some
> >  > > > > > > > > > > > > > more
> >  > > > > > > > > > > > > > > > > > gadgets
> >  > > > > > > > > > > > > > > > > > > in
> >  > > > > > > > > > > > > > > > > > > > a
> >  > > > > > > > > > > > > > > > > > > > > > > > single
> >  > > > > > > > > > > > > > > > > > > > > > > > > > column. Any it is
> working
> >  > > > fine.
> >  > > > > > > What
> >  > > > > > > > > > might
> >  > > > > > > > > > > br
> >  > > > > > > > > > > > > the
> >  > > > > > > > > > > > > > > > > problem?
> >  > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:11
> PM,
> >  > > Kevin
> >  > > > > > > Brown <
> >  > > > > > > > > > > > > > > etnu@google.com>
> >  > > > > > > > > > > > > > > > > > > wrote:
> >  > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > Do you get the
> error when
> >  > > > > > > hitting
> >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > >
> >  > > > > > >
> http://localhost:8080/gadgets/files/container/sample6.htmland
> >  > > > > > > > > > > > > > > > > > > > > > > > > clicking
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > the
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > "Refine the list"
> link?
> >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008
> 12:35 AM,
> >  > > > Neo
> >  > > > > > > > Anderson
> >  > > > > > > > > > <
> >  > > > > > > > > > > > > > > > > > > > > > > >
> neoanderson123@googlemail.com>
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > Yes, I'm using
> latest
> >  > > > > > > snapshot.
> >  > > > > > > > I'm
> >  > > > > > > > > > > using
> >  > > > > > > > > > > > > FF
> >  > > > > > > > > > > > > > > > 2.0.12
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008
> 2:04 PM,
> >  > > > > > > Kevin
> >  > > > > > > > Brown
> >  > > > > > > > > > <
> >  > > > > > > > > > > > > > > > > etnu@google.com>
> >  > > > > > > > > > > > > > > > > > > > > wrote:
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > What browser
> are you
> >  > > > > > > seeing this
> >  > > > > > > > > > in?
> >  > > > > > > > > > > Are
> >  > > > > > > > > > > > > you
> >  > > > > > > > > > > > > > > > using
> >  > > > > > > > > > > > > > > > > > the
> >  > > > > > > > > > > > > > > > > > > > > > latest
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > snapshot?
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > I
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > can't
> reproduce.
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008
> 12:03
> >  > > > AM,
> >  > > > > > > Arun
> >  > > > > > > > > > Kumar <
> >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > arunkumar.boppudi.514@gmail.com>
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I also got
> the same
> >  > > > > > > problem...
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13,
> 2008 1:15
> >  > > > PM,
> >  > > > > > > Neo
> >  > > > > > > > > > > Anderson
> >  > > > > > > > > > > > > <
> >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > neoanderson123@googlemail.com>
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm getting
> >  > > > *uncaught
> >  > > > > > > > > > exception:
> >  > > > > > > > > > > > > > > Permission
> >  > > > > > > > > > > > > > > > > > denied
> >  > > > > > > > > > > > > > > > > > > > to
> >  > > > > > > > > > > > > > > > > > > > > > call
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > method
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > Window.setTimeout*exception
> >  > > > > > > > > > when
> >  > > > > > > > > > > I
> >  > > > > > > > > > > > > try
> >  > > > > > > > > > > > > > to
> >  > > > > > > > > > > > > > > > use
> >  > > > > > > > > > > > > > > > > > > > Dynamic
> >  > > > > > > > > > > > > > > > > > > > > > > > Height
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > feature.
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > But
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > dynamic
> height is
> >  > > > > > > working.
> >  > > > > > > > I'm
> >  > > > > > > > > > > > > adding
> >  > > > > > > > > > > > > > > > gadgets
> >  > > > > > > > > > > > > > > > > to
> >  > > > > > > > > > > > > > > > > > > my
> >  > > > > > > > > > > > > > > > > > > > > web
> >  > > > > > > > > > > > > > > > > > > > > > > > page
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > dynamically
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > i.e.,
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm able to
> add a
> >  > > > > > > gadget
> >  > > > > > > > upon
> >  > > > > > > > > > > > > clicking
> >  > > > > > > > > > > > > > on
> >  > > > > > > > > > > > > > > a
> >  > > > > > > > > > > > > > > > > > > button.
> >  > > > > > > > > > > > > > > > > > > > > But
> >  > > > > > > > > > > > > > > > > > > > > > > > when I
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > place
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > two
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > gadgets in
> a
> >  > > column,
> >  > > > > > > then if
> >  > > > > > > > > > the
> >  > > > > > > > > > > > > gadget
> >  > > > > > > > > > > > > > on
> >  > > > > > > > > > > > > > > > top
> >  > > > > > > > > > > > > > > > > > > needs
> >  > > > > > > > > > > > > > > > > > > > > to
> >  > > > > > > > > > > > > > > > > > > > > > > > adjust
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > it's
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > height,
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > then the
> gadget
> >  > > > height
> >  > > > > > > > height
> >  > > > > > > > > > is
> >  > > > > > > > > > > > > > adjusted
> >  > > > > > > > > > > > > > > > and
> >  > > > > > > > > > > > > > > > > > the
> >  > > > > > > > > > > > > > > > > > > > > height
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > adjusted is
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > not
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > getting
> displayed
> >  > > > and
> >  > > > > > > in
> >  > > > > > > > this
> >  > > > > > > > > > > case,
> >  > > > > > > > > > > > > I'm
> >  > > > > > > > > > > > > > > > > getting
> >  > > > > > > > > > > > > > > > > > > the
> >  > > > > > > > > > > > > > > > > > > > > > above
> >  > > > > > > > > > > > > > > > > > > > > > > > said
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > error.
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >
> >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > If you received
> this
> >  > > > email
> >  > > > > > > by
> >  > > > > > > > > > mistake,
> >  > > > > > > > > > > > > > please
> >  > > > > > > > > > > > > > > > > delete
> >  > > > > > > > > > > > > > > > > > > it,
> >  > > > > > > > > > > > > > > > > > > > > > > > cancel
> >  > > > > > > > > > > > > > > > > > > > > > > > > your
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > mail
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > account,
> destroy your
> >  > > > hard
> >  > > > > > > > drive,
> >  > > > > > > > > > > > > silence
> >  > > > > > > > > > > > > > any
> >  > > > > > > > > > > > > > > > > > > witnesses,
> >  > > > > > > > > > > > > > > > > > > > > and
> >  > > > > > > > > > > > > > > > > > > > > > > > burn
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > down
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > the
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > > building that
> you're
> >  > > in.
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > If you received
> this email
> >  > > > by
> >  > > > > > > > mistake,
> >  > > > > > > > > > > > > please
> >  > > > > > > > > > > > > > > delete
> >  > > > > > > > > > > > > > > > > it,
> >  > > > > > > > > > > > > > > > > > > > > cancel
> >  > > > > > > > > > > > > > > > > > > > > > > > your
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > mail
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > account, destroy
> your hard
> >  > > > > > > drive,
> >  > > > > > > > > > silence
> >  > > > > > > > > > > > > any
> >  > > > > > > > > > > > > > > > > witnesses,
> >  > > > > > > > > > > > > > > > > > > and
> >  > > > > > > > > > > > > > > > > > > > > > burn
> >  > > > > > > > > > > > > > > > > > > > > > > > down
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > the
> >  > > > > > > > > > > > > > > > > > > > > > > > > > > building that
> you're in.
> >  > > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > > > If you received this
> email by
> >  > > > > > > mistake,
> >  > > > > > > > > > please
> >  > > > > > > > > > > > > delete
> >  > > > > > > > > > > > > > it,
> >  > > > > > > > > > > > > > > > > > cancel
> >  > > > > > > > > > > > > > > > > > > > your
> >  > > > > > > > > > > > > > > > > > > > > > > > mail
> >  > > > > > > > > > > > > > > > > > > > > > > > account, destroy your
> hard
> >  > > drive,
> >  > > > > > > silence
> >  > > > > > > > > > any
> >  > > > > > > > > > > > > > witnesses,
> >  > > > > > > > > > > > > > > > and
> >  > > > > > > > > > > > > > > > > > > burn
> >  > > > > > > > > > > > > > > > > > > > > down
> >  > > > > > > > > > > > > > > > > > > > > > > > the
> >  > > > > > > > > > > > > > > > > > > > > > > > building that you're in.
> >  > > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > > > If you received this email by
> mistake,
> >  > > > > > > please
> >  > > > > > > > > > delete
> >  > > > > > > > > > > it,
> >  > > > > > > > > > > > > > > cancel
> >  > > > > > > > > > > > > > > > > your
> >  > > > > > > > > > > > > > > > > > > > mail
> >  > > > > > > > > > > > > > > > > > > > > account, destroy your hard
> drive,
> >  > > > silence
> >  > > > > > > any
> >  > > > > > > > > > > witnesses,
> >  > > > > > > > > > > > > and
> >  > > > > > > > > > > > > > > > burn
> >  > > > > > > > > > > > > > > > > > down
> >  > > > > > > > > > > > > > > > > > > > the
> >  > > > > > > > > > > > > > > > > > > > > building that you're in.
> >  > > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > > > If you received this email by mistake,
> please
> >  > > > > > > delete it,
> >  > > > > > > > > > > cancel
> >  > > > > > > > > > > > > your
> >  > > > > > > > > > > > > > > > mail
> >  > > > > > > > > > > > > > > > > account, destroy your hard drive,
> silence any
> >  > > > > > > witnesses,
> >  > > > > > > > > > and
> >  > > > > > > > > > > > > burn
> >  > > > > > > > > > > > > > down
> >  > > > > > > > > > > > > > > > the
> >  > > > > > > > > > > > > > > > > building that you're in.
> >  > > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > > > If you received this email by mistake,
> please
> >  > > delete
> >  > > > > > > it,
> >  > > > > > > > > > cancel
> >  > > > > > > > > > > your
> >  > > > > > > > > > > > > > mail
> >  > > > > > > > > > > > > > > account, destroy your hard drive, silence
> any
> >  > > > > > > witnesses, and
> >  > > > > > > > > > burn
> >  > > > > > > > > > > > > down
> >  > > > > > > > > > > > > > the
> >  > > > > > > > > > > > > > > building that you're in.
> >  > > > > > > > > > > > > > >
> >  > > > > > > > > > > > > >
> >  > > > > > > > > > > > >
> >  > > > > > > > > > > > >
> >  > > > > > > > > > > > >
> >  > > > > > > > > > > > >
> >  > > > > > > > > > > > > If you received this email by mistake, please
> delete
> >  > > it,
> >  > > > > > > cancel
> >  > > > > > > > > > your
> >  > > > > > > > > > > > > mail
> >  > > > > > > > > > > > > account, destroy your hard drive, silence any
> >  > > witnesses,
> >  > > > > > > and
> >  > > > > > > > burn
> >  > > > > > > > > > down
> >  > > > > > > > > > > > > the
> >  > > > > > > > > > > > > building that you're in.
> >  > > > > > > > > > > > >
> >  > > > > > > > > > > >
> >  > > > > > > > > > > >
> >  > > > > > > > > > >
> >  > > > > > > > > >
> >  > > > > > > > > >
> >  > > > > > > > > >
> >  > > > > > > > > >
> >  > > > > > > > > > If you received this email by mistake, please delete
> it,
> >  > > > cancel
> >  > > > > > > your
> >  > > > > > > > > > mail
> >  > > > > > > > > > account, destroy your hard drive, silence any
> witnesses, and
> >  > > > > > > burn down
> >  > > > > > > > > > the
> >  > > > > > > > > > building that you're in.
> >  > > > > > > > > >
> >  > > > > > > > >
> >  > > > > > > > >
> >  > > > > > > >
> >  > > > > > >
> >  > > > > > >
> >  > > > > > >
> >  > > > > > >
> >  > > > > > > If you received this email by mistake, please delete it,
> cancel
> >  > > your
> >  > > > > > > mail
> >  > > > > > > account, destroy your hard drive, silence any witnesses,
> and burn
> >  > > > down
> >  > > > > > > the
> >  > > > > > > building that you're in.
> >  > > > > > >
> >  > > > > >
> >  > > > > >
> >  > > > >
> >  > > >
> >  > >
> >  >
> >  >
> >  >
> >
> >  --
> >  Paul Lindner
> >  hi5 Architect
> >  plindner@hi5.com
> >
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Zhen Wang <zh...@apache.org>.
Hi Paul,

Your analysis is correct. Although this is not a Shindig problem per
se, it can be simply fixed by changing the synd parameter from
"gadgets" to "shindig" which is supported by gmodules.com.


On Fri, Feb 15, 2008 at 12:31 PM, Paul Lindner <pl...@hi5.com> wrote:
> Digging into this with firebug it appears that this is problem on
>  gmodules.com, not in Shindig.
>
>  A request is made of gmodules.com for an iframe like this:
>
>  http://www.gmodules.com/ig/ifr?url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fhoroscope.xml&nocache=1&synd=gadgets&mid=0&parent=http%3A%2F%2Flocalhost%3A8080%2Fgadgets%2Ffiles%2Fcontainer%2Fifpc_relay.html%3F&ogc=localhost:8080&country=US&lang=en&view=&view-params=%22%22#undefined
>
>  Note the parent is correctly set to localhost.
>
>  However it appears that gmodules.com ignores the parent and instead
>  tries to use an IFPC frame on www.google.com, like this:
>
>  http://www.google.com/ig/ifpc_relay#%22remote_iframe_2%22&0&1&0&%22%2522remote_iframe_2%2522%26%2522set_pref%2522%26%2522%2522%26%2522%2522%26%2522remote_iframe_2%2522%26%2522%2522%26%2522saved_tasks%2522%26%2522_%2523%2524LAB_MATAN%2524%2523_0_%2523%2524LAB_UDI%2524%2523_aaadfad_%2523%2524LAB_UDI%2524%2523_black%2522%22&true
>
>  That doesn't match localhost:8080, thus we get the permission denied
>  error.
>
>  Can someone check in with the folks running gmodules.com so it will
>  recognize parent params on a synd=gadgets request?
>
>
>
>
>  On Fri, Feb 15, 2008 at 11:37:06AM -0800, Kevin Brown wrote:
>  > I asked Zhen to look into it since I've been bogged down with too much work
>  > as is -- as Cassie mentioned, his rpc commit should fix other issues.
>  >
>  > On Fri, Feb 15, 2008 at 10:40 AM, Cassie <do...@google.com> wrote:
>  >
>  > > Hopefully with Zhen's new rpc code we can get this error to go away. I
>  > > believe he is going to switch over the samples to use gadgets.rpc soon and
>  > > look into the error at the same time.
>  > >
>  > > - Cassie
>  > >
>  > >
>  > > On Fri, Feb 15, 2008 at 4:41 AM, Neo Anderson <
>  > > neoanderson123@googlemail.com>
>  > > wrote:
>  > >
>  > > > Kevin, did you identified the problem?
>  > > >
>  > > > On Fri, Feb 15, 2008 at 2:58 PM, Neo Anderson <
>  > > > neoanderson123@googlemail.com>
>  > > > wrote:
>  > > >
>  > > > > Any update regarding this problem?
>  > > > >
>  > > > >
>  > > > > On Thu, Feb 14, 2008 at 5:32 PM, Neo Anderson <
>  > > > > neoanderson123@googlemail.com> wrote:
>  > > > >
>  > > > > > k. What abt the question related to UserPrefs?
>  > > > > >
>  > > > > >
>  > > > > >
>  > > > > > On Thu, Feb 14, 2008 at 5:29 PM, Kevin Brown <et...@google.com>
>  > > wrote:
>  > > > > >
>  > > > > > > Sorry, I haven't had a chance to look into it yet. I'll try to see
>  > > > > > > what I
>  > > > > > > can find tomorrow.
>  > > > > > >
>  > > > > > > On Thu, Feb 14, 2008 at 3:56 AM, Neo Anderson <
>  > > > > > > neoanderson123@googlemail.com>
>  > > > > > > wrote:
>  > > > > > >
>  > > > > > > > @Kevin, did you identified the problem?,
>  > > > > > > >
>  > > > > > > > How to use UserPref with <Content type="url" href="xxxx.jsp" />?
>  > > > > > > >
>  > > > > > > > If I modify and click on save, to which URL these modified
>  > > values
>  > > > > > > will be
>  > > > > > > > posted to?
>  > > > > > > >
>  > > > > > > > On Thu, Feb 14, 2008 at 2:57 PM, Neo Anderson <
>  > > > > > > > neoanderson123@googlemail.com>
>  > > > > > > > wrote:
>  > > > > > > >
>  > > > > > > > > Did you got my code?
>  > > > > > > > >
>  > > > > > > > >
>  > > > > > > > > On Thu, Feb 14, 2008 at 2:21 PM, Kevin Brown <et...@google.com>
>  > > > > > > wrote:
>  > > > > > > > >
>  > > > > > > > > > Go ahead and send your code that's causing problems and I'll
>  > > > see
>  > > > > > > if I
>  > > > > > > > > > can
>  > > > > > > > > > take a look.
>  > > > > > > > > >
>  > > > > > > > > > The IE7 issue is known and being investigated (not your
>  > > > problem
>  > > > > > > > > > specifically).
>  > > > > > > > > >
>  > > > > > > > > > On Thu, Feb 14, 2008 at 12:33 AM, Neo Anderson <
>  > > > > > > > > > neoanderson123@googlemail.com> wrote:
>  > > > > > > > > >
>  > > > > > > > > > > It is working in FF with errors as said above. But in IE(
>  > > > v7.0),
>  > > > > > > I
>  > > > > > > > got
>  > > > > > > > > > the
>  > > > > > > > > > > error *Error: "gadgets" is undefined.* If the problem is
>  > > > with
>  > > > > > > my
>  > > > > > > > > > script,
>  > > > > > > > > > > then it must not work in FF. :-(
>  > > > > > > > > > >
>  > > > > > > > > > > On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson <
>  > > > > > > > > > > neoanderson123@googlemail.com>
>  > > > > > > > > > > wrote:
>  > > > > > > > > > >
>  > > > > > > > > > > > I replaced GADGET_IFRAME_PREFIX_ with default one. i.e.,
>  > > > > > > > > > > "remote_iframe_"
>  > > > > > > > > > > >
>  > > > > > > > > > > > Do I need to use arbitrary moduleId's or can I make them
>  > > > > > > user
>  > > > > > > > > > specific?
>  > > > > > > > > > > >
>  > > > > > > > > > > > Even now, after restoring the value of
>  > > > > > > "GADGET_IFRAME_PREFIX_",
>  > > > > > > >  it
>  > > > > > > > > > is
>  > > > > > > > > > > > working fine with sample6.html (I placed 6 gadgets and
>  > > got
>  > > > > > > them in
>  > > > > > > > > > two
>  > > > > > > > > > > > rows.) And in this example, the gadget on top is able to
>  > > > > > > adjust
>  > > > > > > > it's
>  > > > > > > > > > > height.
>  > > > > > > > > > > > But when I'm using my own Layout Manager, then The
>  > > gadget
>  > > > on
>  > > > > > > top
>  > > > > > > > is
>  > > > > > > > > > not
>  > > > > > > > > > > > adjusting it's height and after adjusting it's height
>  > > the
>  > > > > > > adjusted
>  > > > > > > > > > part
>  > > > > > > > > > > is
>  > > > > > > > > > > > not visible.
>  > > > > > > > > > > >
>  > > > > > > > > > > > When ever I use my own layout manager(Code is posted in
>  > > > one
>  > > > > > > of the
>  > > > > > > > > > > > previous mesages), I'm getting *uncaught exception:
>  > > > > > > Permission
>  > > > > > > > > > denied to
>  > > > > > > > > > > > call method Window.setTimeout* error.
>  > > > > > > > > > > >
>  > > > > > > > > > > > Can I send my gadgets.js file and the html page that I
>  > > am
>  > > > > > > using?
>  > > > > > > > > > > >
>  > > > > > > > > > > >
>  > > > > > > > > > > > On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown <
>  > > > > > > etnu@google.com>
>  > > > > > > > > > wrote:
>  > > > > > > > > > > >
>  > > > > > > > > > > > > Not with the current code -- it assumes that your
>  > > > iframe's
>  > > > > > > id /
>  > > > > > > > > > name
>  > > > > > > > > > > is
>  > > > > > > > > > > > > remote_iframe_<module id>. (see:
>  > > > > > > > > > > > >
>  > > > > > > > > > > > >
>  > > > > > > > > > >
>  > > > > > > > > >
>  > > > > > > >
>  > > > > > >
>  > > >
>  > > http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
>  > > > > > > > > > > > > )
>  > > > > > > > > > > > >
>  > > > > > > > > > > > > When the changes described in SHINDIG-22 and
>  > > SHINDIG-44
>  > > > > > > are
>  > > > > > > > > > > implemented
>  > > > > > > > > > > > > you
>  > > > > > > > > > > > > should be able to use whatever you want, but for now
>  > > you
>  > > > > > > have to
>  > > > > > > > > > > follow
>  > > > > > > > > > > > > this
>  > > > > > > > > > > > > naming convention for the shindig ifpc-dependent
>  > > > features
>  > > > > > > to
>  > > > > > > > work.
>  > > > > > > > > > > > >
>  > > > > > > > > > > > > On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson <
>  > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
>  > > > > > > > > > > > >
>  > > > > > > > > > > > > > Can't I use my own gadget id?
>  > > > > > > > > > > > > >
>  > > > > > > > > > > > > > I won't change that GADGET_IFRAME_PREFIX_. Even now,
>  > > > do
>  > > > > > > I need
>  > > > > > > > > > to
>  > > > > > > > > > > use
>  > > > > > > > > > > > > > arbitrary iframe id's?
>  > > > > > > > > > > > > >
>  > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <
>  > > > > > > etnu@google.com>
>  > > > > > > > > > > wrote:
>  > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > Right now some things are hard coded to use the
>  > > > fixed
>  > > > > > > iframe
>  > > > > > > > > > name
>  > > > > > > > > > > > > > > assumptions (ported from igoogle). Work that I'm
>  > > > doing
>  > > > > > > to
>  > > > > > > > deal
>  > > > > > > > > > > with
>  > > > > > > > > > > > > a
>  > > > > > > > > > > > > > > unified configuration model (see SHINDIG-22 and
>  > > > > > > SHINDIG-44
>  > > > > > > > for
>  > > > > > > > > > > > > details)
>  > > > > > > > > > > > > > > should allow arbitrary iframe ids.
>  > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
>  > > > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
>  > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > Currently I'm using latest SVN snapshot.
>  > > Actually,
>  > > > I
>  > > > > > > > update
>  > > > > > > > > > my
>  > > > > > > > > > > > > code
>  > > > > > > > > > > > > > > daily.
>  > > > > > > > > > > > > > > > So, problem is not with my code. What if anybody
>  > > > > > > wants to
>  > > > > > > > > > use a
>  > > > > > > > > > > > > > > different
>  > > > > > > > > > > > > > > > GADGET_IFRAME_PREFIX_? What happens if somebody
>  > > > > > > sends id
>  > > > > > > > as
>  > > > > > > > > > a
>  > > > > > > > > > > > > > parameter
>  > > > > > > > > > > > > > > > and
>  > > > > > > > > > > > > > > > use it as gadget id?
>  > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > Then iFrame id will be GADGET_IFRAME_PREFIX_ +
>  > > id
>  > > > > > > passed
>  > > > > > > > as
>  > > > > > > > > > > > > parameter.
>  > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > Will this cause any problems?
>  > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <
>  > > > > > > > > > etnu@google.com>
>  > > > > > > > > > > > > wrote:
>  > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > It looks like a problem with ifpc, but I can't
>  > > > > > > figure
>  > > > > > > > out
>  > > > > > > > > > what
>  > > > > > > > > > > > > > exactly
>  > > > > > > > > > > > > > > > is
>  > > > > > > > > > > > > > > > > causing it. From the looks of things it might
>  > > be
>  > > > > > > related
>  > > > > > > > > > to
>  > > > > > > > > > > > > > something
>  > > > > > > > > > > > > > > > that
>  > > > > > > > > > > > > > > > > Zhen recently fixed, which is that we weren't
>  > > > > > > using
>  > > > > > > > > > consistent
>  > > > > > > > > > > > > > > > assumptions
>  > > > > > > > > > > > > > > > > for the id / name of the iframe elements on
>  > > the
>  > > > > > > > containing
>  > > > > > > > > > > page.
>  > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > Could you try it again using what's in the
>  > > > latest
>  > > > > > > SVN
>  > > > > > > > > > > snapshot?
>  > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson
>  > > <
>  > > > > > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
>  > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > Did I got this this problem due to my coding
>  > > > or
>  > > > > > > it is
>  > > > > > > > > > > Shindig
>  > > > > > > > > > > > > > > problem?
>  > > > > > > > > > > > > > > > >  If
>  > > > > > > > > > > > > > > > > > it is shindig problem,are they identified it
>  > > > and
>  > > > > > > > solving
>  > > > > > > > > > it?
>  > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > On Feb 14, 2008 12:07 AM, Cassie <
>  > > > > > > doll@google.com>
>  > > > > > > > > > wrote:
>  > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > Just want to let you know that these
>  > > > > > > exceptions were
>  > > > > > > > > > > > > captured in
>  > > > > > > > > > > > > > > > this
>  > > > > > > > > > > > > > > > > > bug
>  > > > > > > > > > > > > > > > > > > here:
>  > > > > > > > > > > > > > > > > > >
>  > > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
>  > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > I am able to reproduce the bug as well.
>  > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > - Cassie
>  > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo
>  > > > Anderson
>  > > > > > > <
>  > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
>  > > > > > > > > > > > > > > > > > > wrote:
>  > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > // Own layout manager
>  > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > gadgets.SortableLayoutManager =
>  > > > > > > > > > function(layoutRootId) {
>  > > > > > > > > > > > > > > > > > > >  gadgets.LayoutManager.call(this);
>  > > > > > > > > > > > > > > > > > > >  this.layoutRootId_ = (typeof
>  > > layoutRootId
>  > > > > > > ==
>  > > > > > > > > > "string")
>  > > > > > > > > > > ?
>  > > > > > > > > > > > > > > > > > > > _get(layoutRootId) : layoutRootId;
>  > > > > > > > > > > > > > > > > > > >  this.columns =
>  > > this.layoutRootId_.length;
>  > > > > > > > > > > > > > > > > > > > };
>  > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > gadgets.SortableLayoutManager.inherits(
>  > > > > > > > > > > > > gadgets.LayoutManager);
>  > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome=
>  > > > > > > > > > > > > > > > > > > function(gadget)
>  > > > > > > > > > > > > > > > > > > > {
>  > > > > > > > > > > > > > > > > > > >    minHeight = this.layoutRootId_[
>  > > > > > > this.columns-1
>  > > > > > > > > > > > > > ].offsetHeight;
>  > > > > > > > > > > > > > > > > > > >    index = 0;
>  > > > > > > > > > > > > > > > > > > >    for(i=this.columns-1; i>=0; i--){
>  > > > > > > > > > > > > > > > > > > >        if(this.layoutRootId
>  > > > _[i].offsetHeight
>  > > > > > > <=
>  > > > > > > > > > > > > minHeight){
>  > > > > > > > > > > > > > > > > > > >            minHeight = this.layoutRootId
>  > > > > > > > > > > _[i].offsetHeight;
>  > > > > > > > > > > > > > > > > > > >            index = i;
>  > > > > > > > > > > > > > > > > > > >        }
>  > > > > > > > > > > > > > > > > > > >    }
>  > > > > > > > > > > > > > > > > > > >    return this.layoutRootId_[index];
>  > > > > > > > > > > > > > > > > > > > };
>  > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > ********************************* Code
>  > > > ends
>  > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > _get returns elements by class
>  > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > Here I'm sending an array of three div
>  > > > > > > elements,
>  > > > > > > > > > > > > > gadgetChromeId
>  > > > > > > > > > > > > > > > will
>  > > > > > > > > > > > > > > > > > be
>  > > > > > > > > > > > > > > > > > > > set
>  > > > > > > > > > > > > > > > > > > > to the column whose
>  > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <
>  > > > > > > > > > etnu@google.com>
>  > > > > > > > > > > > > wrote:
>  > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > Without seeing your code, I really
>  > > have
>  > > > no
>  > > > > > > idea.
>  > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson
>  > > <
>  > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
>  > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > wrote:
>  > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > I have created my own Layout
>  > > Manager.
>  > > > If
>  > > > > > > I use
>  > > > > > > > > > > > > > > > > > > FloatLeftLayoutManager,
>  > > > > > > > > > > > > > > > > > > > > > then
>  > > > > > > > > > > > > > > > > > > > > > it is working fine even in the page
>  > > > that
>  > > > > > > I
>  > > > > > > > > > tested
>  > > > > > > > > > > > > > > previously.
>  > > > > > > > > > > > > > > > I
>  > > > > > > > > > > > > > > > > > > > haven't
>  > > > > > > > > > > > > > > > > > > > > > got
>  > > > > > > > > > > > > > > > > > > > > > the window.setTimeout error. But why
>  > > > I'm
>  > > > > > > > getting
>  > > > > > > > > > > this
>  > > > > > > > > > > > > > error
>  > > > > > > > > > > > > > > > when
>  > > > > > > > > > > > > > > > > I
>  > > > > > > > > > > > > > > > > > > use
>  > > > > > > > > > > > > > > > > > > > > my
>  > > > > > > > > > > > > > > > > > > > > > own layout manager?
>  > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:29 PM, Neo
>  > > Anderson
>  > > > <
>  > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
>  > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > wrote:
>  > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > Container page? I'm not using any
>  > > > > > > container
>  > > > > > > > .
>  > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin
>  > > Brown
>  > > > <
>  > > > > > > > > > > > > etnu@google.com>
>  > > > > > > > > > > > > > > > wrote:
>  > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > I see the error in IE, but this
>  > > > > > > looks like
>  > > > > > > > > > an
>  > > > > > > > > > > > > error
>  > > > > > > > > > > > > > > that's
>  > > > > > > > > > > > > > > > > > > popping
>  > > > > > > > > > > > > > > > > > > > > up
>  > > > > > > > > > > > > > > > > > > > > > on
>  > > > > > > > > > > > > > > > > > > > > > > > all
>  > > > > > > > > > > > > > > > > > > > > > > > gadget renders (I don't have an
>  > > IE
>  > > > > > > > debugger
>  > > > > > > > > > > > > available
>  > > > > > > > > > > > > > > > right
>  > > > > > > > > > > > > > > > > > now
>  > > > > > > > > > > > > > > > > > > so
>  > > > > > > > > > > > > > > > > > > > > > I'll
>  > > > > > > > > > > > > > > > > > > > > > > > investigate tomorrow when I do).
>  > > I
>  > > > > > > can't
>  > > > > > > > > > find
>  > > > > > > > > > > > > anything
>  > > > > > > > > > > > > > > > > > > triggering
>  > > > > > > > > > > > > > > > > > > > > this
>  > > > > > > > > > > > > > > > > > > > > > > > window.setTimeout issue, though.
>  > > > Is
>  > > > > > > this
>  > > > > > > > > > > happening
>  > > > > > > > > > > > > on
>  > > > > > > > > > > > > > a
>  > > > > > > > > > > > > > > > > > > container
>  > > > > > > > > > > > > > > > > > > > > page
>  > > > > > > > > > > > > > > > > > > > > > > > that
>  > > > > > > > > > > > > > > > > > > > > > > > you wrote yourself?
>  > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo
>  > > > > > > Anderson <
>  > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
>  > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > wrote:
>  > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > If I run the same example in
>  > > IE,
>  > > > > > > then it
>  > > > > > > > > > is
>  > > > > > > > > > > not
>  > > > > > > > > > > > > > > working.
>  > > > > > > > > > > > > > > > > It
>  > > > > > > > > > > > > > > > > > is
>  > > > > > > > > > > > > > > > > > > > > > > > displaying
>  > > > > > > > > > > > > > > > > > > > > > > > > JavaScript error "gadgets" is
>  > > > not
>  > > > > > > > defined.
>  > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo
>  > > > > > > Anderson <
>  > > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
>  > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > wrote:
>  > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > No, I'm not getting any
>  > > errors
>  > > > > > > even I
>  > > > > > > > > > add
>  > > > > > > > > > > some
>  > > > > > > > > > > > > > more
>  > > > > > > > > > > > > > > > > > gadgets
>  > > > > > > > > > > > > > > > > > > in
>  > > > > > > > > > > > > > > > > > > > a
>  > > > > > > > > > > > > > > > > > > > > > > > single
>  > > > > > > > > > > > > > > > > > > > > > > > > > column. Any it is working
>  > > > fine.
>  > > > > > > What
>  > > > > > > > > > might
>  > > > > > > > > > > br
>  > > > > > > > > > > > > the
>  > > > > > > > > > > > > > > > > problem?
>  > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:11 PM,
>  > > Kevin
>  > > > > > > Brown <
>  > > > > > > > > > > > > > > etnu@google.com>
>  > > > > > > > > > > > > > > > > > > wrote:
>  > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > Do you get the error when
>  > > > > > > hitting
>  > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > >
>  > > > > > > http://localhost:8080/gadgets/files/container/sample6.htmland
>  > > > > > > > > > > > > > > > > > > > > > > > > clicking
>  > > > > > > > > > > > > > > > > > > > > > > > > > > the
>  > > > > > > > > > > > > > > > > > > > > > > > > > > "Refine the list" link?
>  > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:35 AM,
>  > > > Neo
>  > > > > > > > Anderson
>  > > > > > > > > > <
>  > > > > > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
>  > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
>  > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > Yes, I'm using latest
>  > > > > > > snapshot.
>  > > > > > > > I'm
>  > > > > > > > > > > using
>  > > > > > > > > > > > > FF
>  > > > > > > > > > > > > > > > 2.0.12
>  > > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM,
>  > > > > > > Kevin
>  > > > > > > > Brown
>  > > > > > > > > > <
>  > > > > > > > > > > > > > > > > etnu@google.com>
>  > > > > > > > > > > > > > > > > > > > > wrote:
>  > > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > What browser are you
>  > > > > > > seeing this
>  > > > > > > > > > in?
>  > > > > > > > > > > Are
>  > > > > > > > > > > > > you
>  > > > > > > > > > > > > > > > using
>  > > > > > > > > > > > > > > > > > the
>  > > > > > > > > > > > > > > > > > > > > > latest
>  > > > > > > > > > > > > > > > > > > > > > > > > > > snapshot?
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > I
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > can't reproduce.
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:03
>  > > > AM,
>  > > > > > > Arun
>  > > > > > > > > > Kumar <
>  > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > arunkumar.boppudi.514@gmail.com>
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I also got the same
>  > > > > > > problem...
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15
>  > > > PM,
>  > > > > > > Neo
>  > > > > > > > > > > Anderson
>  > > > > > > > > > > > > <
>  > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > neoanderson123@googlemail.com>
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm getting
>  > > > *uncaught
>  > > > > > > > > > exception:
>  > > > > > > > > > > > > > > Permission
>  > > > > > > > > > > > > > > > > > denied
>  > > > > > > > > > > > > > > > > > > > to
>  > > > > > > > > > > > > > > > > > > > > > call
>  > > > > > > > > > > > > > > > > > > > > > > > > > > method
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > Window.setTimeout*exception
>  > > > > > > > > > when
>  > > > > > > > > > > I
>  > > > > > > > > > > > > try
>  > > > > > > > > > > > > > to
>  > > > > > > > > > > > > > > > use
>  > > > > > > > > > > > > > > > > > > > Dynamic
>  > > > > > > > > > > > > > > > > > > > > > > > Height
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > feature.
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > But
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > dynamic height is
>  > > > > > > working.
>  > > > > > > > I'm
>  > > > > > > > > > > > > adding
>  > > > > > > > > > > > > > > > gadgets
>  > > > > > > > > > > > > > > > > to
>  > > > > > > > > > > > > > > > > > > my
>  > > > > > > > > > > > > > > > > > > > > web
>  > > > > > > > > > > > > > > > > > > > > > > > page
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > dynamically
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > i.e.,
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm able to add a
>  > > > > > > gadget
>  > > > > > > > upon
>  > > > > > > > > > > > > clicking
>  > > > > > > > > > > > > > on
>  > > > > > > > > > > > > > > a
>  > > > > > > > > > > > > > > > > > > button.
>  > > > > > > > > > > > > > > > > > > > > But
>  > > > > > > > > > > > > > > > > > > > > > > > when I
>  > > > > > > > > > > > > > > > > > > > > > > > > > > place
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > two
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > gadgets in a
>  > > column,
>  > > > > > > then if
>  > > > > > > > > > the
>  > > > > > > > > > > > > gadget
>  > > > > > > > > > > > > > on
>  > > > > > > > > > > > > > > > top
>  > > > > > > > > > > > > > > > > > > needs
>  > > > > > > > > > > > > > > > > > > > > to
>  > > > > > > > > > > > > > > > > > > > > > > > adjust
>  > > > > > > > > > > > > > > > > > > > > > > > > > > it's
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > height,
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > then the gadget
>  > > > height
>  > > > > > > > height
>  > > > > > > > > > is
>  > > > > > > > > > > > > > adjusted
>  > > > > > > > > > > > > > > > and
>  > > > > > > > > > > > > > > > > > the
>  > > > > > > > > > > > > > > > > > > > > height
>  > > > > > > > > > > > > > > > > > > > > > > > > > > adjusted is
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > not
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > getting displayed
>  > > > and
>  > > > > > > in
>  > > > > > > > this
>  > > > > > > > > > > case,
>  > > > > > > > > > > > > I'm
>  > > > > > > > > > > > > > > > > getting
>  > > > > > > > > > > > > > > > > > > the
>  > > > > > > > > > > > > > > > > > > > > > above
>  > > > > > > > > > > > > > > > > > > > > > > > said
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > error.
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
>
>
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > If you received this
>  > > > email
>  > > > > > > by
>  > > > > > > > > > mistake,
>  > > > > > > > > > > > > > please
>  > > > > > > > > > > > > > > > > delete
>  > > > > > > > > > > > > > > > > > > it,
>  > > > > > > > > > > > > > > > > > > > > > > > cancel
>  > > > > > > > > > > > > > > > > > > > > > > > > your
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > mail
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > account, destroy your
>  > > > hard
>  > > > > > > > drive,
>  > > > > > > > > > > > > silence
>  > > > > > > > > > > > > > any
>  > > > > > > > > > > > > > > > > > > witnesses,
>  > > > > > > > > > > > > > > > > > > > > and
>  > > > > > > > > > > > > > > > > > > > > > > > burn
>  > > > > > > > > > > > > > > > > > > > > > > > > > > down
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > the
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > > building that you're
>  > > in.
>  > > > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > > > If you received this email
>  > > > by
>  > > > > > > > mistake,
>  > > > > > > > > > > > > please
>  > > > > > > > > > > > > > > delete
>  > > > > > > > > > > > > > > > > it,
>  > > > > > > > > > > > > > > > > > > > > cancel
>  > > > > > > > > > > > > > > > > > > > > > > > your
>  > > > > > > > > > > > > > > > > > > > > > > > > > > mail
>  > > > > > > > > > > > > > > > > > > > > > > > > > > account, destroy your hard
>  > > > > > > drive,
>  > > > > > > > > > silence
>  > > > > > > > > > > > > any
>  > > > > > > > > > > > > > > > > witnesses,
>  > > > > > > > > > > > > > > > > > > and
>  > > > > > > > > > > > > > > > > > > > > > burn
>  > > > > > > > > > > > > > > > > > > > > > > > down
>  > > > > > > > > > > > > > > > > > > > > > > > > > > the
>  > > > > > > > > > > > > > > > > > > > > > > > > > > building that you're in.
>  > > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > > > If you received this email by
>  > > > > > > mistake,
>  > > > > > > > > > please
>  > > > > > > > > > > > > delete
>  > > > > > > > > > > > > > it,
>  > > > > > > > > > > > > > > > > > cancel
>  > > > > > > > > > > > > > > > > > > > your
>  > > > > > > > > > > > > > > > > > > > > > > > mail
>  > > > > > > > > > > > > > > > > > > > > > > > account, destroy your hard
>  > > drive,
>  > > > > > > silence
>  > > > > > > > > > any
>  > > > > > > > > > > > > > witnesses,
>  > > > > > > > > > > > > > > > and
>  > > > > > > > > > > > > > > > > > > burn
>  > > > > > > > > > > > > > > > > > > > > down
>  > > > > > > > > > > > > > > > > > > > > > > > the
>  > > > > > > > > > > > > > > > > > > > > > > > building that you're in.
>  > > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > > > If you received this email by mistake,
>  > > > > > > please
>  > > > > > > > > > delete
>  > > > > > > > > > > it,
>  > > > > > > > > > > > > > > cancel
>  > > > > > > > > > > > > > > > > your
>  > > > > > > > > > > > > > > > > > > > mail
>  > > > > > > > > > > > > > > > > > > > > account, destroy your hard drive,
>  > > > silence
>  > > > > > > any
>  > > > > > > > > > > witnesses,
>  > > > > > > > > > > > > and
>  > > > > > > > > > > > > > > > burn
>  > > > > > > > > > > > > > > > > > down
>  > > > > > > > > > > > > > > > > > > > the
>  > > > > > > > > > > > > > > > > > > > > building that you're in.
>  > > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > > > If you received this email by mistake, please
>  > > > > > > delete it,
>  > > > > > > > > > > cancel
>  > > > > > > > > > > > > your
>  > > > > > > > > > > > > > > > mail
>  > > > > > > > > > > > > > > > > account, destroy your hard drive, silence any
>  > > > > > > witnesses,
>  > > > > > > > > > and
>  > > > > > > > > > > > > burn
>  > > > > > > > > > > > > > down
>  > > > > > > > > > > > > > > > the
>  > > > > > > > > > > > > > > > > building that you're in.
>  > > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > >
>  > > > > > > > > > > > > > > If you received this email by mistake, please
>  > > delete
>  > > > > > > it,
>  > > > > > > > > > cancel
>  > > > > > > > > > > your
>  > > > > > > > > > > > > > mail
>  > > > > > > > > > > > > > > account, destroy your hard drive, silence any
>  > > > > > > witnesses, and
>  > > > > > > > > > burn
>  > > > > > > > > > > > > down
>  > > > > > > > > > > > > > the
>  > > > > > > > > > > > > > > building that you're in.
>  > > > > > > > > > > > > > >
>  > > > > > > > > > > > > >
>  > > > > > > > > > > > >
>  > > > > > > > > > > > >
>  > > > > > > > > > > > >
>  > > > > > > > > > > > >
>  > > > > > > > > > > > > If you received this email by mistake, please delete
>  > > it,
>  > > > > > > cancel
>  > > > > > > > > > your
>  > > > > > > > > > > > > mail
>  > > > > > > > > > > > > account, destroy your hard drive, silence any
>  > > witnesses,
>  > > > > > > and
>  > > > > > > > burn
>  > > > > > > > > > down
>  > > > > > > > > > > > > the
>  > > > > > > > > > > > > building that you're in.
>  > > > > > > > > > > > >
>  > > > > > > > > > > >
>  > > > > > > > > > > >
>  > > > > > > > > > >
>  > > > > > > > > >
>  > > > > > > > > >
>  > > > > > > > > >
>  > > > > > > > > >
>  > > > > > > > > > If you received this email by mistake, please delete it,
>  > > > cancel
>  > > > > > > your
>  > > > > > > > > > mail
>  > > > > > > > > > account, destroy your hard drive, silence any witnesses, and
>  > > > > > > burn down
>  > > > > > > > > > the
>  > > > > > > > > > building that you're in.
>  > > > > > > > > >
>  > > > > > > > >
>  > > > > > > > >
>  > > > > > > >
>  > > > > > >
>  > > > > > >
>  > > > > > >
>  > > > > > >
>  > > > > > > If you received this email by mistake, please delete it, cancel
>  > > your
>  > > > > > > mail
>  > > > > > > account, destroy your hard drive, silence any witnesses, and burn
>  > > > down
>  > > > > > > the
>  > > > > > > building that you're in.
>  > > > > > >
>  > > > > >
>  > > > > >
>  > > > >
>  > > >
>  > >
>  >
>  >
>  >
>
>  --
>  Paul Lindner
>  hi5 Architect
>  plindner@hi5.com
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Paul Lindner <pl...@hi5.com>.
Digging into this with firebug it appears that this is problem on
gmodules.com, not in Shindig.

A request is made of gmodules.com for an iframe like this:

http://www.gmodules.com/ig/ifr?url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fhoroscope.xml&nocache=1&synd=gadgets&mid=0&parent=http%3A%2F%2Flocalhost%3A8080%2Fgadgets%2Ffiles%2Fcontainer%2Fifpc_relay.html%3F&ogc=localhost:8080&country=US&lang=en&view=&view-params=%22%22#undefined

Note the parent is correctly set to localhost.

However it appears that gmodules.com ignores the parent and instead
tries to use an IFPC frame on www.google.com, like this:

http://www.google.com/ig/ifpc_relay#%22remote_iframe_2%22&0&1&0&%22%2522remote_iframe_2%2522%26%2522set_pref%2522%26%2522%2522%26%2522%2522%26%2522remote_iframe_2%2522%26%2522%2522%26%2522saved_tasks%2522%26%2522_%2523%2524LAB_MATAN%2524%2523_0_%2523%2524LAB_UDI%2524%2523_aaadfad_%2523%2524LAB_UDI%2524%2523_black%2522%22&true

That doesn't match localhost:8080, thus we get the permission denied
error.

Can someone check in with the folks running gmodules.com so it will
recognize parent params on a synd=gadgets request?


On Fri, Feb 15, 2008 at 11:37:06AM -0800, Kevin Brown wrote:
> I asked Zhen to look into it since I've been bogged down with too much work
> as is -- as Cassie mentioned, his rpc commit should fix other issues.
> 
> On Fri, Feb 15, 2008 at 10:40 AM, Cassie <do...@google.com> wrote:
> 
> > Hopefully with Zhen's new rpc code we can get this error to go away. I
> > believe he is going to switch over the samples to use gadgets.rpc soon and
> > look into the error at the same time.
> >
> > - Cassie
> >
> >
> > On Fri, Feb 15, 2008 at 4:41 AM, Neo Anderson <
> > neoanderson123@googlemail.com>
> > wrote:
> >
> > > Kevin, did you identified the problem?
> > >
> > > On Fri, Feb 15, 2008 at 2:58 PM, Neo Anderson <
> > > neoanderson123@googlemail.com>
> > > wrote:
> > >
> > > > Any update regarding this problem?
> > > >
> > > >
> > > > On Thu, Feb 14, 2008 at 5:32 PM, Neo Anderson <
> > > > neoanderson123@googlemail.com> wrote:
> > > >
> > > > > k. What abt the question related to UserPrefs?
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Feb 14, 2008 at 5:29 PM, Kevin Brown <et...@google.com>
> > wrote:
> > > > >
> > > > > > Sorry, I haven't had a chance to look into it yet. I'll try to see
> > > > > > what I
> > > > > > can find tomorrow.
> > > > > >
> > > > > > On Thu, Feb 14, 2008 at 3:56 AM, Neo Anderson <
> > > > > > neoanderson123@googlemail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > @Kevin, did you identified the problem?,
> > > > > > >
> > > > > > > How to use UserPref with <Content type="url" href="xxxx.jsp" />?
> > > > > > >
> > > > > > > If I modify and click on save, to which URL these modified
> > values
> > > > > > will be
> > > > > > > posted to?
> > > > > > >
> > > > > > > On Thu, Feb 14, 2008 at 2:57 PM, Neo Anderson <
> > > > > > > neoanderson123@googlemail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Did you got my code?
> > > > > > > >
> > > > > > > >
> > > > > > > > On Thu, Feb 14, 2008 at 2:21 PM, Kevin Brown <et...@google.com>
> > > > > > wrote:
> > > > > > > >
> > > > > > > > > Go ahead and send your code that's causing problems and I'll
> > > see
> > > > > > if I
> > > > > > > > > can
> > > > > > > > > take a look.
> > > > > > > > >
> > > > > > > > > The IE7 issue is known and being investigated (not your
> > > problem
> > > > > > > > > specifically).
> > > > > > > > >
> > > > > > > > > On Thu, Feb 14, 2008 at 12:33 AM, Neo Anderson <
> > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > >
> > > > > > > > > > It is working in FF with errors as said above. But in IE(
> > > v7.0),
> > > > > > I
> > > > > > > got
> > > > > > > > > the
> > > > > > > > > > error *Error: "gadgets" is undefined.* If the problem is
> > > with
> > > > > > my
> > > > > > > > > script,
> > > > > > > > > > then it must not work in FF. :-(
> > > > > > > > > >
> > > > > > > > > > On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson <
> > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > I replaced GADGET_IFRAME_PREFIX_ with default one. i.e.,
> > > > > > > > > > "remote_iframe_"
> > > > > > > > > > >
> > > > > > > > > > > Do I need to use arbitrary moduleId's or can I make them
> > > > > > user
> > > > > > > > > specific?
> > > > > > > > > > >
> > > > > > > > > > > Even now, after restoring the value of
> > > > > > "GADGET_IFRAME_PREFIX_",
> > > > > > >  it
> > > > > > > > > is
> > > > > > > > > > > working fine with sample6.html (I placed 6 gadgets and
> > got
> > > > > > them in
> > > > > > > > > two
> > > > > > > > > > > rows.) And in this example, the gadget on top is able to
> > > > > > adjust
> > > > > > > it's
> > > > > > > > > > height.
> > > > > > > > > > > But when I'm using my own Layout Manager, then The
> > gadget
> > > on
> > > > > > top
> > > > > > > is
> > > > > > > > > not
> > > > > > > > > > > adjusting it's height and after adjusting it's height
> > the
> > > > > > adjusted
> > > > > > > > > part
> > > > > > > > > > is
> > > > > > > > > > > not visible.
> > > > > > > > > > >
> > > > > > > > > > > When ever I use my own layout manager(Code is posted in
> > > one
> > > > > > of the
> > > > > > > > > > > previous mesages), I'm getting *uncaught exception:
> > > > > > Permission
> > > > > > > > > denied to
> > > > > > > > > > > call method Window.setTimeout* error.
> > > > > > > > > > >
> > > > > > > > > > > Can I send my gadgets.js file and the html page that I
> > am
> > > > > > using?
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown <
> > > > > > etnu@google.com>
> > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Not with the current code -- it assumes that your
> > > iframe's
> > > > > > id /
> > > > > > > > > name
> > > > > > > > > > is
> > > > > > > > > > > > remote_iframe_<module id>. (see:
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > > >
> > >
> > http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> > > > > > > > > > > > )
> > > > > > > > > > > >
> > > > > > > > > > > > When the changes described in SHINDIG-22 and
> > SHINDIG-44
> > > > > > are
> > > > > > > > > > implemented
> > > > > > > > > > > > you
> > > > > > > > > > > > should be able to use whatever you want, but for now
> > you
> > > > > > have to
> > > > > > > > > > follow
> > > > > > > > > > > > this
> > > > > > > > > > > > naming convention for the shindig ifpc-dependent
> > > features
> > > > > > to
> > > > > > > work.
> > > > > > > > > > > >
> > > > > > > > > > > > On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson <
> > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Can't I use my own gadget id?
> > > > > > > > > > > > >
> > > > > > > > > > > > > I won't change that GADGET_IFRAME_PREFIX_. Even now,
> > > do
> > > > > > I need
> > > > > > > > > to
> > > > > > > > > > use
> > > > > > > > > > > > > arbitrary iframe id's?
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <
> > > > > > etnu@google.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Right now some things are hard coded to use the
> > > fixed
> > > > > > iframe
> > > > > > > > > name
> > > > > > > > > > > > > > assumptions (ported from igoogle). Work that I'm
> > > doing
> > > > > > to
> > > > > > > deal
> > > > > > > > > > with
> > > > > > > > > > > > a
> > > > > > > > > > > > > > unified configuration model (see SHINDIG-22 and
> > > > > > SHINDIG-44
> > > > > > > for
> > > > > > > > > > > > details)
> > > > > > > > > > > > > > should allow arbitrary iframe ids.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
> > > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Currently I'm using latest SVN snapshot.
> > Actually,
> > > I
> > > > > > > update
> > > > > > > > > my
> > > > > > > > > > > > code
> > > > > > > > > > > > > > daily.
> > > > > > > > > > > > > > > So, problem is not with my code. What if anybody
> > > > > > wants to
> > > > > > > > > use a
> > > > > > > > > > > > > > different
> > > > > > > > > > > > > > > GADGET_IFRAME_PREFIX_? What happens if somebody
> > > > > > sends id
> > > > > > > as
> > > > > > > > > a
> > > > > > > > > > > > > parameter
> > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > use it as gadget id?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Then iFrame id will be GADGET_IFRAME_PREFIX_ +
> > id
> > > > > > passed
> > > > > > > as
> > > > > > > > > > > > parameter.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Will this cause any problems?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <
> > > > > > > > > etnu@google.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > It looks like a problem with ifpc, but I can't
> > > > > > figure
> > > > > > > out
> > > > > > > > > what
> > > > > > > > > > > > > exactly
> > > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > causing it. From the looks of things it might
> > be
> > > > > > related
> > > > > > > > > to
> > > > > > > > > > > > > something
> > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > Zhen recently fixed, which is that we weren't
> > > > > > using
> > > > > > > > > consistent
> > > > > > > > > > > > > > > assumptions
> > > > > > > > > > > > > > > > for the id / name of the iframe elements on
> > the
> > > > > > > containing
> > > > > > > > > > page.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Could you try it again using what's in the
> > > latest
> > > > > > SVN
> > > > > > > > > > snapshot?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson
> > <
> > > > > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Did I got this this problem due to my coding
> > > or
> > > > > > it is
> > > > > > > > > > Shindig
> > > > > > > > > > > > > > problem?
> > > > > > > > > > > > > > > >  If
> > > > > > > > > > > > > > > > > it is shindig problem,are they identified it
> > > and
> > > > > > > solving
> > > > > > > > > it?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Feb 14, 2008 12:07 AM, Cassie <
> > > > > > doll@google.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Just want to let you know that these
> > > > > > exceptions were
> > > > > > > > > > > > captured in
> > > > > > > > > > > > > > > this
> > > > > > > > > > > > > > > > > bug
> > > > > > > > > > > > > > > > > > here:
> > > > > > > > > > > > > > > > > >
> > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I am able to reproduce the bug as well.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > - Cassie
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo
> > > Anderson
> > > > > > <
> > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > // Own layout manager
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > gadgets.SortableLayoutManager =
> > > > > > > > > function(layoutRootId) {
> > > > > > > > > > > > > > > > > > >  gadgets.LayoutManager.call(this);
> > > > > > > > > > > > > > > > > > >  this.layoutRootId_ = (typeof
> > layoutRootId
> > > > > > ==
> > > > > > > > > "string")
> > > > > > > > > > ?
> > > > > > > > > > > > > > > > > > > _get(layoutRootId) : layoutRootId;
> > > > > > > > > > > > > > > > > > >  this.columns =
> > this.layoutRootId_.length;
> > > > > > > > > > > > > > > > > > > };
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > gadgets.SortableLayoutManager.inherits(
> > > > > > > > > > > > gadgets.LayoutManager);
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome=
> > > > > > > > > > > > > > > > > > function(gadget)
> > > > > > > > > > > > > > > > > > > {
> > > > > > > > > > > > > > > > > > >    minHeight = this.layoutRootId_[
> > > > > > this.columns-1
> > > > > > > > > > > > > ].offsetHeight;
> > > > > > > > > > > > > > > > > > >    index = 0;
> > > > > > > > > > > > > > > > > > >    for(i=this.columns-1; i>=0; i--){
> > > > > > > > > > > > > > > > > > >        if(this.layoutRootId
> > > _[i].offsetHeight
> > > > > > <=
> > > > > > > > > > > > minHeight){
> > > > > > > > > > > > > > > > > > >            minHeight = this.layoutRootId
> > > > > > > > > > _[i].offsetHeight;
> > > > > > > > > > > > > > > > > > >            index = i;
> > > > > > > > > > > > > > > > > > >        }
> > > > > > > > > > > > > > > > > > >    }
> > > > > > > > > > > > > > > > > > >    return this.layoutRootId_[index];
> > > > > > > > > > > > > > > > > > > };
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > ********************************* Code
> > > ends
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > _get returns elements by class
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Here I'm sending an array of three div
> > > > > > elements,
> > > > > > > > > > > > > gadgetChromeId
> > > > > > > > > > > > > > > will
> > > > > > > > > > > > > > > > > be
> > > > > > > > > > > > > > > > > > > set
> > > > > > > > > > > > > > > > > > > to the column whose
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <
> > > > > > > > > etnu@google.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Without seeing your code, I really
> > have
> > > no
> > > > > > idea.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson
> > <
> > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > I have created my own Layout
> > Manager.
> > > If
> > > > > > I use
> > > > > > > > > > > > > > > > > > FloatLeftLayoutManager,
> > > > > > > > > > > > > > > > > > > > > then
> > > > > > > > > > > > > > > > > > > > > it is working fine even in the page
> > > that
> > > > > > I
> > > > > > > > > tested
> > > > > > > > > > > > > > previously.
> > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > > > > > > the window.setTimeout error. But why
> > > I'm
> > > > > > > getting
> > > > > > > > > > this
> > > > > > > > > > > > > error
> > > > > > > > > > > > > > > when
> > > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > use
> > > > > > > > > > > > > > > > > > > > my
> > > > > > > > > > > > > > > > > > > > > own layout manager?
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:29 PM, Neo
> > Anderson
> > > <
> > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Container page? I'm not using any
> > > > > > container
> > > > > > > .
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin
> > Brown
> > > <
> > > > > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > I see the error in IE, but this
> > > > > > looks like
> > > > > > > > > an
> > > > > > > > > > > > error
> > > > > > > > > > > > > > that's
> > > > > > > > > > > > > > > > > > popping
> > > > > > > > > > > > > > > > > > > > up
> > > > > > > > > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > > > > > > > > gadget renders (I don't have an
> > IE
> > > > > > > debugger
> > > > > > > > > > > > available
> > > > > > > > > > > > > > > right
> > > > > > > > > > > > > > > > > now
> > > > > > > > > > > > > > > > > > so
> > > > > > > > > > > > > > > > > > > > > I'll
> > > > > > > > > > > > > > > > > > > > > > > investigate tomorrow when I do).
> > I
> > > > > > can't
> > > > > > > > > find
> > > > > > > > > > > > anything
> > > > > > > > > > > > > > > > > > triggering
> > > > > > > > > > > > > > > > > > > > this
> > > > > > > > > > > > > > > > > > > > > > > window.setTimeout issue, though.
> > > Is
> > > > > > this
> > > > > > > > > > happening
> > > > > > > > > > > > on
> > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > container
> > > > > > > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > > > > > > you wrote yourself?
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo
> > > > > > Anderson <
> > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > If I run the same example in
> > IE,
> > > > > > then it
> > > > > > > > > is
> > > > > > > > > > not
> > > > > > > > > > > > > > working.
> > > > > > > > > > > > > > > > It
> > > > > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > > > > > > displaying
> > > > > > > > > > > > > > > > > > > > > > > > JavaScript error "gadgets" is
> > > not
> > > > > > > defined.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo
> > > > > > Anderson <
> > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > No, I'm not getting any
> > errors
> > > > > > even I
> > > > > > > > > add
> > > > > > > > > > some
> > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > gadgets
> > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > > > single
> > > > > > > > > > > > > > > > > > > > > > > > > column. Any it is working
> > > fine.
> > > > > > What
> > > > > > > > > might
> > > > > > > > > > br
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > problem?
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:11 PM,
> > Kevin
> > > > > > Brown <
> > > > > > > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > Do you get the error when
> > > > > > hitting
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > > > > > > > > > > > > > > > clicking
> > > > > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:35 AM,
> > > Neo
> > > > > > > Anderson
> > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > Yes, I'm using latest
> > > > > > snapshot.
> > > > > > > I'm
> > > > > > > > > > using
> > > > > > > > > > > > FF
> > > > > > > > > > > > > > > 2.0.12
> > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM,
> > > > > > Kevin
> > > > > > > Brown
> > > > > > > > > <
> > > > > > > > > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > What browser are you
> > > > > > seeing this
> > > > > > > > > in?
> > > > > > > > > > Are
> > > > > > > > > > > > you
> > > > > > > > > > > > > > > using
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > latest
> > > > > > > > > > > > > > > > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:03
> > > AM,
> > > > > > Arun
> > > > > > > > > Kumar <
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > I also got the same
> > > > > > problem...
> > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15
> > > PM,
> > > > > > Neo
> > > > > > > > > > Anderson
> > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm getting
> > > *uncaught
> > > > > > > > > exception:
> > > > > > > > > > > > > > Permission
> > > > > > > > > > > > > > > > > denied
> > > > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > > call
> > > > > > > > > > > > > > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > Window.setTimeout*exception
> > > > > > > > > when
> > > > > > > > > > I
> > > > > > > > > > > > try
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > use
> > > > > > > > > > > > > > > > > > > Dynamic
> > > > > > > > > > > > > > > > > > > > > > > Height
> > > > > > > > > > > > > > > > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > dynamic height is
> > > > > > working.
> > > > > > > I'm
> > > > > > > > > > > > adding
> > > > > > > > > > > > > > > gadgets
> > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > my
> > > > > > > > > > > > > > > > > > > > web
> > > > > > > > > > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm able to add a
> > > > > > gadget
> > > > > > > upon
> > > > > > > > > > > > clicking
> > > > > > > > > > > > > on
> > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > button.
> > > > > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > > > > > when I
> > > > > > > > > > > > > > > > > > > > > > > > > > place
> > > > > > > > > > > > > > > > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > gadgets in a
> > column,
> > > > > > then if
> > > > > > > > > the
> > > > > > > > > > > > gadget
> > > > > > > > > > > > > on
> > > > > > > > > > > > > > > top
> > > > > > > > > > > > > > > > > > needs
> > > > > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > > > > adjust
> > > > > > > > > > > > > > > > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > then the gadget
> > > height
> > > > > > > height
> > > > > > > > > is
> > > > > > > > > > > > > adjusted
> > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > height
> > > > > > > > > > > > > > > > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > getting displayed
> > > and
> > > > > > in
> > > > > > > this
> > > > > > > > > > case,
> > > > > > > > > > > > I'm
> > > > > > > > > > > > > > > > getting
> > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > above
> > > > > > > > > > > > > > > > > > > > > > > said
> > > > > > > > > > > > > > > > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > If you received this
> > > email
> > > > > > by
> > > > > > > > > mistake,
> > > > > > > > > > > > > please
> > > > > > > > > > > > > > > > delete
> > > > > > > > > > > > > > > > > > it,
> > > > > > > > > > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > > > > > > > > account, destroy your
> > > hard
> > > > > > > drive,
> > > > > > > > > > > > silence
> > > > > > > > > > > > > any
> > > > > > > > > > > > > > > > > > witnesses,
> > > > > > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > > > > > > building that you're
> > in.
> > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > If you received this email
> > > by
> > > > > > > mistake,
> > > > > > > > > > > > please
> > > > > > > > > > > > > > delete
> > > > > > > > > > > > > > > > it,
> > > > > > > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > > > > > > account, destroy your hard
> > > > > > drive,
> > > > > > > > > silence
> > > > > > > > > > > > any
> > > > > > > > > > > > > > > > witnesses,
> > > > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > If you received this email by
> > > > > > mistake,
> > > > > > > > > please
> > > > > > > > > > > > delete
> > > > > > > > > > > > > it,
> > > > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > > > account, destroy your hard
> > drive,
> > > > > > silence
> > > > > > > > > any
> > > > > > > > > > > > > witnesses,
> > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > If you received this email by mistake,
> > > > > > please
> > > > > > > > > delete
> > > > > > > > > > it,
> > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > account, destroy your hard drive,
> > > silence
> > > > > > any
> > > > > > > > > > witnesses,
> > > > > > > > > > > > and
> > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If you received this email by mistake, please
> > > > > > delete it,
> > > > > > > > > > cancel
> > > > > > > > > > > > your
> > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > > > > witnesses,
> > > > > > > > > and
> > > > > > > > > > > > burn
> > > > > > > > > > > > > down
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > If you received this email by mistake, please
> > delete
> > > > > > it,
> > > > > > > > > cancel
> > > > > > > > > > your
> > > > > > > > > > > > > mail
> > > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > > > > witnesses, and
> > > > > > > > > burn
> > > > > > > > > > > > down
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > If you received this email by mistake, please delete
> > it,
> > > > > > cancel
> > > > > > > > > your
> > > > > > > > > > > > mail
> > > > > > > > > > > > account, destroy your hard drive, silence any
> > witnesses,
> > > > > > and
> > > > > > > burn
> > > > > > > > > down
> > > > > > > > > > > > the
> > > > > > > > > > > > building that you're in.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > If you received this email by mistake, please delete it,
> > > cancel
> > > > > > your
> > > > > > > > > mail
> > > > > > > > > account, destroy your hard drive, silence any witnesses, and
> > > > > > burn down
> > > > > > > > > the
> > > > > > > > > building that you're in.
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > If you received this email by mistake, please delete it, cancel
> > your
> > > > > > mail
> > > > > > account, destroy your hard drive, silence any witnesses, and burn
> > > down
> > > > > > the
> > > > > > building that you're in.
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> 
> 
> 

-- 
Paul Lindner
hi5 Architect
plindner@hi5.com

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Kevin Brown <et...@google.com>.
I asked Zhen to look into it since I've been bogged down with too much work
as is -- as Cassie mentioned, his rpc commit should fix other issues.

On Fri, Feb 15, 2008 at 10:40 AM, Cassie <do...@google.com> wrote:

> Hopefully with Zhen's new rpc code we can get this error to go away. I
> believe he is going to switch over the samples to use gadgets.rpc soon and
> look into the error at the same time.
>
> - Cassie
>
>
> On Fri, Feb 15, 2008 at 4:41 AM, Neo Anderson <
> neoanderson123@googlemail.com>
> wrote:
>
> > Kevin, did you identified the problem?
> >
> > On Fri, Feb 15, 2008 at 2:58 PM, Neo Anderson <
> > neoanderson123@googlemail.com>
> > wrote:
> >
> > > Any update regarding this problem?
> > >
> > >
> > > On Thu, Feb 14, 2008 at 5:32 PM, Neo Anderson <
> > > neoanderson123@googlemail.com> wrote:
> > >
> > > > k. What abt the question related to UserPrefs?
> > > >
> > > >
> > > >
> > > > On Thu, Feb 14, 2008 at 5:29 PM, Kevin Brown <et...@google.com>
> wrote:
> > > >
> > > > > Sorry, I haven't had a chance to look into it yet. I'll try to see
> > > > > what I
> > > > > can find tomorrow.
> > > > >
> > > > > On Thu, Feb 14, 2008 at 3:56 AM, Neo Anderson <
> > > > > neoanderson123@googlemail.com>
> > > > > wrote:
> > > > >
> > > > > > @Kevin, did you identified the problem?,
> > > > > >
> > > > > > How to use UserPref with <Content type="url" href="xxxx.jsp" />?
> > > > > >
> > > > > > If I modify and click on save, to which URL these modified
> values
> > > > > will be
> > > > > > posted to?
> > > > > >
> > > > > > On Thu, Feb 14, 2008 at 2:57 PM, Neo Anderson <
> > > > > > neoanderson123@googlemail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > Did you got my code?
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Feb 14, 2008 at 2:21 PM, Kevin Brown <et...@google.com>
> > > > > wrote:
> > > > > > >
> > > > > > > > Go ahead and send your code that's causing problems and I'll
> > see
> > > > > if I
> > > > > > > > can
> > > > > > > > take a look.
> > > > > > > >
> > > > > > > > The IE7 issue is known and being investigated (not your
> > problem
> > > > > > > > specifically).
> > > > > > > >
> > > > > > > > On Thu, Feb 14, 2008 at 12:33 AM, Neo Anderson <
> > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > >
> > > > > > > > > It is working in FF with errors as said above. But in IE(
> > v7.0),
> > > > > I
> > > > > > got
> > > > > > > > the
> > > > > > > > > error *Error: "gadgets" is undefined.* If the problem is
> > with
> > > > > my
> > > > > > > > script,
> > > > > > > > > then it must not work in FF. :-(
> > > > > > > > >
> > > > > > > > > On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson <
> > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > I replaced GADGET_IFRAME_PREFIX_ with default one. i.e.,
> > > > > > > > > "remote_iframe_"
> > > > > > > > > >
> > > > > > > > > > Do I need to use arbitrary moduleId's or can I make them
> > > > > user
> > > > > > > > specific?
> > > > > > > > > >
> > > > > > > > > > Even now, after restoring the value of
> > > > > "GADGET_IFRAME_PREFIX_",
> > > > > >  it
> > > > > > > > is
> > > > > > > > > > working fine with sample6.html (I placed 6 gadgets and
> got
> > > > > them in
> > > > > > > > two
> > > > > > > > > > rows.) And in this example, the gadget on top is able to
> > > > > adjust
> > > > > > it's
> > > > > > > > > height.
> > > > > > > > > > But when I'm using my own Layout Manager, then The
> gadget
> > on
> > > > > top
> > > > > > is
> > > > > > > > not
> > > > > > > > > > adjusting it's height and after adjusting it's height
> the
> > > > > adjusted
> > > > > > > > part
> > > > > > > > > is
> > > > > > > > > > not visible.
> > > > > > > > > >
> > > > > > > > > > When ever I use my own layout manager(Code is posted in
> > one
> > > > > of the
> > > > > > > > > > previous mesages), I'm getting *uncaught exception:
> > > > > Permission
> > > > > > > > denied to
> > > > > > > > > > call method Window.setTimeout* error.
> > > > > > > > > >
> > > > > > > > > > Can I send my gadgets.js file and the html page that I
> am
> > > > > using?
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown <
> > > > > etnu@google.com>
> > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Not with the current code -- it assumes that your
> > iframe's
> > > > > id /
> > > > > > > > name
> > > > > > > > > is
> > > > > > > > > > > remote_iframe_<module id>. (see:
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > > >
> >
> http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> > > > > > > > > > > )
> > > > > > > > > > >
> > > > > > > > > > > When the changes described in SHINDIG-22 and
> SHINDIG-44
> > > > > are
> > > > > > > > > implemented
> > > > > > > > > > > you
> > > > > > > > > > > should be able to use whatever you want, but for now
> you
> > > > > have to
> > > > > > > > > follow
> > > > > > > > > > > this
> > > > > > > > > > > naming convention for the shindig ifpc-dependent
> > features
> > > > > to
> > > > > > work.
> > > > > > > > > > >
> > > > > > > > > > > On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson <
> > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Can't I use my own gadget id?
> > > > > > > > > > > >
> > > > > > > > > > > > I won't change that GADGET_IFRAME_PREFIX_. Even now,
> > do
> > > > > I need
> > > > > > > > to
> > > > > > > > > use
> > > > > > > > > > > > arbitrary iframe id's?
> > > > > > > > > > > >
> > > > > > > > > > > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <
> > > > > etnu@google.com>
> > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Right now some things are hard coded to use the
> > fixed
> > > > > iframe
> > > > > > > > name
> > > > > > > > > > > > > assumptions (ported from igoogle). Work that I'm
> > doing
> > > > > to
> > > > > > deal
> > > > > > > > > with
> > > > > > > > > > > a
> > > > > > > > > > > > > unified configuration model (see SHINDIG-22 and
> > > > > SHINDIG-44
> > > > > > for
> > > > > > > > > > > details)
> > > > > > > > > > > > > should allow arbitrary iframe ids.
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
> > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Currently I'm using latest SVN snapshot.
> Actually,
> > I
> > > > > > update
> > > > > > > > my
> > > > > > > > > > > code
> > > > > > > > > > > > > daily.
> > > > > > > > > > > > > > So, problem is not with my code. What if anybody
> > > > > wants to
> > > > > > > > use a
> > > > > > > > > > > > > different
> > > > > > > > > > > > > > GADGET_IFRAME_PREFIX_? What happens if somebody
> > > > > sends id
> > > > > > as
> > > > > > > > a
> > > > > > > > > > > > parameter
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > use it as gadget id?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Then iFrame id will be GADGET_IFRAME_PREFIX_ +
> id
> > > > > passed
> > > > > > as
> > > > > > > > > > > parameter.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Will this cause any problems?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <
> > > > > > > > etnu@google.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > It looks like a problem with ifpc, but I can't
> > > > > figure
> > > > > > out
> > > > > > > > what
> > > > > > > > > > > > exactly
> > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > causing it. From the looks of things it might
> be
> > > > > related
> > > > > > > > to
> > > > > > > > > > > > something
> > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > Zhen recently fixed, which is that we weren't
> > > > > using
> > > > > > > > consistent
> > > > > > > > > > > > > > assumptions
> > > > > > > > > > > > > > > for the id / name of the iframe elements on
> the
> > > > > > containing
> > > > > > > > > page.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Could you try it again using what's in the
> > latest
> > > > > SVN
> > > > > > > > > snapshot?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson
> <
> > > > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Did I got this this problem due to my coding
> > or
> > > > > it is
> > > > > > > > > Shindig
> > > > > > > > > > > > > problem?
> > > > > > > > > > > > > > >  If
> > > > > > > > > > > > > > > > it is shindig problem,are they identified it
> > and
> > > > > > solving
> > > > > > > > it?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Feb 14, 2008 12:07 AM, Cassie <
> > > > > doll@google.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Just want to let you know that these
> > > > > exceptions were
> > > > > > > > > > > captured in
> > > > > > > > > > > > > > this
> > > > > > > > > > > > > > > > bug
> > > > > > > > > > > > > > > > > here:
> > > > > > > > > > > > > > > > >
> > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I am able to reproduce the bug as well.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > - Cassie
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo
> > Anderson
> > > > > <
> > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > // Own layout manager
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > gadgets.SortableLayoutManager =
> > > > > > > > function(layoutRootId) {
> > > > > > > > > > > > > > > > > >  gadgets.LayoutManager.call(this);
> > > > > > > > > > > > > > > > > >  this.layoutRootId_ = (typeof
> layoutRootId
> > > > > ==
> > > > > > > > "string")
> > > > > > > > > ?
> > > > > > > > > > > > > > > > > > _get(layoutRootId) : layoutRootId;
> > > > > > > > > > > > > > > > > >  this.columns =
> this.layoutRootId_.length;
> > > > > > > > > > > > > > > > > > };
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > gadgets.SortableLayoutManager.inherits(
> > > > > > > > > > > gadgets.LayoutManager);
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome=
> > > > > > > > > > > > > > > > > function(gadget)
> > > > > > > > > > > > > > > > > > {
> > > > > > > > > > > > > > > > > >    minHeight = this.layoutRootId_[
> > > > > this.columns-1
> > > > > > > > > > > > ].offsetHeight;
> > > > > > > > > > > > > > > > > >    index = 0;
> > > > > > > > > > > > > > > > > >    for(i=this.columns-1; i>=0; i--){
> > > > > > > > > > > > > > > > > >        if(this.layoutRootId
> > _[i].offsetHeight
> > > > > <=
> > > > > > > > > > > minHeight){
> > > > > > > > > > > > > > > > > >            minHeight = this.layoutRootId
> > > > > > > > > _[i].offsetHeight;
> > > > > > > > > > > > > > > > > >            index = i;
> > > > > > > > > > > > > > > > > >        }
> > > > > > > > > > > > > > > > > >    }
> > > > > > > > > > > > > > > > > >    return this.layoutRootId_[index];
> > > > > > > > > > > > > > > > > > };
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > ********************************* Code
> > ends
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > _get returns elements by class
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Here I'm sending an array of three div
> > > > > elements,
> > > > > > > > > > > > gadgetChromeId
> > > > > > > > > > > > > > will
> > > > > > > > > > > > > > > > be
> > > > > > > > > > > > > > > > > > set
> > > > > > > > > > > > > > > > > > to the column whose
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <
> > > > > > > > etnu@google.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Without seeing your code, I really
> have
> > no
> > > > > idea.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson
> <
> > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I have created my own Layout
> Manager.
> > If
> > > > > I use
> > > > > > > > > > > > > > > > > FloatLeftLayoutManager,
> > > > > > > > > > > > > > > > > > > > then
> > > > > > > > > > > > > > > > > > > > it is working fine even in the page
> > that
> > > > > I
> > > > > > > > tested
> > > > > > > > > > > > > previously.
> > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > > > > > the window.setTimeout error. But why
> > I'm
> > > > > > getting
> > > > > > > > > this
> > > > > > > > > > > > error
> > > > > > > > > > > > > > when
> > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > use
> > > > > > > > > > > > > > > > > > > my
> > > > > > > > > > > > > > > > > > > > own layout manager?
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:29 PM, Neo
> Anderson
> > <
> > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Container page? I'm not using any
> > > > > container
> > > > > > .
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin
> Brown
> > <
> > > > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > I see the error in IE, but this
> > > > > looks like
> > > > > > > > an
> > > > > > > > > > > error
> > > > > > > > > > > > > that's
> > > > > > > > > > > > > > > > > popping
> > > > > > > > > > > > > > > > > > > up
> > > > > > > > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > > > > > > > gadget renders (I don't have an
> IE
> > > > > > debugger
> > > > > > > > > > > available
> > > > > > > > > > > > > > right
> > > > > > > > > > > > > > > > now
> > > > > > > > > > > > > > > > > so
> > > > > > > > > > > > > > > > > > > > I'll
> > > > > > > > > > > > > > > > > > > > > > investigate tomorrow when I do).
> I
> > > > > can't
> > > > > > > > find
> > > > > > > > > > > anything
> > > > > > > > > > > > > > > > > triggering
> > > > > > > > > > > > > > > > > > > this
> > > > > > > > > > > > > > > > > > > > > > window.setTimeout issue, though.
> > Is
> > > > > this
> > > > > > > > > happening
> > > > > > > > > > > on
> > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > container
> > > > > > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > > > > > you wrote yourself?
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo
> > > > > Anderson <
> > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > If I run the same example in
> IE,
> > > > > then it
> > > > > > > > is
> > > > > > > > > not
> > > > > > > > > > > > > working.
> > > > > > > > > > > > > > > It
> > > > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > > > > > displaying
> > > > > > > > > > > > > > > > > > > > > > > JavaScript error "gadgets" is
> > not
> > > > > > defined.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo
> > > > > Anderson <
> > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > No, I'm not getting any
> errors
> > > > > even I
> > > > > > > > add
> > > > > > > > > some
> > > > > > > > > > > > more
> > > > > > > > > > > > > > > > gadgets
> > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > > single
> > > > > > > > > > > > > > > > > > > > > > > > column. Any it is working
> > fine.
> > > > > What
> > > > > > > > might
> > > > > > > > > br
> > > > > > > > > > > the
> > > > > > > > > > > > > > > problem?
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:11 PM,
> Kevin
> > > > > Brown <
> > > > > > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > Do you get the error when
> > > > > hitting
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > > > > > > > > > > > > > > clicking
> > > > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:35 AM,
> > Neo
> > > > > > Anderson
> > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > Yes, I'm using latest
> > > > > snapshot.
> > > > > > I'm
> > > > > > > > > using
> > > > > > > > > > > FF
> > > > > > > > > > > > > > 2.0.12
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM,
> > > > > Kevin
> > > > > > Brown
> > > > > > > > <
> > > > > > > > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > What browser are you
> > > > > seeing this
> > > > > > > > in?
> > > > > > > > > Are
> > > > > > > > > > > you
> > > > > > > > > > > > > > using
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > latest
> > > > > > > > > > > > > > > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:03
> > AM,
> > > > > Arun
> > > > > > > > Kumar <
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > I also got the same
> > > > > problem...
> > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15
> > PM,
> > > > > Neo
> > > > > > > > > Anderson
> > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > > >
> > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm getting
> > *uncaught
> > > > > > > > exception:
> > > > > > > > > > > > > Permission
> > > > > > > > > > > > > > > > denied
> > > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > call
> > > > > > > > > > > > > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > Window.setTimeout*exception
> > > > > > > > when
> > > > > > > > > I
> > > > > > > > > > > try
> > > > > > > > > > > > to
> > > > > > > > > > > > > > use
> > > > > > > > > > > > > > > > > > Dynamic
> > > > > > > > > > > > > > > > > > > > > > Height
> > > > > > > > > > > > > > > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > dynamic height is
> > > > > working.
> > > > > > I'm
> > > > > > > > > > > adding
> > > > > > > > > > > > > > gadgets
> > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > my
> > > > > > > > > > > > > > > > > > > web
> > > > > > > > > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm able to add a
> > > > > gadget
> > > > > > upon
> > > > > > > > > > > clicking
> > > > > > > > > > > > on
> > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > button.
> > > > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > > > > when I
> > > > > > > > > > > > > > > > > > > > > > > > > place
> > > > > > > > > > > > > > > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > gadgets in a
> column,
> > > > > then if
> > > > > > > > the
> > > > > > > > > > > gadget
> > > > > > > > > > > > on
> > > > > > > > > > > > > > top
> > > > > > > > > > > > > > > > > needs
> > > > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > > > adjust
> > > > > > > > > > > > > > > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > then the gadget
> > height
> > > > > > height
> > > > > > > > is
> > > > > > > > > > > > adjusted
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > height
> > > > > > > > > > > > > > > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > getting displayed
> > and
> > > > > in
> > > > > > this
> > > > > > > > > case,
> > > > > > > > > > > I'm
> > > > > > > > > > > > > > > getting
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > above
> > > > > > > > > > > > > > > > > > > > > > said
> > > > > > > > > > > > > > > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > If you received this
> > email
> > > > > by
> > > > > > > > mistake,
> > > > > > > > > > > > please
> > > > > > > > > > > > > > > delete
> > > > > > > > > > > > > > > > > it,
> > > > > > > > > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > > > > > > > account, destroy your
> > hard
> > > > > > drive,
> > > > > > > > > > > silence
> > > > > > > > > > > > any
> > > > > > > > > > > > > > > > > witnesses,
> > > > > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > > > > > building that you're
> in.
> > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > If you received this email
> > by
> > > > > > mistake,
> > > > > > > > > > > please
> > > > > > > > > > > > > delete
> > > > > > > > > > > > > > > it,
> > > > > > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > > > > > account, destroy your hard
> > > > > drive,
> > > > > > > > silence
> > > > > > > > > > > any
> > > > > > > > > > > > > > > witnesses,
> > > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > If you received this email by
> > > > > mistake,
> > > > > > > > please
> > > > > > > > > > > delete
> > > > > > > > > > > > it,
> > > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > > account, destroy your hard
> drive,
> > > > > silence
> > > > > > > > any
> > > > > > > > > > > > witnesses,
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > If you received this email by mistake,
> > > > > please
> > > > > > > > delete
> > > > > > > > > it,
> > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > account, destroy your hard drive,
> > silence
> > > > > any
> > > > > > > > > witnesses,
> > > > > > > > > > > and
> > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > If you received this email by mistake, please
> > > > > delete it,
> > > > > > > > > cancel
> > > > > > > > > > > your
> > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > > > witnesses,
> > > > > > > > and
> > > > > > > > > > > burn
> > > > > > > > > > > > down
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > >
> > > > > > > > > > > > > If you received this email by mistake, please
> delete
> > > > > it,
> > > > > > > > cancel
> > > > > > > > > your
> > > > > > > > > > > > mail
> > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > > > witnesses, and
> > > > > > > > burn
> > > > > > > > > > > down
> > > > > > > > > > > > the
> > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > ~Kevin
> > > > > > > > > > >
> > > > > > > > > > > If you received this email by mistake, please delete
> it,
> > > > > cancel
> > > > > > > > your
> > > > > > > > > > > mail
> > > > > > > > > > > account, destroy your hard drive, silence any
> witnesses,
> > > > > and
> > > > > > burn
> > > > > > > > down
> > > > > > > > > > > the
> > > > > > > > > > > building that you're in.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > ~Kevin
> > > > > > > >
> > > > > > > > If you received this email by mistake, please delete it,
> > cancel
> > > > > your
> > > > > > > > mail
> > > > > > > > account, destroy your hard drive, silence any witnesses, and
> > > > > burn down
> > > > > > > > the
> > > > > > > > building that you're in.
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > ~Kevin
> > > > >
> > > > > If you received this email by mistake, please delete it, cancel
> your
> > > > > mail
> > > > > account, destroy your hard drive, silence any witnesses, and burn
> > down
> > > > > the
> > > > > building that you're in.
> > > > >
> > > >
> > > >
> > >
> >
>



-- 
~Kevin

If you received this email by mistake, please delete it, cancel your mail
account, destroy your hard drive, silence any witnesses, and burn down the
building that you're in.

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Cassie <do...@google.com>.
Hopefully with Zhen's new rpc code we can get this error to go away. I
believe he is going to switch over the samples to use gadgets.rpc soon and
look into the error at the same time.

- Cassie


On Fri, Feb 15, 2008 at 4:41 AM, Neo Anderson <ne...@googlemail.com>
wrote:

> Kevin, did you identified the problem?
>
> On Fri, Feb 15, 2008 at 2:58 PM, Neo Anderson <
> neoanderson123@googlemail.com>
> wrote:
>
> > Any update regarding this problem?
> >
> >
> > On Thu, Feb 14, 2008 at 5:32 PM, Neo Anderson <
> > neoanderson123@googlemail.com> wrote:
> >
> > > k. What abt the question related to UserPrefs?
> > >
> > >
> > >
> > > On Thu, Feb 14, 2008 at 5:29 PM, Kevin Brown <et...@google.com> wrote:
> > >
> > > > Sorry, I haven't had a chance to look into it yet. I'll try to see
> > > > what I
> > > > can find tomorrow.
> > > >
> > > > On Thu, Feb 14, 2008 at 3:56 AM, Neo Anderson <
> > > > neoanderson123@googlemail.com>
> > > > wrote:
> > > >
> > > > > @Kevin, did you identified the problem?,
> > > > >
> > > > > How to use UserPref with <Content type="url" href="xxxx.jsp" />?
> > > > >
> > > > > If I modify and click on save, to which URL these modified values
> > > > will be
> > > > > posted to?
> > > > >
> > > > > On Thu, Feb 14, 2008 at 2:57 PM, Neo Anderson <
> > > > > neoanderson123@googlemail.com>
> > > > > wrote:
> > > > >
> > > > > > Did you got my code?
> > > > > >
> > > > > >
> > > > > > On Thu, Feb 14, 2008 at 2:21 PM, Kevin Brown <et...@google.com>
> > > > wrote:
> > > > > >
> > > > > > > Go ahead and send your code that's causing problems and I'll
> see
> > > > if I
> > > > > > > can
> > > > > > > take a look.
> > > > > > >
> > > > > > > The IE7 issue is known and being investigated (not your
> problem
> > > > > > > specifically).
> > > > > > >
> > > > > > > On Thu, Feb 14, 2008 at 12:33 AM, Neo Anderson <
> > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > >
> > > > > > > > It is working in FF with errors as said above. But in IE(
> v7.0),
> > > > I
> > > > > got
> > > > > > > the
> > > > > > > > error *Error: "gadgets" is undefined.* If the problem is
> with
> > > > my
> > > > > > > script,
> > > > > > > > then it must not work in FF. :-(
> > > > > > > >
> > > > > > > > On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson <
> > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > I replaced GADGET_IFRAME_PREFIX_ with default one. i.e.,
> > > > > > > > "remote_iframe_"
> > > > > > > > >
> > > > > > > > > Do I need to use arbitrary moduleId's or can I make them
> > > > user
> > > > > > > specific?
> > > > > > > > >
> > > > > > > > > Even now, after restoring the value of
> > > > "GADGET_IFRAME_PREFIX_",
> > > > >  it
> > > > > > > is
> > > > > > > > > working fine with sample6.html (I placed 6 gadgets and got
> > > > them in
> > > > > > > two
> > > > > > > > > rows.) And in this example, the gadget on top is able to
> > > > adjust
> > > > > it's
> > > > > > > > height.
> > > > > > > > > But when I'm using my own Layout Manager, then The gadget
> on
> > > > top
> > > > > is
> > > > > > > not
> > > > > > > > > adjusting it's height and after adjusting it's height the
> > > > adjusted
> > > > > > > part
> > > > > > > > is
> > > > > > > > > not visible.
> > > > > > > > >
> > > > > > > > > When ever I use my own layout manager(Code is posted in
> one
> > > > of the
> > > > > > > > > previous mesages), I'm getting *uncaught exception:
> > > > Permission
> > > > > > > denied to
> > > > > > > > > call method Window.setTimeout* error.
> > > > > > > > >
> > > > > > > > > Can I send my gadgets.js file and the html page that I am
> > > > using?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown <
> > > > etnu@google.com>
> > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Not with the current code -- it assumes that your
> iframe's
> > > > id /
> > > > > > > name
> > > > > > > > is
> > > > > > > > > > remote_iframe_<module id>. (see:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > > >
> http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> > > > > > > > > > )
> > > > > > > > > >
> > > > > > > > > > When the changes described in SHINDIG-22 and SHINDIG-44
> > > > are
> > > > > > > > implemented
> > > > > > > > > > you
> > > > > > > > > > should be able to use whatever you want, but for now you
> > > > have to
> > > > > > > > follow
> > > > > > > > > > this
> > > > > > > > > > naming convention for the shindig ifpc-dependent
> features
> > > > to
> > > > > work.
> > > > > > > > > >
> > > > > > > > > > On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson <
> > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > > >
> > > > > > > > > > > Can't I use my own gadget id?
> > > > > > > > > > >
> > > > > > > > > > > I won't change that GADGET_IFRAME_PREFIX_. Even now,
> do
> > > > I need
> > > > > > > to
> > > > > > > > use
> > > > > > > > > > > arbitrary iframe id's?
> > > > > > > > > > >
> > > > > > > > > > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <
> > > > etnu@google.com>
> > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Right now some things are hard coded to use the
> fixed
> > > > iframe
> > > > > > > name
> > > > > > > > > > > > assumptions (ported from igoogle). Work that I'm
> doing
> > > > to
> > > > > deal
> > > > > > > > with
> > > > > > > > > > a
> > > > > > > > > > > > unified configuration model (see SHINDIG-22 and
> > > > SHINDIG-44
> > > > > for
> > > > > > > > > > details)
> > > > > > > > > > > > should allow arbitrary iframe ids.
> > > > > > > > > > > >
> > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
> > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Currently I'm using latest SVN snapshot. Actually,
> I
> > > > > update
> > > > > > > my
> > > > > > > > > > code
> > > > > > > > > > > > daily.
> > > > > > > > > > > > > So, problem is not with my code. What if anybody
> > > > wants to
> > > > > > > use a
> > > > > > > > > > > > different
> > > > > > > > > > > > > GADGET_IFRAME_PREFIX_? What happens if somebody
> > > > sends id
> > > > > as
> > > > > > > a
> > > > > > > > > > > parameter
> > > > > > > > > > > > > and
> > > > > > > > > > > > > use it as gadget id?
> > > > > > > > > > > > >
> > > > > > > > > > > > > Then iFrame id will be GADGET_IFRAME_PREFIX_ + id
> > > > passed
> > > > > as
> > > > > > > > > > parameter.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Will this cause any problems?
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <
> > > > > > > etnu@google.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > It looks like a problem with ifpc, but I can't
> > > > figure
> > > > > out
> > > > > > > what
> > > > > > > > > > > exactly
> > > > > > > > > > > > > is
> > > > > > > > > > > > > > causing it. From the looks of things it might be
> > > > related
> > > > > > > to
> > > > > > > > > > > something
> > > > > > > > > > > > > that
> > > > > > > > > > > > > > Zhen recently fixed, which is that we weren't
> > > > using
> > > > > > > consistent
> > > > > > > > > > > > > assumptions
> > > > > > > > > > > > > > for the id / name of the iframe elements on the
> > > > > containing
> > > > > > > > page.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Could you try it again using what's in the
> latest
> > > > SVN
> > > > > > > > snapshot?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
> > > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Did I got this this problem due to my coding
> or
> > > > it is
> > > > > > > > Shindig
> > > > > > > > > > > > problem?
> > > > > > > > > > > > > >  If
> > > > > > > > > > > > > > > it is shindig problem,are they identified it
> and
> > > > > solving
> > > > > > > it?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Feb 14, 2008 12:07 AM, Cassie <
> > > > doll@google.com>
> > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Just want to let you know that these
> > > > exceptions were
> > > > > > > > > > captured in
> > > > > > > > > > > > > this
> > > > > > > > > > > > > > > bug
> > > > > > > > > > > > > > > > here:
> > > > > > > > > > > > > > > >
> > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I am able to reproduce the bug as well.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > - Cassie
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo
> Anderson
> > > > <
> > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > // Own layout manager
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > gadgets.SortableLayoutManager =
> > > > > > > function(layoutRootId) {
> > > > > > > > > > > > > > > > >  gadgets.LayoutManager.call(this);
> > > > > > > > > > > > > > > > >  this.layoutRootId_ = (typeof layoutRootId
> > > > ==
> > > > > > > "string")
> > > > > > > > ?
> > > > > > > > > > > > > > > > > _get(layoutRootId) : layoutRootId;
> > > > > > > > > > > > > > > > >  this.columns = this.layoutRootId_.length;
> > > > > > > > > > > > > > > > > };
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > gadgets.SortableLayoutManager.inherits(
> > > > > > > > > > gadgets.LayoutManager);
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome=
> > > > > > > > > > > > > > > > function(gadget)
> > > > > > > > > > > > > > > > > {
> > > > > > > > > > > > > > > > >    minHeight = this.layoutRootId_[
> > > > this.columns-1
> > > > > > > > > > > ].offsetHeight;
> > > > > > > > > > > > > > > > >    index = 0;
> > > > > > > > > > > > > > > > >    for(i=this.columns-1; i>=0; i--){
> > > > > > > > > > > > > > > > >        if(this.layoutRootId
> _[i].offsetHeight
> > > > <=
> > > > > > > > > > minHeight){
> > > > > > > > > > > > > > > > >            minHeight = this.layoutRootId
> > > > > > > > _[i].offsetHeight;
> > > > > > > > > > > > > > > > >            index = i;
> > > > > > > > > > > > > > > > >        }
> > > > > > > > > > > > > > > > >    }
> > > > > > > > > > > > > > > > >    return this.layoutRootId_[index];
> > > > > > > > > > > > > > > > > };
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > ********************************* Code
> ends
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > _get returns elements by class
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Here I'm sending an array of three div
> > > > elements,
> > > > > > > > > > > gadgetChromeId
> > > > > > > > > > > > > will
> > > > > > > > > > > > > > > be
> > > > > > > > > > > > > > > > > set
> > > > > > > > > > > > > > > > > to the column whose
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <
> > > > > > > etnu@google.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Without seeing your code, I really have
> no
> > > > idea.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <
> > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I have created my own Layout Manager.
> If
> > > > I use
> > > > > > > > > > > > > > > > FloatLeftLayoutManager,
> > > > > > > > > > > > > > > > > > > then
> > > > > > > > > > > > > > > > > > > it is working fine even in the page
> that
> > > > I
> > > > > > > tested
> > > > > > > > > > > > previously.
> > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > > > > the window.setTimeout error. But why
> I'm
> > > > > getting
> > > > > > > > this
> > > > > > > > > > > error
> > > > > > > > > > > > > when
> > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > use
> > > > > > > > > > > > > > > > > > my
> > > > > > > > > > > > > > > > > > > own layout manager?
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:29 PM, Neo Anderson
> <
> > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Container page? I'm not using any
> > > > container
> > > > > .
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown
> <
> > > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > I see the error in IE, but this
> > > > looks like
> > > > > > > an
> > > > > > > > > > error
> > > > > > > > > > > > that's
> > > > > > > > > > > > > > > > popping
> > > > > > > > > > > > > > > > > > up
> > > > > > > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > > > > > > gadget renders (I don't have an IE
> > > > > debugger
> > > > > > > > > > available
> > > > > > > > > > > > > right
> > > > > > > > > > > > > > > now
> > > > > > > > > > > > > > > > so
> > > > > > > > > > > > > > > > > > > I'll
> > > > > > > > > > > > > > > > > > > > > investigate tomorrow when I do). I
> > > > can't
> > > > > > > find
> > > > > > > > > > anything
> > > > > > > > > > > > > > > > triggering
> > > > > > > > > > > > > > > > > > this
> > > > > > > > > > > > > > > > > > > > > window.setTimeout issue, though.
> Is
> > > > this
> > > > > > > > happening
> > > > > > > > > > on
> > > > > > > > > > > a
> > > > > > > > > > > > > > > > container
> > > > > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > > > > you wrote yourself?
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo
> > > > Anderson <
> > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > If I run the same example in IE,
> > > > then it
> > > > > > > is
> > > > > > > > not
> > > > > > > > > > > > working.
> > > > > > > > > > > > > > It
> > > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > > > > displaying
> > > > > > > > > > > > > > > > > > > > > > JavaScript error "gadgets" is
> not
> > > > > defined.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo
> > > > Anderson <
> > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > No, I'm not getting any errors
> > > > even I
> > > > > > > add
> > > > > > > > some
> > > > > > > > > > > more
> > > > > > > > > > > > > > > gadgets
> > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > single
> > > > > > > > > > > > > > > > > > > > > > > column. Any it is working
> fine.
> > > > What
> > > > > > > might
> > > > > > > > br
> > > > > > > > > > the
> > > > > > > > > > > > > > problem?
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin
> > > > Brown <
> > > > > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Do you get the error when
> > > > hitting
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > >
> > > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > > > > > > > > > > > > > clicking
> > > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:35 AM,
> Neo
> > > > > Anderson
> > > > > > > <
> > > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > Yes, I'm using latest
> > > > snapshot.
> > > > > I'm
> > > > > > > > using
> > > > > > > > > > FF
> > > > > > > > > > > > > 2.0.12
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM,
> > > > Kevin
> > > > > Brown
> > > > > > > <
> > > > > > > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > What browser are you
> > > > seeing this
> > > > > > > in?
> > > > > > > > Are
> > > > > > > > > > you
> > > > > > > > > > > > > using
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > latest
> > > > > > > > > > > > > > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:03
> AM,
> > > > Arun
> > > > > > > Kumar <
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > I also got the same
> > > > problem...
> > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15
> PM,
> > > > Neo
> > > > > > > > Anderson
> > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > >
> neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm getting
> *uncaught
> > > > > > > exception:
> > > > > > > > > > > > Permission
> > > > > > > > > > > > > > > denied
> > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > call
> > > > > > > > > > > > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > > > > > > > > > > > >
> Window.setTimeout*exception
> > > > > > > when
> > > > > > > > I
> > > > > > > > > > try
> > > > > > > > > > > to
> > > > > > > > > > > > > use
> > > > > > > > > > > > > > > > > Dynamic
> > > > > > > > > > > > > > > > > > > > > Height
> > > > > > > > > > > > > > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > > > > > > > > > > dynamic height is
> > > > working.
> > > > > I'm
> > > > > > > > > > adding
> > > > > > > > > > > > > gadgets
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > my
> > > > > > > > > > > > > > > > > > web
> > > > > > > > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm able to add a
> > > > gadget
> > > > > upon
> > > > > > > > > > clicking
> > > > > > > > > > > on
> > > > > > > > > > > > a
> > > > > > > > > > > > > > > > button.
> > > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > > > when I
> > > > > > > > > > > > > > > > > > > > > > > > place
> > > > > > > > > > > > > > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > > > > > > > > > > > > > gadgets in a column,
> > > > then if
> > > > > > > the
> > > > > > > > > > gadget
> > > > > > > > > > > on
> > > > > > > > > > > > > top
> > > > > > > > > > > > > > > > needs
> > > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > > adjust
> > > > > > > > > > > > > > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > > > > > > > > > > > > > then the gadget
> height
> > > > > height
> > > > > > > is
> > > > > > > > > > > adjusted
> > > > > > > > > > > > > and
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > height
> > > > > > > > > > > > > > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > > > > > > > > > getting displayed
> and
> > > > in
> > > > > this
> > > > > > > > case,
> > > > > > > > > > I'm
> > > > > > > > > > > > > > getting
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > above
> > > > > > > > > > > > > > > > > > > > > said
> > > > > > > > > > > > > > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > If you received this
> email
> > > > by
> > > > > > > mistake,
> > > > > > > > > > > please
> > > > > > > > > > > > > > delete
> > > > > > > > > > > > > > > > it,
> > > > > > > > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > > > > > > account, destroy your
> hard
> > > > > drive,
> > > > > > > > > > silence
> > > > > > > > > > > any
> > > > > > > > > > > > > > > > witnesses,
> > > > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > If you received this email
> by
> > > > > mistake,
> > > > > > > > > > please
> > > > > > > > > > > > delete
> > > > > > > > > > > > > > it,
> > > > > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > > > > account, destroy your hard
> > > > drive,
> > > > > > > silence
> > > > > > > > > > any
> > > > > > > > > > > > > > witnesses,
> > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > If you received this email by
> > > > mistake,
> > > > > > > please
> > > > > > > > > > delete
> > > > > > > > > > > it,
> > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > account, destroy your hard drive,
> > > > silence
> > > > > > > any
> > > > > > > > > > > witnesses,
> > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If you received this email by mistake,
> > > > please
> > > > > > > delete
> > > > > > > > it,
> > > > > > > > > > > > cancel
> > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > account, destroy your hard drive,
> silence
> > > > any
> > > > > > > > witnesses,
> > > > > > > > > > and
> > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > If you received this email by mistake, please
> > > > delete it,
> > > > > > > > cancel
> > > > > > > > > > your
> > > > > > > > > > > > > mail
> > > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > > witnesses,
> > > > > > > and
> > > > > > > > > > burn
> > > > > > > > > > > down
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > ~Kevin
> > > > > > > > > > > >
> > > > > > > > > > > > If you received this email by mistake, please delete
> > > > it,
> > > > > > > cancel
> > > > > > > > your
> > > > > > > > > > > mail
> > > > > > > > > > > > account, destroy your hard drive, silence any
> > > > witnesses, and
> > > > > > > burn
> > > > > > > > > > down
> > > > > > > > > > > the
> > > > > > > > > > > > building that you're in.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > ~Kevin
> > > > > > > > > >
> > > > > > > > > > If you received this email by mistake, please delete it,
> > > > cancel
> > > > > > > your
> > > > > > > > > > mail
> > > > > > > > > > account, destroy your hard drive, silence any witnesses,
> > > > and
> > > > > burn
> > > > > > > down
> > > > > > > > > > the
> > > > > > > > > > building that you're in.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > ~Kevin
> > > > > > >
> > > > > > > If you received this email by mistake, please delete it,
> cancel
> > > > your
> > > > > > > mail
> > > > > > > account, destroy your hard drive, silence any witnesses, and
> > > > burn down
> > > > > > > the
> > > > > > > building that you're in.
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > ~Kevin
> > > >
> > > > If you received this email by mistake, please delete it, cancel your
> > > > mail
> > > > account, destroy your hard drive, silence any witnesses, and burn
> down
> > > > the
> > > > building that you're in.
> > > >
> > >
> > >
> >
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

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

On Fri, Feb 15, 2008 at 2:58 PM, Neo Anderson <ne...@googlemail.com>
wrote:

> Any update regarding this problem?
>
>
> On Thu, Feb 14, 2008 at 5:32 PM, Neo Anderson <
> neoanderson123@googlemail.com> wrote:
>
> > k. What abt the question related to UserPrefs?
> >
> >
> >
> > On Thu, Feb 14, 2008 at 5:29 PM, Kevin Brown <et...@google.com> wrote:
> >
> > > Sorry, I haven't had a chance to look into it yet. I'll try to see
> > > what I
> > > can find tomorrow.
> > >
> > > On Thu, Feb 14, 2008 at 3:56 AM, Neo Anderson <
> > > neoanderson123@googlemail.com>
> > > wrote:
> > >
> > > > @Kevin, did you identified the problem?,
> > > >
> > > > How to use UserPref with <Content type="url" href="xxxx.jsp" />?
> > > >
> > > > If I modify and click on save, to which URL these modified values
> > > will be
> > > > posted to?
> > > >
> > > > On Thu, Feb 14, 2008 at 2:57 PM, Neo Anderson <
> > > > neoanderson123@googlemail.com>
> > > > wrote:
> > > >
> > > > > Did you got my code?
> > > > >
> > > > >
> > > > > On Thu, Feb 14, 2008 at 2:21 PM, Kevin Brown <et...@google.com>
> > > wrote:
> > > > >
> > > > > > Go ahead and send your code that's causing problems and I'll see
> > > if I
> > > > > > can
> > > > > > take a look.
> > > > > >
> > > > > > The IE7 issue is known and being investigated (not your problem
> > > > > > specifically).
> > > > > >
> > > > > > On Thu, Feb 14, 2008 at 12:33 AM, Neo Anderson <
> > > > > > neoanderson123@googlemail.com> wrote:
> > > > > >
> > > > > > > It is working in FF with errors as said above. But in IE(v7.0),
> > > I
> > > > got
> > > > > > the
> > > > > > > error *Error: "gadgets" is undefined.* If the problem is with
> > > my
> > > > > > script,
> > > > > > > then it must not work in FF. :-(
> > > > > > >
> > > > > > > On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson <
> > > > > > > neoanderson123@googlemail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > I replaced GADGET_IFRAME_PREFIX_ with default one. i.e.,
> > > > > > > "remote_iframe_"
> > > > > > > >
> > > > > > > > Do I need to use arbitrary moduleId's or can I make them
> > > user
> > > > > > specific?
> > > > > > > >
> > > > > > > > Even now, after restoring the value of
> > > "GADGET_IFRAME_PREFIX_",
> > > >  it
> > > > > > is
> > > > > > > > working fine with sample6.html (I placed 6 gadgets and got
> > > them in
> > > > > > two
> > > > > > > > rows.) And in this example, the gadget on top is able to
> > > adjust
> > > > it's
> > > > > > > height.
> > > > > > > > But when I'm using my own Layout Manager, then The gadget on
> > > top
> > > > is
> > > > > > not
> > > > > > > > adjusting it's height and after adjusting it's height the
> > > adjusted
> > > > > > part
> > > > > > > is
> > > > > > > > not visible.
> > > > > > > >
> > > > > > > > When ever I use my own layout manager(Code is posted in one
> > > of the
> > > > > > > > previous mesages), I'm getting *uncaught exception:
> > > Permission
> > > > > > denied to
> > > > > > > > call method Window.setTimeout* error.
> > > > > > > >
> > > > > > > > Can I send my gadgets.js file and the html page that I am
> > > using?
> > > > > > > >
> > > > > > > >
> > > > > > > > On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown <
> > > etnu@google.com>
> > > > > > wrote:
> > > > > > > >
> > > > > > > > > Not with the current code -- it assumes that your iframe's
> > > id /
> > > > > > name
> > > > > > > is
> > > > > > > > > remote_iframe_<module id>. (see:
> > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > > http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> > > > > > > > > )
> > > > > > > > >
> > > > > > > > > When the changes described in SHINDIG-22 and SHINDIG-44
> > > are
> > > > > > > implemented
> > > > > > > > > you
> > > > > > > > > should be able to use whatever you want, but for now you
> > > have to
> > > > > > > follow
> > > > > > > > > this
> > > > > > > > > naming convention for the shindig ifpc-dependent features
> > > to
> > > > work.
> > > > > > > > >
> > > > > > > > > On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson <
> > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > >
> > > > > > > > > > Can't I use my own gadget id?
> > > > > > > > > >
> > > > > > > > > > I won't change that GADGET_IFRAME_PREFIX_. Even now, do
> > > I need
> > > > > > to
> > > > > > > use
> > > > > > > > > > arbitrary iframe id's?
> > > > > > > > > >
> > > > > > > > > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <
> > > etnu@google.com>
> > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Right now some things are hard coded to use the fixed
> > > iframe
> > > > > > name
> > > > > > > > > > > assumptions (ported from igoogle). Work that I'm doing
> > > to
> > > > deal
> > > > > > > with
> > > > > > > > > a
> > > > > > > > > > > unified configuration model (see SHINDIG-22 and
> > > SHINDIG-44
> > > > for
> > > > > > > > > details)
> > > > > > > > > > > should allow arbitrary iframe ids.
> > > > > > > > > > >
> > > > > > > > > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
> > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Currently I'm using latest SVN snapshot. Actually, I
> > > > update
> > > > > > my
> > > > > > > > > code
> > > > > > > > > > > daily.
> > > > > > > > > > > > So, problem is not with my code. What if anybody
> > > wants to
> > > > > > use a
> > > > > > > > > > > different
> > > > > > > > > > > > GADGET_IFRAME_PREFIX_? What happens if somebody
> > > sends id
> > > > as
> > > > > > a
> > > > > > > > > > parameter
> > > > > > > > > > > > and
> > > > > > > > > > > > use it as gadget id?
> > > > > > > > > > > >
> > > > > > > > > > > > Then iFrame id will be GADGET_IFRAME_PREFIX_ + id
> > > passed
> > > > as
> > > > > > > > > parameter.
> > > > > > > > > > > >
> > > > > > > > > > > > Will this cause any problems?
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <
> > > > > > etnu@google.com>
> > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > It looks like a problem with ifpc, but I can't
> > > figure
> > > > out
> > > > > > what
> > > > > > > > > > exactly
> > > > > > > > > > > > is
> > > > > > > > > > > > > causing it. From the looks of things it might be
> > > related
> > > > > > to
> > > > > > > > > > something
> > > > > > > > > > > > that
> > > > > > > > > > > > > Zhen recently fixed, which is that we weren't
> > > using
> > > > > > consistent
> > > > > > > > > > > > assumptions
> > > > > > > > > > > > > for the id / name of the iframe elements on the
> > > > containing
> > > > > > > page.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Could you try it again using what's in the latest
> > > SVN
> > > > > > > snapshot?
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
> > > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Did I got this this problem due to my coding or
> > > it is
> > > > > > > Shindig
> > > > > > > > > > > problem?
> > > > > > > > > > > > >  If
> > > > > > > > > > > > > > it is shindig problem,are they identified it and
> > > > solving
> > > > > > it?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Feb 14, 2008 12:07 AM, Cassie <
> > > doll@google.com>
> > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Just want to let you know that these
> > > exceptions were
> > > > > > > > > captured in
> > > > > > > > > > > > this
> > > > > > > > > > > > > > bug
> > > > > > > > > > > > > > > here:
> > > > > > > > > > > > > > >
> > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I am able to reproduce the bug as well.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > - Cassie
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson
> > > <
> > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > // Own layout manager
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > gadgets.SortableLayoutManager =
> > > > > > function(layoutRootId) {
> > > > > > > > > > > > > > > >  gadgets.LayoutManager.call(this);
> > > > > > > > > > > > > > > >  this.layoutRootId_ = (typeof layoutRootId
> > > ==
> > > > > > "string")
> > > > > > > ?
> > > > > > > > > > > > > > > > _get(layoutRootId) : layoutRootId;
> > > > > > > > > > > > > > > >  this.columns = this.layoutRootId_.length;
> > > > > > > > > > > > > > > > };
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > gadgets.SortableLayoutManager.inherits(
> > > > > > > > > gadgets.LayoutManager);
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome=
> > > > > > > > > > > > > > > function(gadget)
> > > > > > > > > > > > > > > > {
> > > > > > > > > > > > > > > >    minHeight = this.layoutRootId_[
> > > this.columns-1
> > > > > > > > > > ].offsetHeight;
> > > > > > > > > > > > > > > >    index = 0;
> > > > > > > > > > > > > > > >    for(i=this.columns-1; i>=0; i--){
> > > > > > > > > > > > > > > >        if(this.layoutRootId_[i].offsetHeight
> > > <=
> > > > > > > > > minHeight){
> > > > > > > > > > > > > > > >            minHeight = this.layoutRootId
> > > > > > > _[i].offsetHeight;
> > > > > > > > > > > > > > > >            index = i;
> > > > > > > > > > > > > > > >        }
> > > > > > > > > > > > > > > >    }
> > > > > > > > > > > > > > > >    return this.layoutRootId_[index];
> > > > > > > > > > > > > > > > };
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > ********************************* Code ends
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > _get returns elements by class
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Here I'm sending an array of three div
> > > elements,
> > > > > > > > > > gadgetChromeId
> > > > > > > > > > > > will
> > > > > > > > > > > > > > be
> > > > > > > > > > > > > > > > set
> > > > > > > > > > > > > > > > to the column whose
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <
> > > > > > etnu@google.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Without seeing your code, I really have no
> > > idea.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <
> > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I have created my own Layout Manager. If
> > > I use
> > > > > > > > > > > > > > > FloatLeftLayoutManager,
> > > > > > > > > > > > > > > > > > then
> > > > > > > > > > > > > > > > > > it is working fine even in the page that
> > > I
> > > > > > tested
> > > > > > > > > > > previously.
> > > > > > > > > > > > I
> > > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > > > the window.setTimeout error. But why I'm
> > > > getting
> > > > > > > this
> > > > > > > > > > error
> > > > > > > > > > > > when
> > > > > > > > > > > > > I
> > > > > > > > > > > > > > > use
> > > > > > > > > > > > > > > > > my
> > > > > > > > > > > > > > > > > > own layout manager?
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:29 PM, Neo Anderson <
> > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Container page? I'm not using any
> > > container
> > > > .
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <
> > > > > > > > > etnu@google.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I see the error in IE, but this
> > > looks like
> > > > > > an
> > > > > > > > > error
> > > > > > > > > > > that's
> > > > > > > > > > > > > > > popping
> > > > > > > > > > > > > > > > > up
> > > > > > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > > > > > gadget renders (I don't have an IE
> > > > debugger
> > > > > > > > > available
> > > > > > > > > > > > right
> > > > > > > > > > > > > > now
> > > > > > > > > > > > > > > so
> > > > > > > > > > > > > > > > > > I'll
> > > > > > > > > > > > > > > > > > > > investigate tomorrow when I do). I
> > > can't
> > > > > > find
> > > > > > > > > anything
> > > > > > > > > > > > > > > triggering
> > > > > > > > > > > > > > > > > this
> > > > > > > > > > > > > > > > > > > > window.setTimeout issue, though. Is
> > > this
> > > > > > > happening
> > > > > > > > > on
> > > > > > > > > > a
> > > > > > > > > > > > > > > container
> > > > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > > > you wrote yourself?
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo
> > > Anderson <
> > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > If I run the same example in IE,
> > > then it
> > > > > > is
> > > > > > > not
> > > > > > > > > > > working.
> > > > > > > > > > > > > It
> > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > > > displaying
> > > > > > > > > > > > > > > > > > > > > JavaScript error "gadgets" is not
> > > > defined.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo
> > > Anderson <
> > > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > No, I'm not getting any errors
> > > even I
> > > > > > add
> > > > > > > some
> > > > > > > > > > more
> > > > > > > > > > > > > > gadgets
> > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > single
> > > > > > > > > > > > > > > > > > > > > > column. Any it is working fine.
> > > What
> > > > > > might
> > > > > > > br
> > > > > > > > > the
> > > > > > > > > > > > > problem?
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin
> > > Brown <
> > > > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Do you get the error when
> > > hitting
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > >
> > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > > > > > > > > > > > > clicking
> > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:35 AM, Neo
> > > > Anderson
> > > > > > <
> > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Yes, I'm using latest
> > > snapshot.
> > > > I'm
> > > > > > > using
> > > > > > > > > FF
> > > > > > > > > > > > 2.0.12
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM,
> > > Kevin
> > > > Brown
> > > > > > <
> > > > > > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > What browser are you
> > > seeing this
> > > > > > in?
> > > > > > > Are
> > > > > > > > > you
> > > > > > > > > > > > using
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > latest
> > > > > > > > > > > > > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:03 AM,
> > > Arun
> > > > > > Kumar <
> > > > > > > > > > > > > > > > > > > > > > >
> > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > I also got the same
> > > problem...
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15 PM,
> > > Neo
> > > > > > > Anderson
> > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > I'm getting *uncaught
> > > > > > exception:
> > > > > > > > > > > Permission
> > > > > > > > > > > > > > denied
> > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > call
> > > > > > > > > > > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > > > > > > > > > > > Window.setTimeout*exception
> > > > > > when
> > > > > > > I
> > > > > > > > > try
> > > > > > > > > > to
> > > > > > > > > > > > use
> > > > > > > > > > > > > > > > Dynamic
> > > > > > > > > > > > > > > > > > > > Height
> > > > > > > > > > > > > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > > > > > > > > > dynamic height is
> > > working.
> > > > I'm
> > > > > > > > > adding
> > > > > > > > > > > > gadgets
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > my
> > > > > > > > > > > > > > > > > web
> > > > > > > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > > > > > > > > > > > > I'm able to add a
> > > gadget
> > > > upon
> > > > > > > > > clicking
> > > > > > > > > > on
> > > > > > > > > > > a
> > > > > > > > > > > > > > > button.
> > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > > when I
> > > > > > > > > > > > > > > > > > > > > > > place
> > > > > > > > > > > > > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > > > > > > > > > > > > gadgets in a column,
> > > then if
> > > > > > the
> > > > > > > > > gadget
> > > > > > > > > > on
> > > > > > > > > > > > top
> > > > > > > > > > > > > > > needs
> > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > adjust
> > > > > > > > > > > > > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > > > > > > > > > > > > then the gadget height
> > > > height
> > > > > > is
> > > > > > > > > > adjusted
> > > > > > > > > > > > and
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > height
> > > > > > > > > > > > > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > > > > > > > > getting displayed and
> > > in
> > > > this
> > > > > > > case,
> > > > > > > > > I'm
> > > > > > > > > > > > > getting
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > above
> > > > > > > > > > > > > > > > > > > > said
> > > > > > > > > > > > > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > If you received this email
> > > by
> > > > > > mistake,
> > > > > > > > > > please
> > > > > > > > > > > > > delete
> > > > > > > > > > > > > > > it,
> > > > > > > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > > > > > account, destroy your hard
> > > > drive,
> > > > > > > > > silence
> > > > > > > > > > any
> > > > > > > > > > > > > > > witnesses,
> > > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > If you received this email by
> > > > mistake,
> > > > > > > > > please
> > > > > > > > > > > delete
> > > > > > > > > > > > > it,
> > > > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > > > account, destroy your hard
> > > drive,
> > > > > > silence
> > > > > > > > > any
> > > > > > > > > > > > > witnesses,
> > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > If you received this email by
> > > mistake,
> > > > > > please
> > > > > > > > > delete
> > > > > > > > > > it,
> > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > account, destroy your hard drive,
> > > silence
> > > > > > any
> > > > > > > > > > witnesses,
> > > > > > > > > > > > and
> > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If you received this email by mistake,
> > > please
> > > > > > delete
> > > > > > > it,
> > > > > > > > > > > cancel
> > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > account, destroy your hard drive, silence
> > > any
> > > > > > > witnesses,
> > > > > > > > > and
> > > > > > > > > > > > burn
> > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > >
> > > > > > > > > > > > > If you received this email by mistake, please
> > > delete it,
> > > > > > > cancel
> > > > > > > > > your
> > > > > > > > > > > > mail
> > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > witnesses,
> > > > > > and
> > > > > > > > > burn
> > > > > > > > > > down
> > > > > > > > > > > > the
> > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > ~Kevin
> > > > > > > > > > >
> > > > > > > > > > > If you received this email by mistake, please delete
> > > it,
> > > > > > cancel
> > > > > > > your
> > > > > > > > > > mail
> > > > > > > > > > > account, destroy your hard drive, silence any
> > > witnesses, and
> > > > > > burn
> > > > > > > > > down
> > > > > > > > > > the
> > > > > > > > > > > building that you're in.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > ~Kevin
> > > > > > > > >
> > > > > > > > > If you received this email by mistake, please delete it,
> > > cancel
> > > > > > your
> > > > > > > > > mail
> > > > > > > > > account, destroy your hard drive, silence any witnesses,
> > > and
> > > > burn
> > > > > > down
> > > > > > > > > the
> > > > > > > > > building that you're in.
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > ~Kevin
> > > > > >
> > > > > > If you received this email by mistake, please delete it, cancel
> > > your
> > > > > > mail
> > > > > > account, destroy your hard drive, silence any witnesses, and
> > > burn down
> > > > > > the
> > > > > > building that you're in.
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > ~Kevin
> > >
> > > If you received this email by mistake, please delete it, cancel your
> > > mail
> > > account, destroy your hard drive, silence any witnesses, and burn down
> > > the
> > > building that you're in.
> > >
> >
> >
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
Any update regarding this problem?

On Thu, Feb 14, 2008 at 5:32 PM, Neo Anderson <ne...@googlemail.com>
wrote:

> k. What abt the question related to UserPrefs?
>
>
>
> On Thu, Feb 14, 2008 at 5:29 PM, Kevin Brown <et...@google.com> wrote:
>
> > Sorry, I haven't had a chance to look into it yet. I'll try to see what
> > I
> > can find tomorrow.
> >
> > On Thu, Feb 14, 2008 at 3:56 AM, Neo Anderson <
> > neoanderson123@googlemail.com>
> > wrote:
> >
> > > @Kevin, did you identified the problem?,
> > >
> > > How to use UserPref with <Content type="url" href="xxxx.jsp" />?
> > >
> > > If I modify and click on save, to which URL these modified values will
> > be
> > > posted to?
> > >
> > > On Thu, Feb 14, 2008 at 2:57 PM, Neo Anderson <
> > > neoanderson123@googlemail.com>
> > > wrote:
> > >
> > > > Did you got my code?
> > > >
> > > >
> > > > On Thu, Feb 14, 2008 at 2:21 PM, Kevin Brown <et...@google.com>
> > wrote:
> > > >
> > > > > Go ahead and send your code that's causing problems and I'll see
> > if I
> > > > > can
> > > > > take a look.
> > > > >
> > > > > The IE7 issue is known and being investigated (not your problem
> > > > > specifically).
> > > > >
> > > > > On Thu, Feb 14, 2008 at 12:33 AM, Neo Anderson <
> > > > > neoanderson123@googlemail.com> wrote:
> > > > >
> > > > > > It is working in FF with errors as said above. But in IE(v7.0),
> > I
> > > got
> > > > > the
> > > > > > error *Error: "gadgets" is undefined.* If the problem is with my
> > > > > script,
> > > > > > then it must not work in FF. :-(
> > > > > >
> > > > > > On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson <
> > > > > > neoanderson123@googlemail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > I replaced GADGET_IFRAME_PREFIX_ with default one. i.e.,
> > > > > > "remote_iframe_"
> > > > > > >
> > > > > > > Do I need to use arbitrary moduleId's or can I make them user
> > > > > specific?
> > > > > > >
> > > > > > > Even now, after restoring the value of
> > "GADGET_IFRAME_PREFIX_",
> > >  it
> > > > > is
> > > > > > > working fine with sample6.html (I placed 6 gadgets and got
> > them in
> > > > > two
> > > > > > > rows.) And in this example, the gadget on top is able to
> > adjust
> > > it's
> > > > > > height.
> > > > > > > But when I'm using my own Layout Manager, then The gadget on
> > top
> > > is
> > > > > not
> > > > > > > adjusting it's height and after adjusting it's height the
> > adjusted
> > > > > part
> > > > > > is
> > > > > > > not visible.
> > > > > > >
> > > > > > > When ever I use my own layout manager(Code is posted in one of
> > the
> > > > > > > previous mesages), I'm getting *uncaught exception: Permission
> > > > > denied to
> > > > > > > call method Window.setTimeout* error.
> > > > > > >
> > > > > > > Can I send my gadgets.js file and the html page that I am
> > using?
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown <et...@google.com>
> > > > > wrote:
> > > > > > >
> > > > > > > > Not with the current code -- it assumes that your iframe's
> > id /
> > > > > name
> > > > > > is
> > > > > > > > remote_iframe_<module id>. (see:
> > > > > > > >
> > > > > > > >
> > > > > >
> > > > >
> > >
> > http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> > > > > > > > )
> > > > > > > >
> > > > > > > > When the changes described in SHINDIG-22 and SHINDIG-44 are
> > > > > > implemented
> > > > > > > > you
> > > > > > > > should be able to use whatever you want, but for now you
> > have to
> > > > > > follow
> > > > > > > > this
> > > > > > > > naming convention for the shindig ifpc-dependent features to
> > > work.
> > > > > > > >
> > > > > > > > On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson <
> > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > >
> > > > > > > > > Can't I use my own gadget id?
> > > > > > > > >
> > > > > > > > > I won't change that GADGET_IFRAME_PREFIX_. Even now, do I
> > need
> > > > > to
> > > > > > use
> > > > > > > > > arbitrary iframe id's?
> > > > > > > > >
> > > > > > > > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <
> > etnu@google.com>
> > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Right now some things are hard coded to use the fixed
> > iframe
> > > > > name
> > > > > > > > > > assumptions (ported from igoogle). Work that I'm doing
> > to
> > > deal
> > > > > > with
> > > > > > > > a
> > > > > > > > > > unified configuration model (see SHINDIG-22 and
> > SHINDIG-44
> > > for
> > > > > > > > details)
> > > > > > > > > > should allow arbitrary iframe ids.
> > > > > > > > > >
> > > > > > > > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
> > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > > >
> > > > > > > > > > > Currently I'm using latest SVN snapshot. Actually, I
> > > update
> > > > > my
> > > > > > > > code
> > > > > > > > > > daily.
> > > > > > > > > > > So, problem is not with my code. What if anybody wants
> > to
> > > > > use a
> > > > > > > > > > different
> > > > > > > > > > > GADGET_IFRAME_PREFIX_? What happens if somebody sends
> > id
> > > as
> > > > > a
> > > > > > > > > parameter
> > > > > > > > > > > and
> > > > > > > > > > > use it as gadget id?
> > > > > > > > > > >
> > > > > > > > > > > Then iFrame id will be GADGET_IFRAME_PREFIX_ + id
> > passed
> > > as
> > > > > > > > parameter.
> > > > > > > > > > >
> > > > > > > > > > > Will this cause any problems?
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <
> > > > > etnu@google.com>
> > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > It looks like a problem with ifpc, but I can't
> > figure
> > > out
> > > > > what
> > > > > > > > > exactly
> > > > > > > > > > > is
> > > > > > > > > > > > causing it. From the looks of things it might be
> > related
> > > > > to
> > > > > > > > > something
> > > > > > > > > > > that
> > > > > > > > > > > > Zhen recently fixed, which is that we weren't using
> > > > > consistent
> > > > > > > > > > > assumptions
> > > > > > > > > > > > for the id / name of the iframe elements on the
> > > containing
> > > > > > page.
> > > > > > > > > > > >
> > > > > > > > > > > > Could you try it again using what's in the latest
> > SVN
> > > > > > snapshot?
> > > > > > > > > > > >
> > > > > > > > > > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
> > > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Did I got this this problem due to my coding or it
> > is
> > > > > > Shindig
> > > > > > > > > > problem?
> > > > > > > > > > > >  If
> > > > > > > > > > > > > it is shindig problem,are they identified it and
> > > solving
> > > > > it?
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Feb 14, 2008 12:07 AM, Cassie <do...@google.com>
> > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Just want to let you know that these exceptions
> > were
> > > > > > > > captured in
> > > > > > > > > > > this
> > > > > > > > > > > > > bug
> > > > > > > > > > > > > > here:
> > > > > > > > > > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I am able to reproduce the bug as well.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - Cassie
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <
> > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > // Own layout manager
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > gadgets.SortableLayoutManager =
> > > > > function(layoutRootId) {
> > > > > > > > > > > > > > >  gadgets.LayoutManager.call(this);
> > > > > > > > > > > > > > >  this.layoutRootId_ = (typeof layoutRootId ==
> > > > > "string")
> > > > > > ?
> > > > > > > > > > > > > > > _get(layoutRootId) : layoutRootId;
> > > > > > > > > > > > > > >  this.columns = this.layoutRootId_.length;
> > > > > > > > > > > > > > > };
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > gadgets.SortableLayoutManager.inherits(
> > > > > > > > gadgets.LayoutManager);
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome=
> > > > > > > > > > > > > > function(gadget)
> > > > > > > > > > > > > > > {
> > > > > > > > > > > > > > >    minHeight = this.layoutRootId_[
> > this.columns-1
> > > > > > > > > ].offsetHeight;
> > > > > > > > > > > > > > >    index = 0;
> > > > > > > > > > > > > > >    for(i=this.columns-1; i>=0; i--){
> > > > > > > > > > > > > > >        if(this.layoutRootId_[i].offsetHeight
> > <=
> > > > > > > > minHeight){
> > > > > > > > > > > > > > >            minHeight = this.layoutRootId
> > > > > > _[i].offsetHeight;
> > > > > > > > > > > > > > >            index = i;
> > > > > > > > > > > > > > >        }
> > > > > > > > > > > > > > >    }
> > > > > > > > > > > > > > >    return this.layoutRootId_[index];
> > > > > > > > > > > > > > > };
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > ********************************* Code ends
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > _get returns elements by class
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Here I'm sending an array of three div
> > elements,
> > > > > > > > > gadgetChromeId
> > > > > > > > > > > will
> > > > > > > > > > > > > be
> > > > > > > > > > > > > > > set
> > > > > > > > > > > > > > > to the column whose
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <
> > > > > etnu@google.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Without seeing your code, I really have no
> > idea.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <
> > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I have created my own Layout Manager. If I
> > use
> > > > > > > > > > > > > > FloatLeftLayoutManager,
> > > > > > > > > > > > > > > > > then
> > > > > > > > > > > > > > > > > it is working fine even in the page that I
> > > > > tested
> > > > > > > > > > previously.
> > > > > > > > > > > I
> > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > > the window.setTimeout error. But why I'm
> > > getting
> > > > > > this
> > > > > > > > > error
> > > > > > > > > > > when
> > > > > > > > > > > > I
> > > > > > > > > > > > > > use
> > > > > > > > > > > > > > > > my
> > > > > > > > > > > > > > > > > own layout manager?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Feb 13, 2008 3:29 PM, Neo Anderson <
> > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Container page? I'm not using any
> > container
> > > .
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <
> > > > > > > > etnu@google.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I see the error in IE, but this looks
> > like
> > > > > an
> > > > > > > > error
> > > > > > > > > > that's
> > > > > > > > > > > > > > popping
> > > > > > > > > > > > > > > > up
> > > > > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > > > > gadget renders (I don't have an IE
> > > debugger
> > > > > > > > available
> > > > > > > > > > > right
> > > > > > > > > > > > > now
> > > > > > > > > > > > > > so
> > > > > > > > > > > > > > > > > I'll
> > > > > > > > > > > > > > > > > > > investigate tomorrow when I do). I
> > can't
> > > > > find
> > > > > > > > anything
> > > > > > > > > > > > > > triggering
> > > > > > > > > > > > > > > > this
> > > > > > > > > > > > > > > > > > > window.setTimeout issue, though. Is
> > this
> > > > > > happening
> > > > > > > > on
> > > > > > > > > a
> > > > > > > > > > > > > > container
> > > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > > you wrote yourself?
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo Anderson
> > <
> > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > If I run the same example in IE,
> > then it
> > > > > is
> > > > > > not
> > > > > > > > > > working.
> > > > > > > > > > > > It
> > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > > displaying
> > > > > > > > > > > > > > > > > > > > JavaScript error "gadgets" is not
> > > defined.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo
> > Anderson <
> > > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > No, I'm not getting any errors
> > even I
> > > > > add
> > > > > > some
> > > > > > > > > more
> > > > > > > > > > > > > gadgets
> > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > single
> > > > > > > > > > > > > > > > > > > > > column. Any it is working fine.
> > What
> > > > > might
> > > > > > br
> > > > > > > > the
> > > > > > > > > > > > problem?
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin
> > Brown <
> > > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Do you get the error when
> > hitting
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > >
> > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > > > > > > > > > > > clicking
> > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:35 AM, Neo
> > > Anderson
> > > > > <
> > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Yes, I'm using latest
> > snapshot.
> > > I'm
> > > > > > using
> > > > > > > > FF
> > > > > > > > > > > 2.0.12
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin
> > > Brown
> > > > > <
> > > > > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > What browser are you seeing
> > this
> > > > > in?
> > > > > > Are
> > > > > > > > you
> > > > > > > > > > > using
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > latest
> > > > > > > > > > > > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:03 AM,
> > Arun
> > > > > Kumar <
> > > > > > > > > > > > > > > > > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > I also got the same
> > problem...
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15 PM,
> > Neo
> > > > > > Anderson
> > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > I'm getting *uncaught
> > > > > exception:
> > > > > > > > > > Permission
> > > > > > > > > > > > > denied
> > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > call
> > > > > > > > > > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > > > > > > > > > > Window.setTimeout*exception
> > > > > when
> > > > > > I
> > > > > > > > try
> > > > > > > > > to
> > > > > > > > > > > use
> > > > > > > > > > > > > > > Dynamic
> > > > > > > > > > > > > > > > > > > Height
> > > > > > > > > > > > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > > > > > > > > dynamic height is
> > working.
> > > I'm
> > > > > > > > adding
> > > > > > > > > > > gadgets
> > > > > > > > > > > > to
> > > > > > > > > > > > > > my
> > > > > > > > > > > > > > > > web
> > > > > > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > > > > > > > > > > > I'm able to add a gadget
> > > upon
> > > > > > > > clicking
> > > > > > > > > on
> > > > > > > > > > a
> > > > > > > > > > > > > > button.
> > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > when I
> > > > > > > > > > > > > > > > > > > > > > place
> > > > > > > > > > > > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > > > > > > > > > > > gadgets in a column,
> > then if
> > > > > the
> > > > > > > > gadget
> > > > > > > > > on
> > > > > > > > > > > top
> > > > > > > > > > > > > > needs
> > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > adjust
> > > > > > > > > > > > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > > > > > > > > > > > then the gadget height
> > > height
> > > > > is
> > > > > > > > > adjusted
> > > > > > > > > > > and
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > height
> > > > > > > > > > > > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > > > > > > > getting displayed and in
> > > this
> > > > > > case,
> > > > > > > > I'm
> > > > > > > > > > > > getting
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > above
> > > > > > > > > > > > > > > > > > > said
> > > > > > > > > > > > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > If you received this email
> > by
> > > > > mistake,
> > > > > > > > > please
> > > > > > > > > > > > delete
> > > > > > > > > > > > > > it,
> > > > > > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > > > > account, destroy your hard
> > > drive,
> > > > > > > > silence
> > > > > > > > > any
> > > > > > > > > > > > > > witnesses,
> > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > If you received this email by
> > > mistake,
> > > > > > > > please
> > > > > > > > > > delete
> > > > > > > > > > > > it,
> > > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > > account, destroy your hard
> > drive,
> > > > > silence
> > > > > > > > any
> > > > > > > > > > > > witnesses,
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > If you received this email by mistake,
> > > > > please
> > > > > > > > delete
> > > > > > > > > it,
> > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > account, destroy your hard drive,
> > silence
> > > > > any
> > > > > > > > > witnesses,
> > > > > > > > > > > and
> > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If you received this email by mistake,
> > please
> > > > > delete
> > > > > > it,
> > > > > > > > > > cancel
> > > > > > > > > > > > your
> > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > account, destroy your hard drive, silence
> > any
> > > > > > witnesses,
> > > > > > > > and
> > > > > > > > > > > burn
> > > > > > > > > > > > > down
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > ~Kevin
> > > > > > > > > > > >
> > > > > > > > > > > > If you received this email by mistake, please delete
> > it,
> > > > > > cancel
> > > > > > > > your
> > > > > > > > > > > mail
> > > > > > > > > > > > account, destroy your hard drive, silence any
> > witnesses,
> > > > > and
> > > > > > > > burn
> > > > > > > > > down
> > > > > > > > > > > the
> > > > > > > > > > > > building that you're in.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > ~Kevin
> > > > > > > > > >
> > > > > > > > > > If you received this email by mistake, please delete it,
> > > > > cancel
> > > > > > your
> > > > > > > > > mail
> > > > > > > > > > account, destroy your hard drive, silence any witnesses,
> > and
> > > > > burn
> > > > > > > > down
> > > > > > > > > the
> > > > > > > > > > building that you're in.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > ~Kevin
> > > > > > > >
> > > > > > > > If you received this email by mistake, please delete it,
> > cancel
> > > > > your
> > > > > > > > mail
> > > > > > > > account, destroy your hard drive, silence any witnesses, and
> > > burn
> > > > > down
> > > > > > > > the
> > > > > > > > building that you're in.
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > ~Kevin
> > > > >
> > > > > If you received this email by mistake, please delete it, cancel
> > your
> > > > > mail
> > > > > account, destroy your hard drive, silence any witnesses, and burn
> > down
> > > > > the
> > > > > building that you're in.
> > > > >
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > ~Kevin
> >
> > If you received this email by mistake, please delete it, cancel your
> > mail
> > account, destroy your hard drive, silence any witnesses, and burn down
> > the
> > building that you're in.
> >
>
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
k. What abt the question related to UserPrefs?


On Thu, Feb 14, 2008 at 5:29 PM, Kevin Brown <et...@google.com> wrote:

> Sorry, I haven't had a chance to look into it yet. I'll try to see what I
> can find tomorrow.
>
> On Thu, Feb 14, 2008 at 3:56 AM, Neo Anderson <
> neoanderson123@googlemail.com>
> wrote:
>
> > @Kevin, did you identified the problem?,
> >
> > How to use UserPref with <Content type="url" href="xxxx.jsp" />?
> >
> > If I modify and click on save, to which URL these modified values will
> be
> > posted to?
> >
> > On Thu, Feb 14, 2008 at 2:57 PM, Neo Anderson <
> > neoanderson123@googlemail.com>
> > wrote:
> >
> > > Did you got my code?
> > >
> > >
> > > On Thu, Feb 14, 2008 at 2:21 PM, Kevin Brown <et...@google.com> wrote:
> > >
> > > > Go ahead and send your code that's causing problems and I'll see if
> I
> > > > can
> > > > take a look.
> > > >
> > > > The IE7 issue is known and being investigated (not your problem
> > > > specifically).
> > > >
> > > > On Thu, Feb 14, 2008 at 12:33 AM, Neo Anderson <
> > > > neoanderson123@googlemail.com> wrote:
> > > >
> > > > > It is working in FF with errors as said above. But in IE(v7.0), I
> > got
> > > > the
> > > > > error *Error: "gadgets" is undefined.* If the problem is with my
> > > > script,
> > > > > then it must not work in FF. :-(
> > > > >
> > > > > On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson <
> > > > > neoanderson123@googlemail.com>
> > > > > wrote:
> > > > >
> > > > > > I replaced GADGET_IFRAME_PREFIX_ with default one. i.e.,
> > > > > "remote_iframe_"
> > > > > >
> > > > > > Do I need to use arbitrary moduleId's or can I make them user
> > > > specific?
> > > > > >
> > > > > > Even now, after restoring the value of "GADGET_IFRAME_PREFIX_",
> >  it
> > > > is
> > > > > > working fine with sample6.html (I placed 6 gadgets and got them
> in
> > > > two
> > > > > > rows.) And in this example, the gadget on top is able to adjust
> > it's
> > > > > height.
> > > > > > But when I'm using my own Layout Manager, then The gadget on top
> > is
> > > > not
> > > > > > adjusting it's height and after adjusting it's height the
> adjusted
> > > > part
> > > > > is
> > > > > > not visible.
> > > > > >
> > > > > > When ever I use my own layout manager(Code is posted in one of
> the
> > > > > > previous mesages), I'm getting *uncaught exception: Permission
> > > > denied to
> > > > > > call method Window.setTimeout* error.
> > > > > >
> > > > > > Can I send my gadgets.js file and the html page that I am using?
> > > > > >
> > > > > >
> > > > > > On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown <et...@google.com>
> > > > wrote:
> > > > > >
> > > > > > > Not with the current code -- it assumes that your iframe's id
> /
> > > > name
> > > > > is
> > > > > > > remote_iframe_<module id>. (see:
> > > > > > >
> > > > > > >
> > > > >
> > > >
> >
> http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> > > > > > > )
> > > > > > >
> > > > > > > When the changes described in SHINDIG-22 and SHINDIG-44 are
> > > > > implemented
> > > > > > > you
> > > > > > > should be able to use whatever you want, but for now you have
> to
> > > > > follow
> > > > > > > this
> > > > > > > naming convention for the shindig ifpc-dependent features to
> > work.
> > > > > > >
> > > > > > > On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson <
> > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > >
> > > > > > > > Can't I use my own gadget id?
> > > > > > > >
> > > > > > > > I won't change that GADGET_IFRAME_PREFIX_. Even now, do I
> need
> > > > to
> > > > > use
> > > > > > > > arbitrary iframe id's?
> > > > > > > >
> > > > > > > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <
> etnu@google.com>
> > > > > wrote:
> > > > > > > >
> > > > > > > > > Right now some things are hard coded to use the fixed
> iframe
> > > > name
> > > > > > > > > assumptions (ported from igoogle). Work that I'm doing to
> > deal
> > > > > with
> > > > > > > a
> > > > > > > > > unified configuration model (see SHINDIG-22 and SHINDIG-44
> > for
> > > > > > > details)
> > > > > > > > > should allow arbitrary iframe ids.
> > > > > > > > >
> > > > > > > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
> > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > >
> > > > > > > > > > Currently I'm using latest SVN snapshot. Actually, I
> > update
> > > > my
> > > > > > > code
> > > > > > > > > daily.
> > > > > > > > > > So, problem is not with my code. What if anybody wants
> to
> > > > use a
> > > > > > > > > different
> > > > > > > > > > GADGET_IFRAME_PREFIX_? What happens if somebody sends id
> > as
> > > > a
> > > > > > > > parameter
> > > > > > > > > > and
> > > > > > > > > > use it as gadget id?
> > > > > > > > > >
> > > > > > > > > > Then iFrame id will be GADGET_IFRAME_PREFIX_ + id passed
> > as
> > > > > > > parameter.
> > > > > > > > > >
> > > > > > > > > > Will this cause any problems?
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <
> > > > etnu@google.com>
> > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > It looks like a problem with ifpc, but I can't figure
> > out
> > > > what
> > > > > > > > exactly
> > > > > > > > > > is
> > > > > > > > > > > causing it. From the looks of things it might be
> related
> > > > to
> > > > > > > > something
> > > > > > > > > > that
> > > > > > > > > > > Zhen recently fixed, which is that we weren't using
> > > > consistent
> > > > > > > > > > assumptions
> > > > > > > > > > > for the id / name of the iframe elements on the
> > containing
> > > > > page.
> > > > > > > > > > >
> > > > > > > > > > > Could you try it again using what's in the latest SVN
> > > > > snapshot?
> > > > > > > > > > >
> > > > > > > > > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
> > > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Did I got this this problem due to my coding or it
> is
> > > > > Shindig
> > > > > > > > > problem?
> > > > > > > > > > >  If
> > > > > > > > > > > > it is shindig problem,are they identified it and
> > solving
> > > > it?
> > > > > > > > > > > >
> > > > > > > > > > > > On Feb 14, 2008 12:07 AM, Cassie <do...@google.com>
> > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Just want to let you know that these exceptions
> were
> > > > > > > captured in
> > > > > > > > > > this
> > > > > > > > > > > > bug
> > > > > > > > > > > > > here:
> > > > > > > > > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > > > > > > > > > >
> > > > > > > > > > > > > I am able to reproduce the bug as well.
> > > > > > > > > > > > >
> > > > > > > > > > > > > - Cassie
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <
> > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > // Own layout manager
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > gadgets.SortableLayoutManager =
> > > > function(layoutRootId) {
> > > > > > > > > > > > > >  gadgets.LayoutManager.call(this);
> > > > > > > > > > > > > >  this.layoutRootId_ = (typeof layoutRootId ==
> > > > "string")
> > > > > ?
> > > > > > > > > > > > > > _get(layoutRootId) : layoutRootId;
> > > > > > > > > > > > > >  this.columns = this.layoutRootId_.length;
> > > > > > > > > > > > > > };
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > gadgets.SortableLayoutManager.inherits(
> > > > > > > gadgets.LayoutManager);
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome=
> > > > > > > > > > > > > function(gadget)
> > > > > > > > > > > > > > {
> > > > > > > > > > > > > >    minHeight = this.layoutRootId_[this.columns-1
> > > > > > > > ].offsetHeight;
> > > > > > > > > > > > > >    index = 0;
> > > > > > > > > > > > > >    for(i=this.columns-1; i>=0; i--){
> > > > > > > > > > > > > >        if(this.layoutRootId_[i].offsetHeight <=
> > > > > > > minHeight){
> > > > > > > > > > > > > >            minHeight = this.layoutRootId
> > > > > _[i].offsetHeight;
> > > > > > > > > > > > > >            index = i;
> > > > > > > > > > > > > >        }
> > > > > > > > > > > > > >    }
> > > > > > > > > > > > > >    return this.layoutRootId_[index];
> > > > > > > > > > > > > > };
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > ********************************* Code ends
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > _get returns elements by class
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Here I'm sending an array of three div elements,
> > > > > > > > gadgetChromeId
> > > > > > > > > > will
> > > > > > > > > > > > be
> > > > > > > > > > > > > > set
> > > > > > > > > > > > > > to the column whose
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <
> > > > etnu@google.com>
> > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Without seeing your code, I really have no
> idea.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <
> > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I have created my own Layout Manager. If I
> use
> > > > > > > > > > > > > FloatLeftLayoutManager,
> > > > > > > > > > > > > > > > then
> > > > > > > > > > > > > > > > it is working fine even in the page that I
> > > > tested
> > > > > > > > > previously.
> > > > > > > > > > I
> > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > the window.setTimeout error. But why I'm
> > getting
> > > > > this
> > > > > > > > error
> > > > > > > > > > when
> > > > > > > > > > > I
> > > > > > > > > > > > > use
> > > > > > > > > > > > > > > my
> > > > > > > > > > > > > > > > own layout manager?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Feb 13, 2008 3:29 PM, Neo Anderson <
> > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Container page? I'm not using any
> container
> > .
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <
> > > > > > > etnu@google.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I see the error in IE, but this looks
> like
> > > > an
> > > > > > > error
> > > > > > > > > that's
> > > > > > > > > > > > > popping
> > > > > > > > > > > > > > > up
> > > > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > > > gadget renders (I don't have an IE
> > debugger
> > > > > > > available
> > > > > > > > > > right
> > > > > > > > > > > > now
> > > > > > > > > > > > > so
> > > > > > > > > > > > > > > > I'll
> > > > > > > > > > > > > > > > > > investigate tomorrow when I do). I can't
> > > > find
> > > > > > > anything
> > > > > > > > > > > > > triggering
> > > > > > > > > > > > > > > this
> > > > > > > > > > > > > > > > > > window.setTimeout issue, though. Is this
> > > > > happening
> > > > > > > on
> > > > > > > > a
> > > > > > > > > > > > > container
> > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > you wrote yourself?
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo Anderson <
> > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > If I run the same example in IE, then
> it
> > > > is
> > > > > not
> > > > > > > > > working.
> > > > > > > > > > > It
> > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > displaying
> > > > > > > > > > > > > > > > > > > JavaScript error "gadgets" is not
> > defined.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo Anderson
> <
> > > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > No, I'm not getting any errors even
> I
> > > > add
> > > > > some
> > > > > > > > more
> > > > > > > > > > > > gadgets
> > > > > > > > > > > > > in
> > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > single
> > > > > > > > > > > > > > > > > > > > column. Any it is working fine. What
> > > > might
> > > > > br
> > > > > > > the
> > > > > > > > > > > problem?
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown
> <
> > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Do you get the error when hitting
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > > > > > > > > > > clicking
> > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:35 AM, Neo
> > Anderson
> > > > <
> > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Yes, I'm using latest snapshot.
> > I'm
> > > > > using
> > > > > > > FF
> > > > > > > > > > 2.0.12
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin
> > Brown
> > > > <
> > > > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > What browser are you seeing
> this
> > > > in?
> > > > > Are
> > > > > > > you
> > > > > > > > > > using
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > latest
> > > > > > > > > > > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:03 AM, Arun
> > > > Kumar <
> > > > > > > > > > > > > > > > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > I also got the same
> problem...
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo
> > > > > Anderson
> > > > > > > <
> > > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > I'm getting *uncaught
> > > > exception:
> > > > > > > > > Permission
> > > > > > > > > > > > denied
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > call
> > > > > > > > > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > > > > > > > > > Window.setTimeout*exception
> > > > when
> > > > > I
> > > > > > > try
> > > > > > > > to
> > > > > > > > > > use
> > > > > > > > > > > > > > Dynamic
> > > > > > > > > > > > > > > > > > Height
> > > > > > > > > > > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > > > > > > > dynamic height is working.
> > I'm
> > > > > > > adding
> > > > > > > > > > gadgets
> > > > > > > > > > > to
> > > > > > > > > > > > > my
> > > > > > > > > > > > > > > web
> > > > > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > > > > > > > > > > I'm able to add a gadget
> > upon
> > > > > > > clicking
> > > > > > > > on
> > > > > > > > > a
> > > > > > > > > > > > > button.
> > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > when I
> > > > > > > > > > > > > > > > > > > > > place
> > > > > > > > > > > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > > > > > > > > > > gadgets in a column, then
> if
> > > > the
> > > > > > > gadget
> > > > > > > > on
> > > > > > > > > > top
> > > > > > > > > > > > > needs
> > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > adjust
> > > > > > > > > > > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > > > > > > > > > > then the gadget height
> > height
> > > > is
> > > > > > > > adjusted
> > > > > > > > > > and
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > height
> > > > > > > > > > > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > > > > > > getting displayed and in
> > this
> > > > > case,
> > > > > > > I'm
> > > > > > > > > > > getting
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > above
> > > > > > > > > > > > > > > > > > said
> > > > > > > > > > > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > If you received this email by
> > > > mistake,
> > > > > > > > please
> > > > > > > > > > > delete
> > > > > > > > > > > > > it,
> > > > > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > > > account, destroy your hard
> > drive,
> > > > > > > silence
> > > > > > > > any
> > > > > > > > > > > > > witnesses,
> > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > If you received this email by
> > mistake,
> > > > > > > please
> > > > > > > > > delete
> > > > > > > > > > > it,
> > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > account, destroy your hard drive,
> > > > silence
> > > > > > > any
> > > > > > > > > > > witnesses,
> > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If you received this email by mistake,
> > > > please
> > > > > > > delete
> > > > > > > > it,
> > > > > > > > > > > > cancel
> > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > account, destroy your hard drive,
> silence
> > > > any
> > > > > > > > witnesses,
> > > > > > > > > > and
> > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > If you received this email by mistake, please
> > > > delete
> > > > > it,
> > > > > > > > > cancel
> > > > > > > > > > > your
> > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > > > witnesses,
> > > > > > > and
> > > > > > > > > > burn
> > > > > > > > > > > > down
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > ~Kevin
> > > > > > > > > > >
> > > > > > > > > > > If you received this email by mistake, please delete
> it,
> > > > > cancel
> > > > > > > your
> > > > > > > > > > mail
> > > > > > > > > > > account, destroy your hard drive, silence any
> witnesses,
> > > > and
> > > > > > > burn
> > > > > > > > down
> > > > > > > > > > the
> > > > > > > > > > > building that you're in.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > ~Kevin
> > > > > > > > >
> > > > > > > > > If you received this email by mistake, please delete it,
> > > > cancel
> > > > > your
> > > > > > > > mail
> > > > > > > > > account, destroy your hard drive, silence any witnesses,
> and
> > > > burn
> > > > > > > down
> > > > > > > > the
> > > > > > > > > building that you're in.
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > ~Kevin
> > > > > > >
> > > > > > > If you received this email by mistake, please delete it,
> cancel
> > > > your
> > > > > > > mail
> > > > > > > account, destroy your hard drive, silence any witnesses, and
> > burn
> > > > down
> > > > > > > the
> > > > > > > building that you're in.
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > ~Kevin
> > > >
> > > > If you received this email by mistake, please delete it, cancel your
> > > > mail
> > > > account, destroy your hard drive, silence any witnesses, and burn
> down
> > > > the
> > > > building that you're in.
> > > >
> > >
> > >
> >
>
>
>
> --
> ~Kevin
>
> If you received this email by mistake, please delete it, cancel your mail
> account, destroy your hard drive, silence any witnesses, and burn down the
> building that you're in.
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Kevin Brown <et...@google.com>.
Sorry, I haven't had a chance to look into it yet. I'll try to see what I
can find tomorrow.

On Thu, Feb 14, 2008 at 3:56 AM, Neo Anderson <ne...@googlemail.com>
wrote:

> @Kevin, did you identified the problem?,
>
> How to use UserPref with <Content type="url" href="xxxx.jsp" />?
>
> If I modify and click on save, to which URL these modified values will be
> posted to?
>
> On Thu, Feb 14, 2008 at 2:57 PM, Neo Anderson <
> neoanderson123@googlemail.com>
> wrote:
>
> > Did you got my code?
> >
> >
> > On Thu, Feb 14, 2008 at 2:21 PM, Kevin Brown <et...@google.com> wrote:
> >
> > > Go ahead and send your code that's causing problems and I'll see if I
> > > can
> > > take a look.
> > >
> > > The IE7 issue is known and being investigated (not your problem
> > > specifically).
> > >
> > > On Thu, Feb 14, 2008 at 12:33 AM, Neo Anderson <
> > > neoanderson123@googlemail.com> wrote:
> > >
> > > > It is working in FF with errors as said above. But in IE(v7.0), I
> got
> > > the
> > > > error *Error: "gadgets" is undefined.* If the problem is with my
> > > script,
> > > > then it must not work in FF. :-(
> > > >
> > > > On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson <
> > > > neoanderson123@googlemail.com>
> > > > wrote:
> > > >
> > > > > I replaced GADGET_IFRAME_PREFIX_ with default one. i.e.,
> > > > "remote_iframe_"
> > > > >
> > > > > Do I need to use arbitrary moduleId's or can I make them user
> > > specific?
> > > > >
> > > > > Even now, after restoring the value of "GADGET_IFRAME_PREFIX_",
>  it
> > > is
> > > > > working fine with sample6.html (I placed 6 gadgets and got them in
> > > two
> > > > > rows.) And in this example, the gadget on top is able to adjust
> it's
> > > > height.
> > > > > But when I'm using my own Layout Manager, then The gadget on top
> is
> > > not
> > > > > adjusting it's height and after adjusting it's height the adjusted
> > > part
> > > > is
> > > > > not visible.
> > > > >
> > > > > When ever I use my own layout manager(Code is posted in one of the
> > > > > previous mesages), I'm getting *uncaught exception: Permission
> > > denied to
> > > > > call method Window.setTimeout* error.
> > > > >
> > > > > Can I send my gadgets.js file and the html page that I am using?
> > > > >
> > > > >
> > > > > On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown <et...@google.com>
> > > wrote:
> > > > >
> > > > > > Not with the current code -- it assumes that your iframe's id /
> > > name
> > > > is
> > > > > > remote_iframe_<module id>. (see:
> > > > > >
> > > > > >
> > > >
> > >
> http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> > > > > > )
> > > > > >
> > > > > > When the changes described in SHINDIG-22 and SHINDIG-44 are
> > > > implemented
> > > > > > you
> > > > > > should be able to use whatever you want, but for now you have to
> > > > follow
> > > > > > this
> > > > > > naming convention for the shindig ifpc-dependent features to
> work.
> > > > > >
> > > > > > On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson <
> > > > > > neoanderson123@googlemail.com> wrote:
> > > > > >
> > > > > > > Can't I use my own gadget id?
> > > > > > >
> > > > > > > I won't change that GADGET_IFRAME_PREFIX_. Even now, do I need
> > > to
> > > > use
> > > > > > > arbitrary iframe id's?
> > > > > > >
> > > > > > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <et...@google.com>
> > > > wrote:
> > > > > > >
> > > > > > > > Right now some things are hard coded to use the fixed iframe
> > > name
> > > > > > > > assumptions (ported from igoogle). Work that I'm doing to
> deal
> > > > with
> > > > > > a
> > > > > > > > unified configuration model (see SHINDIG-22 and SHINDIG-44
> for
> > > > > > details)
> > > > > > > > should allow arbitrary iframe ids.
> > > > > > > >
> > > > > > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
> > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > >
> > > > > > > > > Currently I'm using latest SVN snapshot. Actually, I
> update
> > > my
> > > > > > code
> > > > > > > > daily.
> > > > > > > > > So, problem is not with my code. What if anybody wants to
> > > use a
> > > > > > > > different
> > > > > > > > > GADGET_IFRAME_PREFIX_? What happens if somebody sends id
> as
> > > a
> > > > > > > parameter
> > > > > > > > > and
> > > > > > > > > use it as gadget id?
> > > > > > > > >
> > > > > > > > > Then iFrame id will be GADGET_IFRAME_PREFIX_ + id passed
> as
> > > > > > parameter.
> > > > > > > > >
> > > > > > > > > Will this cause any problems?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <
> > > etnu@google.com>
> > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > It looks like a problem with ifpc, but I can't figure
> out
> > > what
> > > > > > > exactly
> > > > > > > > > is
> > > > > > > > > > causing it. From the looks of things it might be related
> > > to
> > > > > > > something
> > > > > > > > > that
> > > > > > > > > > Zhen recently fixed, which is that we weren't using
> > > consistent
> > > > > > > > > assumptions
> > > > > > > > > > for the id / name of the iframe elements on the
> containing
> > > > page.
> > > > > > > > > >
> > > > > > > > > > Could you try it again using what's in the latest SVN
> > > > snapshot?
> > > > > > > > > >
> > > > > > > > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
> > > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > > >
> > > > > > > > > > > Did I got this this problem due to my coding or it is
> > > > Shindig
> > > > > > > > problem?
> > > > > > > > > >  If
> > > > > > > > > > > it is shindig problem,are they identified it and
> solving
> > > it?
> > > > > > > > > > >
> > > > > > > > > > > On Feb 14, 2008 12:07 AM, Cassie <do...@google.com>
> > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Just want to let you know that these exceptions were
> > > > > > captured in
> > > > > > > > > this
> > > > > > > > > > > bug
> > > > > > > > > > > > here:
> > > > > > > > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > > > > > > > > >
> > > > > > > > > > > > I am able to reproduce the bug as well.
> > > > > > > > > > > >
> > > > > > > > > > > > - Cassie
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <
> > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > // Own layout manager
> > > > > > > > > > > > >
> > > > > > > > > > > > > gadgets.SortableLayoutManager =
> > > function(layoutRootId) {
> > > > > > > > > > > > >  gadgets.LayoutManager.call(this);
> > > > > > > > > > > > >  this.layoutRootId_ = (typeof layoutRootId ==
> > > "string")
> > > > ?
> > > > > > > > > > > > > _get(layoutRootId) : layoutRootId;
> > > > > > > > > > > > >  this.columns = this.layoutRootId_.length;
> > > > > > > > > > > > > };
> > > > > > > > > > > > >
> > > > > > > > > > > > > gadgets.SortableLayoutManager.inherits(
> > > > > > gadgets.LayoutManager);
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > gadgets.SortableLayoutManager.prototype.getGadgetChrome=
> > > > > > > > > > > > function(gadget)
> > > > > > > > > > > > > {
> > > > > > > > > > > > >    minHeight = this.layoutRootId_[this.columns-1
> > > > > > > ].offsetHeight;
> > > > > > > > > > > > >    index = 0;
> > > > > > > > > > > > >    for(i=this.columns-1; i>=0; i--){
> > > > > > > > > > > > >        if(this.layoutRootId_[i].offsetHeight <=
> > > > > > minHeight){
> > > > > > > > > > > > >            minHeight = this.layoutRootId
> > > > _[i].offsetHeight;
> > > > > > > > > > > > >            index = i;
> > > > > > > > > > > > >        }
> > > > > > > > > > > > >    }
> > > > > > > > > > > > >    return this.layoutRootId_[index];
> > > > > > > > > > > > > };
> > > > > > > > > > > > >
> > > > > > > > > > > > > ********************************* Code ends
> > > > > > > > > > > > >
> > > > > > > > > > > > > _get returns elements by class
> > > > > > > > > > > > >
> > > > > > > > > > > > > Here I'm sending an array of three div elements,
> > > > > > > gadgetChromeId
> > > > > > > > > will
> > > > > > > > > > > be
> > > > > > > > > > > > > set
> > > > > > > > > > > > > to the column whose
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <
> > > etnu@google.com>
> > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Without seeing your code, I really have no idea.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <
> > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > >
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I have created my own Layout Manager. If I use
> > > > > > > > > > > > FloatLeftLayoutManager,
> > > > > > > > > > > > > > > then
> > > > > > > > > > > > > > > it is working fine even in the page that I
> > > tested
> > > > > > > > previously.
> > > > > > > > > I
> > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > the window.setTimeout error. But why I'm
> getting
> > > > this
> > > > > > > error
> > > > > > > > > when
> > > > > > > > > > I
> > > > > > > > > > > > use
> > > > > > > > > > > > > > my
> > > > > > > > > > > > > > > own layout manager?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Feb 13, 2008 3:29 PM, Neo Anderson <
> > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Container page? I'm not using any container
> .
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <
> > > > > > etnu@google.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I see the error in IE, but this looks like
> > > an
> > > > > > error
> > > > > > > > that's
> > > > > > > > > > > > popping
> > > > > > > > > > > > > > up
> > > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > > gadget renders (I don't have an IE
> debugger
> > > > > > available
> > > > > > > > > right
> > > > > > > > > > > now
> > > > > > > > > > > > so
> > > > > > > > > > > > > > > I'll
> > > > > > > > > > > > > > > > > investigate tomorrow when I do). I can't
> > > find
> > > > > > anything
> > > > > > > > > > > > triggering
> > > > > > > > > > > > > > this
> > > > > > > > > > > > > > > > > window.setTimeout issue, though. Is this
> > > > happening
> > > > > > on
> > > > > > > a
> > > > > > > > > > > > container
> > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > you wrote yourself?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo Anderson <
> > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If I run the same example in IE, then it
> > > is
> > > > not
> > > > > > > > working.
> > > > > > > > > > It
> > > > > > > > > > > is
> > > > > > > > > > > > > > > > > displaying
> > > > > > > > > > > > > > > > > > JavaScript error "gadgets" is not
> defined.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo Anderson <
> > > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > No, I'm not getting any errors even I
> > > add
> > > > some
> > > > > > > more
> > > > > > > > > > > gadgets
> > > > > > > > > > > > in
> > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > single
> > > > > > > > > > > > > > > > > > > column. Any it is working fine. What
> > > might
> > > > br
> > > > > > the
> > > > > > > > > > problem?
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <
> > > > > > > > etnu@google.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Do you get the error when hitting
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > > > > > > > > > clicking
> > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:35 AM, Neo
> Anderson
> > > <
> > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Yes, I'm using latest snapshot.
> I'm
> > > > using
> > > > > > FF
> > > > > > > > > 2.0.12
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin
> Brown
> > > <
> > > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > What browser are you seeing this
> > > in?
> > > > Are
> > > > > > you
> > > > > > > > > using
> > > > > > > > > > > the
> > > > > > > > > > > > > > > latest
> > > > > > > > > > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:03 AM, Arun
> > > Kumar <
> > > > > > > > > > > > > > > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > I also got the same problem...
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo
> > > > Anderson
> > > > > > <
> > > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > I'm getting *uncaught
> > > exception:
> > > > > > > > Permission
> > > > > > > > > > > denied
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > call
> > > > > > > > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > > > > > > > > Window.setTimeout *exception
> > > when
> > > > I
> > > > > > try
> > > > > > > to
> > > > > > > > > use
> > > > > > > > > > > > > Dynamic
> > > > > > > > > > > > > > > > > Height
> > > > > > > > > > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > > > > > > dynamic height is working.
> I'm
> > > > > > adding
> > > > > > > > > gadgets
> > > > > > > > > > to
> > > > > > > > > > > > my
> > > > > > > > > > > > > > web
> > > > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > > > > > > > > > I'm able to add a gadget
> upon
> > > > > > clicking
> > > > > > > on
> > > > > > > > a
> > > > > > > > > > > > button.
> > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > when I
> > > > > > > > > > > > > > > > > > > > place
> > > > > > > > > > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > > > > > > > > > gadgets in a column, then if
> > > the
> > > > > > gadget
> > > > > > > on
> > > > > > > > > top
> > > > > > > > > > > > needs
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > adjust
> > > > > > > > > > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > > > > > > > > > then the gadget height
> height
> > > is
> > > > > > > adjusted
> > > > > > > > > and
> > > > > > > > > > > the
> > > > > > > > > > > > > > height
> > > > > > > > > > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > > > > > getting displayed and in
> this
> > > > case,
> > > > > > I'm
> > > > > > > > > > getting
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > above
> > > > > > > > > > > > > > > > > said
> > > > > > > > > > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > If you received this email by
> > > mistake,
> > > > > > > please
> > > > > > > > > > delete
> > > > > > > > > > > > it,
> > > > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > > account, destroy your hard
> drive,
> > > > > > silence
> > > > > > > any
> > > > > > > > > > > > witnesses,
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > If you received this email by
> mistake,
> > > > > > please
> > > > > > > > delete
> > > > > > > > > > it,
> > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > account, destroy your hard drive,
> > > silence
> > > > > > any
> > > > > > > > > > witnesses,
> > > > > > > > > > > > and
> > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If you received this email by mistake,
> > > please
> > > > > > delete
> > > > > > > it,
> > > > > > > > > > > cancel
> > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > account, destroy your hard drive, silence
> > > any
> > > > > > > witnesses,
> > > > > > > > > and
> > > > > > > > > > > > burn
> > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > If you received this email by mistake, please
> > > delete
> > > > it,
> > > > > > > > cancel
> > > > > > > > > > your
> > > > > > > > > > > > > mail
> > > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > > witnesses,
> > > > > > and
> > > > > > > > > burn
> > > > > > > > > > > down
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > ~Kevin
> > > > > > > > > >
> > > > > > > > > > If you received this email by mistake, please delete it,
> > > > cancel
> > > > > > your
> > > > > > > > > mail
> > > > > > > > > > account, destroy your hard drive, silence any witnesses,
> > > and
> > > > > > burn
> > > > > > > down
> > > > > > > > > the
> > > > > > > > > > building that you're in.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > ~Kevin
> > > > > > > >
> > > > > > > > If you received this email by mistake, please delete it,
> > > cancel
> > > > your
> > > > > > > mail
> > > > > > > > account, destroy your hard drive, silence any witnesses, and
> > > burn
> > > > > > down
> > > > > > > the
> > > > > > > > building that you're in.
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > ~Kevin
> > > > > >
> > > > > > If you received this email by mistake, please delete it, cancel
> > > your
> > > > > > mail
> > > > > > account, destroy your hard drive, silence any witnesses, and
> burn
> > > down
> > > > > > the
> > > > > > building that you're in.
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > ~Kevin
> > >
> > > If you received this email by mistake, please delete it, cancel your
> > > mail
> > > account, destroy your hard drive, silence any witnesses, and burn down
> > > the
> > > building that you're in.
> > >
> >
> >
>



-- 
~Kevin

If you received this email by mistake, please delete it, cancel your mail
account, destroy your hard drive, silence any witnesses, and burn down the
building that you're in.

Re: uncaught exception: Permission denied to call method Window.setTimeout

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

How to use UserPref with <Content type="url" href="xxxx.jsp" />?

If I modify and click on save, to which URL these modified values will be
posted to?

On Thu, Feb 14, 2008 at 2:57 PM, Neo Anderson <ne...@googlemail.com>
wrote:

> Did you got my code?
>
>
> On Thu, Feb 14, 2008 at 2:21 PM, Kevin Brown <et...@google.com> wrote:
>
> > Go ahead and send your code that's causing problems and I'll see if I
> > can
> > take a look.
> >
> > The IE7 issue is known and being investigated (not your problem
> > specifically).
> >
> > On Thu, Feb 14, 2008 at 12:33 AM, Neo Anderson <
> > neoanderson123@googlemail.com> wrote:
> >
> > > It is working in FF with errors as said above. But in IE(v7.0), I got
> > the
> > > error *Error: "gadgets" is undefined.* If the problem is with my
> > script,
> > > then it must not work in FF. :-(
> > >
> > > On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson <
> > > neoanderson123@googlemail.com>
> > > wrote:
> > >
> > > > I replaced GADGET_IFRAME_PREFIX_ with default one. i.e.,
> > > "remote_iframe_"
> > > >
> > > > Do I need to use arbitrary moduleId's or can I make them user
> > specific?
> > > >
> > > > Even now, after restoring the value of "GADGET_IFRAME_PREFIX_",  it
> > is
> > > > working fine with sample6.html (I placed 6 gadgets and got them in
> > two
> > > > rows.) And in this example, the gadget on top is able to adjust it's
> > > height.
> > > > But when I'm using my own Layout Manager, then The gadget on top is
> > not
> > > > adjusting it's height and after adjusting it's height the adjusted
> > part
> > > is
> > > > not visible.
> > > >
> > > > When ever I use my own layout manager(Code is posted in one of the
> > > > previous mesages), I'm getting *uncaught exception: Permission
> > denied to
> > > > call method Window.setTimeout* error.
> > > >
> > > > Can I send my gadgets.js file and the html page that I am using?
> > > >
> > > >
> > > > On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown <et...@google.com>
> > wrote:
> > > >
> > > > > Not with the current code -- it assumes that your iframe's id /
> > name
> > > is
> > > > > remote_iframe_<module id>. (see:
> > > > >
> > > > >
> > >
> > http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> > > > > )
> > > > >
> > > > > When the changes described in SHINDIG-22 and SHINDIG-44 are
> > > implemented
> > > > > you
> > > > > should be able to use whatever you want, but for now you have to
> > > follow
> > > > > this
> > > > > naming convention for the shindig ifpc-dependent features to work.
> > > > >
> > > > > On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson <
> > > > > neoanderson123@googlemail.com> wrote:
> > > > >
> > > > > > Can't I use my own gadget id?
> > > > > >
> > > > > > I won't change that GADGET_IFRAME_PREFIX_. Even now, do I need
> > to
> > > use
> > > > > > arbitrary iframe id's?
> > > > > >
> > > > > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <et...@google.com>
> > > wrote:
> > > > > >
> > > > > > > Right now some things are hard coded to use the fixed iframe
> > name
> > > > > > > assumptions (ported from igoogle). Work that I'm doing to deal
> > > with
> > > > > a
> > > > > > > unified configuration model (see SHINDIG-22 and SHINDIG-44 for
> > > > > details)
> > > > > > > should allow arbitrary iframe ids.
> > > > > > >
> > > > > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
> > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > >
> > > > > > > > Currently I'm using latest SVN snapshot. Actually, I update
> > my
> > > > > code
> > > > > > > daily.
> > > > > > > > So, problem is not with my code. What if anybody wants to
> > use a
> > > > > > > different
> > > > > > > > GADGET_IFRAME_PREFIX_? What happens if somebody sends id as
> > a
> > > > > > parameter
> > > > > > > > and
> > > > > > > > use it as gadget id?
> > > > > > > >
> > > > > > > > Then iFrame id will be GADGET_IFRAME_PREFIX_ + id passed as
> > > > > parameter.
> > > > > > > >
> > > > > > > > Will this cause any problems?
> > > > > > > >
> > > > > > > >
> > > > > > > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <
> > etnu@google.com>
> > > > > wrote:
> > > > > > > >
> > > > > > > > > It looks like a problem with ifpc, but I can't figure out
> > what
> > > > > > exactly
> > > > > > > > is
> > > > > > > > > causing it. From the looks of things it might be related
> > to
> > > > > > something
> > > > > > > > that
> > > > > > > > > Zhen recently fixed, which is that we weren't using
> > consistent
> > > > > > > > assumptions
> > > > > > > > > for the id / name of the iframe elements on the containing
> > > page.
> > > > > > > > >
> > > > > > > > > Could you try it again using what's in the latest SVN
> > > snapshot?
> > > > > > > > >
> > > > > > > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
> > > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > > >
> > > > > > > > > > Did I got this this problem due to my coding or it is
> > > Shindig
> > > > > > > problem?
> > > > > > > > >  If
> > > > > > > > > > it is shindig problem,are they identified it and solving
> > it?
> > > > > > > > > >
> > > > > > > > > > On Feb 14, 2008 12:07 AM, Cassie <do...@google.com>
> > wrote:
> > > > > > > > > >
> > > > > > > > > > > Just want to let you know that these exceptions were
> > > > > captured in
> > > > > > > > this
> > > > > > > > > > bug
> > > > > > > > > > > here:
> > > > > > > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > > > > > > > >
> > > > > > > > > > > I am able to reproduce the bug as well.
> > > > > > > > > > >
> > > > > > > > > > > - Cassie
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <
> > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > // Own layout manager
> > > > > > > > > > > >
> > > > > > > > > > > > gadgets.SortableLayoutManager =
> > function(layoutRootId) {
> > > > > > > > > > > >  gadgets.LayoutManager.call(this);
> > > > > > > > > > > >  this.layoutRootId_ = (typeof layoutRootId ==
> > "string")
> > > ?
> > > > > > > > > > > > _get(layoutRootId) : layoutRootId;
> > > > > > > > > > > >  this.columns = this.layoutRootId_.length;
> > > > > > > > > > > > };
> > > > > > > > > > > >
> > > > > > > > > > > > gadgets.SortableLayoutManager.inherits(
> > > > > gadgets.LayoutManager);
> > > > > > > > > > > >
> > > > > > > > > > > >
> > gadgets.SortableLayoutManager.prototype.getGadgetChrome=
> > > > > > > > > > > function(gadget)
> > > > > > > > > > > > {
> > > > > > > > > > > >    minHeight = this.layoutRootId_[this.columns-1
> > > > > > ].offsetHeight;
> > > > > > > > > > > >    index = 0;
> > > > > > > > > > > >    for(i=this.columns-1; i>=0; i--){
> > > > > > > > > > > >        if(this.layoutRootId_[i].offsetHeight <=
> > > > > minHeight){
> > > > > > > > > > > >            minHeight = this.layoutRootId
> > > _[i].offsetHeight;
> > > > > > > > > > > >            index = i;
> > > > > > > > > > > >        }
> > > > > > > > > > > >    }
> > > > > > > > > > > >    return this.layoutRootId_[index];
> > > > > > > > > > > > };
> > > > > > > > > > > >
> > > > > > > > > > > > ********************************* Code ends
> > > > > > > > > > > >
> > > > > > > > > > > > _get returns elements by class
> > > > > > > > > > > >
> > > > > > > > > > > > Here I'm sending an array of three div elements,
> > > > > > gadgetChromeId
> > > > > > > > will
> > > > > > > > > > be
> > > > > > > > > > > > set
> > > > > > > > > > > > to the column whose
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <
> > etnu@google.com>
> > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Without seeing your code, I really have no idea.
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <
> > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > >
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > I have created my own Layout Manager. If I use
> > > > > > > > > > > FloatLeftLayoutManager,
> > > > > > > > > > > > > > then
> > > > > > > > > > > > > > it is working fine even in the page that I
> > tested
> > > > > > > previously.
> > > > > > > > I
> > > > > > > > > > > > haven't
> > > > > > > > > > > > > > got
> > > > > > > > > > > > > > the window.setTimeout error. But why I'm getting
> > > this
> > > > > > error
> > > > > > > > when
> > > > > > > > > I
> > > > > > > > > > > use
> > > > > > > > > > > > > my
> > > > > > > > > > > > > > own layout manager?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Feb 13, 2008 3:29 PM, Neo Anderson <
> > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > >
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Container page? I'm not using any container .
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <
> > > > > etnu@google.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I see the error in IE, but this looks like
> > an
> > > > > error
> > > > > > > that's
> > > > > > > > > > > popping
> > > > > > > > > > > > > up
> > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > gadget renders (I don't have an IE debugger
> > > > > available
> > > > > > > > right
> > > > > > > > > > now
> > > > > > > > > > > so
> > > > > > > > > > > > > > I'll
> > > > > > > > > > > > > > > > investigate tomorrow when I do). I can't
> > find
> > > > > anything
> > > > > > > > > > > triggering
> > > > > > > > > > > > > this
> > > > > > > > > > > > > > > > window.setTimeout issue, though. Is this
> > > happening
> > > > > on
> > > > > > a
> > > > > > > > > > > container
> > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > you wrote yourself?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo Anderson <
> > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If I run the same example in IE, then it
> > is
> > > not
> > > > > > > working.
> > > > > > > > > It
> > > > > > > > > > is
> > > > > > > > > > > > > > > > displaying
> > > > > > > > > > > > > > > > > JavaScript error "gadgets" is not defined.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo Anderson <
> > > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > No, I'm not getting any errors even I
> > add
> > > some
> > > > > > more
> > > > > > > > > > gadgets
> > > > > > > > > > > in
> > > > > > > > > > > > a
> > > > > > > > > > > > > > > > single
> > > > > > > > > > > > > > > > > > column. Any it is working fine. What
> > might
> > > br
> > > > > the
> > > > > > > > > problem?
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <
> > > > > > > etnu@google.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Do you get the error when hitting
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > > > > > > > > clicking
> > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:35 AM, Neo Anderson
> > <
> > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Yes, I'm using latest snapshot. I'm
> > > using
> > > > > FF
> > > > > > > > 2.0.12
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown
> > <
> > > > > > > > > etnu@google.com>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > What browser are you seeing this
> > in?
> > > Are
> > > > > you
> > > > > > > > using
> > > > > > > > > > the
> > > > > > > > > > > > > > latest
> > > > > > > > > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:03 AM, Arun
> > Kumar <
> > > > > > > > > > > > > > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > I also got the same problem...
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo
> > > Anderson
> > > > > <
> > > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > I'm getting *uncaught
> > exception:
> > > > > > > Permission
> > > > > > > > > > denied
> > > > > > > > > > > > to
> > > > > > > > > > > > > > call
> > > > > > > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > > > > > > > Window.setTimeout *exception
> > when
> > > I
> > > > > try
> > > > > > to
> > > > > > > > use
> > > > > > > > > > > > Dynamic
> > > > > > > > > > > > > > > > Height
> > > > > > > > > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > > > > > dynamic height is working. I'm
> > > > > adding
> > > > > > > > gadgets
> > > > > > > > > to
> > > > > > > > > > > my
> > > > > > > > > > > > > web
> > > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > > > > > > > > I'm able to add a gadget upon
> > > > > clicking
> > > > > > on
> > > > > > > a
> > > > > > > > > > > button.
> > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > when I
> > > > > > > > > > > > > > > > > > > place
> > > > > > > > > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > > > > > > > > gadgets in a column, then if
> > the
> > > > > gadget
> > > > > > on
> > > > > > > > top
> > > > > > > > > > > needs
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > adjust
> > > > > > > > > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > > > > > > > > then the gadget height height
> > is
> > > > > > adjusted
> > > > > > > > and
> > > > > > > > > > the
> > > > > > > > > > > > > height
> > > > > > > > > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > > > > getting displayed and in this
> > > case,
> > > > > I'm
> > > > > > > > > getting
> > > > > > > > > > > the
> > > > > > > > > > > > > > above
> > > > > > > > > > > > > > > > said
> > > > > > > > > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > If you received this email by
> > mistake,
> > > > > > please
> > > > > > > > > delete
> > > > > > > > > > > it,
> > > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > > account, destroy your hard drive,
> > > > > silence
> > > > > > any
> > > > > > > > > > > witnesses,
> > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > If you received this email by mistake,
> > > > > please
> > > > > > > delete
> > > > > > > > > it,
> > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > account, destroy your hard drive,
> > silence
> > > > > any
> > > > > > > > > witnesses,
> > > > > > > > > > > and
> > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If you received this email by mistake,
> > please
> > > > > delete
> > > > > > it,
> > > > > > > > > > cancel
> > > > > > > > > > > > your
> > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > account, destroy your hard drive, silence
> > any
> > > > > > witnesses,
> > > > > > > > and
> > > > > > > > > > > burn
> > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > >
> > > > > > > > > > > > > If you received this email by mistake, please
> > delete
> > > it,
> > > > > > > cancel
> > > > > > > > > your
> > > > > > > > > > > > mail
> > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > witnesses,
> > > > > and
> > > > > > > > burn
> > > > > > > > > > down
> > > > > > > > > > > > the
> > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > ~Kevin
> > > > > > > > >
> > > > > > > > > If you received this email by mistake, please delete it,
> > > cancel
> > > > > your
> > > > > > > > mail
> > > > > > > > > account, destroy your hard drive, silence any witnesses,
> > and
> > > > > burn
> > > > > > down
> > > > > > > > the
> > > > > > > > > building that you're in.
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > ~Kevin
> > > > > > >
> > > > > > > If you received this email by mistake, please delete it,
> > cancel
> > > your
> > > > > > mail
> > > > > > > account, destroy your hard drive, silence any witnesses, and
> > burn
> > > > > down
> > > > > > the
> > > > > > > building that you're in.
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > ~Kevin
> > > > >
> > > > > If you received this email by mistake, please delete it, cancel
> > your
> > > > > mail
> > > > > account, destroy your hard drive, silence any witnesses, and burn
> > down
> > > > > the
> > > > > building that you're in.
> > > > >
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > ~Kevin
> >
> > If you received this email by mistake, please delete it, cancel your
> > mail
> > account, destroy your hard drive, silence any witnesses, and burn down
> > the
> > building that you're in.
> >
>
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
Did you got my code?

On Thu, Feb 14, 2008 at 2:21 PM, Kevin Brown <et...@google.com> wrote:

> Go ahead and send your code that's causing problems and I'll see if I can
> take a look.
>
> The IE7 issue is known and being investigated (not your problem
> specifically).
>
> On Thu, Feb 14, 2008 at 12:33 AM, Neo Anderson <
> neoanderson123@googlemail.com> wrote:
>
> > It is working in FF with errors as said above. But in IE(v7.0), I got
> the
> > error *Error: "gadgets" is undefined.* If the problem is with my script,
> > then it must not work in FF. :-(
> >
> > On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson <
> > neoanderson123@googlemail.com>
> > wrote:
> >
> > > I replaced GADGET_IFRAME_PREFIX_ with default one. i.e.,
> > "remote_iframe_"
> > >
> > > Do I need to use arbitrary moduleId's or can I make them user
> specific?
> > >
> > > Even now, after restoring the value of "GADGET_IFRAME_PREFIX_",  it is
> > > working fine with sample6.html (I placed 6 gadgets and got them in two
> > > rows.) And in this example, the gadget on top is able to adjust it's
> > height.
> > > But when I'm using my own Layout Manager, then The gadget on top is
> not
> > > adjusting it's height and after adjusting it's height the adjusted
> part
> > is
> > > not visible.
> > >
> > > When ever I use my own layout manager(Code is posted in one of the
> > > previous mesages), I'm getting *uncaught exception: Permission denied
> to
> > > call method Window.setTimeout* error.
> > >
> > > Can I send my gadgets.js file and the html page that I am using?
> > >
> > >
> > > On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown <et...@google.com> wrote:
> > >
> > > > Not with the current code -- it assumes that your iframe's id / name
> > is
> > > > remote_iframe_<module id>. (see:
> > > >
> > > >
> >
> http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> > > > )
> > > >
> > > > When the changes described in SHINDIG-22 and SHINDIG-44 are
> > implemented
> > > > you
> > > > should be able to use whatever you want, but for now you have to
> > follow
> > > > this
> > > > naming convention for the shindig ifpc-dependent features to work.
> > > >
> > > > On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson <
> > > > neoanderson123@googlemail.com> wrote:
> > > >
> > > > > Can't I use my own gadget id?
> > > > >
> > > > > I won't change that GADGET_IFRAME_PREFIX_. Even now, do I need to
> > use
> > > > > arbitrary iframe id's?
> > > > >
> > > > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <et...@google.com>
> > wrote:
> > > > >
> > > > > > Right now some things are hard coded to use the fixed iframe
> name
> > > > > > assumptions (ported from igoogle). Work that I'm doing to deal
> > with
> > > > a
> > > > > > unified configuration model (see SHINDIG-22 and SHINDIG-44 for
> > > > details)
> > > > > > should allow arbitrary iframe ids.
> > > > > >
> > > > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
> > > > > > neoanderson123@googlemail.com> wrote:
> > > > > >
> > > > > > > Currently I'm using latest SVN snapshot. Actually, I update my
> > > > code
> > > > > > daily.
> > > > > > > So, problem is not with my code. What if anybody wants to use
> a
> > > > > > different
> > > > > > > GADGET_IFRAME_PREFIX_? What happens if somebody sends id as a
> > > > > parameter
> > > > > > > and
> > > > > > > use it as gadget id?
> > > > > > >
> > > > > > > Then iFrame id will be GADGET_IFRAME_PREFIX_ + id passed as
> > > > parameter.
> > > > > > >
> > > > > > > Will this cause any problems?
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <etnu@google.com
> >
> > > > wrote:
> > > > > > >
> > > > > > > > It looks like a problem with ifpc, but I can't figure out
> what
> > > > > exactly
> > > > > > > is
> > > > > > > > causing it. From the looks of things it might be related to
> > > > > something
> > > > > > > that
> > > > > > > > Zhen recently fixed, which is that we weren't using
> consistent
> > > > > > > assumptions
> > > > > > > > for the id / name of the iframe elements on the containing
> > page.
> > > > > > > >
> > > > > > > > Could you try it again using what's in the latest SVN
> > snapshot?
> > > > > > > >
> > > > > > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
> > > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > > >
> > > > > > > > > Did I got this this problem due to my coding or it is
> > Shindig
> > > > > > problem?
> > > > > > > >  If
> > > > > > > > > it is shindig problem,are they identified it and solving
> it?
> > > > > > > > >
> > > > > > > > > On Feb 14, 2008 12:07 AM, Cassie <do...@google.com> wrote:
> > > > > > > > >
> > > > > > > > > > Just want to let you know that these exceptions were
> > > > captured in
> > > > > > > this
> > > > > > > > > bug
> > > > > > > > > > here:
> > > > > > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > > > > > > >
> > > > > > > > > > I am able to reproduce the bug as well.
> > > > > > > > > >
> > > > > > > > > > - Cassie
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <
> > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > // Own layout manager
> > > > > > > > > > >
> > > > > > > > > > > gadgets.SortableLayoutManager = function(layoutRootId)
> {
> > > > > > > > > > >  gadgets.LayoutManager.call(this);
> > > > > > > > > > >  this.layoutRootId_ = (typeof layoutRootId ==
> "string")
> > ?
> > > > > > > > > > > _get(layoutRootId) : layoutRootId;
> > > > > > > > > > >  this.columns = this.layoutRootId_.length;
> > > > > > > > > > > };
> > > > > > > > > > >
> > > > > > > > > > > gadgets.SortableLayoutManager.inherits(
> > > > gadgets.LayoutManager);
> > > > > > > > > > >
> > > > > > > > > > >
> gadgets.SortableLayoutManager.prototype.getGadgetChrome=
> > > > > > > > > > function(gadget)
> > > > > > > > > > > {
> > > > > > > > > > >    minHeight = this.layoutRootId_[this.columns-1
> > > > > ].offsetHeight;
> > > > > > > > > > >    index = 0;
> > > > > > > > > > >    for(i=this.columns-1; i>=0; i--){
> > > > > > > > > > >        if(this.layoutRootId_[i].offsetHeight <=
> > > > minHeight){
> > > > > > > > > > >            minHeight = this.layoutRootId
> > _[i].offsetHeight;
> > > > > > > > > > >            index = i;
> > > > > > > > > > >        }
> > > > > > > > > > >    }
> > > > > > > > > > >    return this.layoutRootId_[index];
> > > > > > > > > > > };
> > > > > > > > > > >
> > > > > > > > > > > ********************************* Code ends
> > > > > > > > > > >
> > > > > > > > > > > _get returns elements by class
> > > > > > > > > > >
> > > > > > > > > > > Here I'm sending an array of three div elements,
> > > > > gadgetChromeId
> > > > > > > will
> > > > > > > > > be
> > > > > > > > > > > set
> > > > > > > > > > > to the column whose
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <et...@google.com>
> > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Without seeing your code, I really have no idea.
> > > > > > > > > > > >
> > > > > > > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <
> > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > >
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > I have created my own Layout Manager. If I use
> > > > > > > > > > FloatLeftLayoutManager,
> > > > > > > > > > > > > then
> > > > > > > > > > > > > it is working fine even in the page that I tested
> > > > > > previously.
> > > > > > > I
> > > > > > > > > > > haven't
> > > > > > > > > > > > > got
> > > > > > > > > > > > > the window.setTimeout error. But why I'm getting
> > this
> > > > > error
> > > > > > > when
> > > > > > > > I
> > > > > > > > > > use
> > > > > > > > > > > > my
> > > > > > > > > > > > > own layout manager?
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Feb 13, 2008 3:29 PM, Neo Anderson <
> > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > >
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Container page? I'm not using any container .
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <
> > > > etnu@google.com>
> > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I see the error in IE, but this looks like an
> > > > error
> > > > > > that's
> > > > > > > > > > popping
> > > > > > > > > > > > up
> > > > > > > > > > > > > on
> > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > gadget renders (I don't have an IE debugger
> > > > available
> > > > > > > right
> > > > > > > > > now
> > > > > > > > > > so
> > > > > > > > > > > > > I'll
> > > > > > > > > > > > > > > investigate tomorrow when I do). I can't find
> > > > anything
> > > > > > > > > > triggering
> > > > > > > > > > > > this
> > > > > > > > > > > > > > > window.setTimeout issue, though. Is this
> > happening
> > > > on
> > > > > a
> > > > > > > > > > container
> > > > > > > > > > > > page
> > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > you wrote yourself?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo Anderson <
> > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If I run the same example in IE, then it is
> > not
> > > > > > working.
> > > > > > > > It
> > > > > > > > > is
> > > > > > > > > > > > > > > displaying
> > > > > > > > > > > > > > > > JavaScript error "gadgets" is not defined.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo Anderson <
> > > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > No, I'm not getting any errors even I add
> > some
> > > > > more
> > > > > > > > > gadgets
> > > > > > > > > > in
> > > > > > > > > > > a
> > > > > > > > > > > > > > > single
> > > > > > > > > > > > > > > > > column. Any it is working fine. What might
> > br
> > > > the
> > > > > > > > problem?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <
> > > > > > etnu@google.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Do you get the error when hitting
> > > > > > > > > > > > > > > > > >
> > > > > > > > > >
> > > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > > > > > > > clicking
> > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Yes, I'm using latest snapshot. I'm
> > using
> > > > FF
> > > > > > > 2.0.12
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <
> > > > > > > > etnu@google.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > What browser are you seeing this in?
> > Are
> > > > you
> > > > > > > using
> > > > > > > > > the
> > > > > > > > > > > > > latest
> > > > > > > > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar
> <
> > > > > > > > > > > > > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > I also got the same problem...
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo
> > Anderson
> > > > <
> > > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > I'm getting *uncaught exception:
> > > > > > Permission
> > > > > > > > > denied
> > > > > > > > > > > to
> > > > > > > > > > > > > call
> > > > > > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > > > > > > Window.setTimeout *exception
> when
> > I
> > > > try
> > > > > to
> > > > > > > use
> > > > > > > > > > > Dynamic
> > > > > > > > > > > > > > > Height
> > > > > > > > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > > > > dynamic height is working. I'm
> > > > adding
> > > > > > > gadgets
> > > > > > > > to
> > > > > > > > > > my
> > > > > > > > > > > > web
> > > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > > > > > > > I'm able to add a gadget upon
> > > > clicking
> > > > > on
> > > > > > a
> > > > > > > > > > button.
> > > > > > > > > > > > But
> > > > > > > > > > > > > > > when I
> > > > > > > > > > > > > > > > > > place
> > > > > > > > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > > > > > > > gadgets in a column, then if the
> > > > gadget
> > > > > on
> > > > > > > top
> > > > > > > > > > needs
> > > > > > > > > > > > to
> > > > > > > > > > > > > > > adjust
> > > > > > > > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > > > > > > > then the gadget height height is
> > > > > adjusted
> > > > > > > and
> > > > > > > > > the
> > > > > > > > > > > > height
> > > > > > > > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > > > getting displayed and in this
> > case,
> > > > I'm
> > > > > > > > getting
> > > > > > > > > > the
> > > > > > > > > > > > > above
> > > > > > > > > > > > > > > said
> > > > > > > > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > If you received this email by
> mistake,
> > > > > please
> > > > > > > > delete
> > > > > > > > > > it,
> > > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > > account, destroy your hard drive,
> > > > silence
> > > > > any
> > > > > > > > > > witnesses,
> > > > > > > > > > > > and
> > > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If you received this email by mistake,
> > > > please
> > > > > > delete
> > > > > > > > it,
> > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > account, destroy your hard drive,
> silence
> > > > any
> > > > > > > > witnesses,
> > > > > > > > > > and
> > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > If you received this email by mistake, please
> > > > delete
> > > > > it,
> > > > > > > > > cancel
> > > > > > > > > > > your
> > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > > > witnesses,
> > > > > > > and
> > > > > > > > > > burn
> > > > > > > > > > > > down
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > ~Kevin
> > > > > > > > > > > >
> > > > > > > > > > > > If you received this email by mistake, please delete
> > it,
> > > > > > cancel
> > > > > > > > your
> > > > > > > > > > > mail
> > > > > > > > > > > > account, destroy your hard drive, silence any
> > witnesses,
> > > > and
> > > > > > > burn
> > > > > > > > > down
> > > > > > > > > > > the
> > > > > > > > > > > > building that you're in.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > ~Kevin
> > > > > > > >
> > > > > > > > If you received this email by mistake, please delete it,
> > cancel
> > > > your
> > > > > > > mail
> > > > > > > > account, destroy your hard drive, silence any witnesses, and
> > > > burn
> > > > > down
> > > > > > > the
> > > > > > > > building that you're in.
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > ~Kevin
> > > > > >
> > > > > > If you received this email by mistake, please delete it, cancel
> > your
> > > > > mail
> > > > > > account, destroy your hard drive, silence any witnesses, and
> burn
> > > > down
> > > > > the
> > > > > > building that you're in.
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > ~Kevin
> > > >
> > > > If you received this email by mistake, please delete it, cancel your
> > > > mail
> > > > account, destroy your hard drive, silence any witnesses, and burn
> down
> > > > the
> > > > building that you're in.
> > > >
> > >
> > >
> >
>
>
>
> --
> ~Kevin
>
> If you received this email by mistake, please delete it, cancel your mail
> account, destroy your hard drive, silence any witnesses, and burn down the
> building that you're in.
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Kevin Brown <et...@google.com>.
Go ahead and send your code that's causing problems and I'll see if I can
take a look.

The IE7 issue is known and being investigated (not your problem
specifically).

On Thu, Feb 14, 2008 at 12:33 AM, Neo Anderson <
neoanderson123@googlemail.com> wrote:

> It is working in FF with errors as said above. But in IE(v7.0), I got the
> error *Error: "gadgets" is undefined.* If the problem is with my script,
> then it must not work in FF. :-(
>
> On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson <
> neoanderson123@googlemail.com>
> wrote:
>
> > I replaced GADGET_IFRAME_PREFIX_ with default one. i.e.,
> "remote_iframe_"
> >
> > Do I need to use arbitrary moduleId's or can I make them user specific?
> >
> > Even now, after restoring the value of "GADGET_IFRAME_PREFIX_",  it is
> > working fine with sample6.html (I placed 6 gadgets and got them in two
> > rows.) And in this example, the gadget on top is able to adjust it's
> height.
> > But when I'm using my own Layout Manager, then The gadget on top is not
> > adjusting it's height and after adjusting it's height the adjusted part
> is
> > not visible.
> >
> > When ever I use my own layout manager(Code is posted in one of the
> > previous mesages), I'm getting *uncaught exception: Permission denied to
> > call method Window.setTimeout* error.
> >
> > Can I send my gadgets.js file and the html page that I am using?
> >
> >
> > On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown <et...@google.com> wrote:
> >
> > > Not with the current code -- it assumes that your iframe's id / name
> is
> > > remote_iframe_<module id>. (see:
> > >
> > >
> http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> > > )
> > >
> > > When the changes described in SHINDIG-22 and SHINDIG-44 are
> implemented
> > > you
> > > should be able to use whatever you want, but for now you have to
> follow
> > > this
> > > naming convention for the shindig ifpc-dependent features to work.
> > >
> > > On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson <
> > > neoanderson123@googlemail.com> wrote:
> > >
> > > > Can't I use my own gadget id?
> > > >
> > > > I won't change that GADGET_IFRAME_PREFIX_. Even now, do I need to
> use
> > > > arbitrary iframe id's?
> > > >
> > > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <et...@google.com>
> wrote:
> > > >
> > > > > Right now some things are hard coded to use the fixed iframe name
> > > > > assumptions (ported from igoogle). Work that I'm doing to deal
> with
> > > a
> > > > > unified configuration model (see SHINDIG-22 and SHINDIG-44 for
> > > details)
> > > > > should allow arbitrary iframe ids.
> > > > >
> > > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
> > > > > neoanderson123@googlemail.com> wrote:
> > > > >
> > > > > > Currently I'm using latest SVN snapshot. Actually, I update my
> > > code
> > > > > daily.
> > > > > > So, problem is not with my code. What if anybody wants to use a
> > > > > different
> > > > > > GADGET_IFRAME_PREFIX_? What happens if somebody sends id as a
> > > > parameter
> > > > > > and
> > > > > > use it as gadget id?
> > > > > >
> > > > > > Then iFrame id will be GADGET_IFRAME_PREFIX_ + id passed as
> > > parameter.
> > > > > >
> > > > > > Will this cause any problems?
> > > > > >
> > > > > >
> > > > > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <et...@google.com>
> > > wrote:
> > > > > >
> > > > > > > It looks like a problem with ifpc, but I can't figure out what
> > > > exactly
> > > > > > is
> > > > > > > causing it. From the looks of things it might be related to
> > > > something
> > > > > > that
> > > > > > > Zhen recently fixed, which is that we weren't using consistent
> > > > > > assumptions
> > > > > > > for the id / name of the iframe elements on the containing
> page.
> > > > > > >
> > > > > > > Could you try it again using what's in the latest SVN
> snapshot?
> > > > > > >
> > > > > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
> > > > > > > neoanderson123@googlemail.com> wrote:
> > > > > > >
> > > > > > > > Did I got this this problem due to my coding or it is
> Shindig
> > > > > problem?
> > > > > > >  If
> > > > > > > > it is shindig problem,are they identified it and solving it?
> > > > > > > >
> > > > > > > > On Feb 14, 2008 12:07 AM, Cassie <do...@google.com> wrote:
> > > > > > > >
> > > > > > > > > Just want to let you know that these exceptions were
> > > captured in
> > > > > > this
> > > > > > > > bug
> > > > > > > > > here:
> > > > > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > > > > > >
> > > > > > > > > I am able to reproduce the bug as well.
> > > > > > > > >
> > > > > > > > > - Cassie
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <
> > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > // Own layout manager
> > > > > > > > > >
> > > > > > > > > > gadgets.SortableLayoutManager = function(layoutRootId) {
> > > > > > > > > >  gadgets.LayoutManager.call(this);
> > > > > > > > > >  this.layoutRootId_ = (typeof layoutRootId == "string")
> ?
> > > > > > > > > > _get(layoutRootId) : layoutRootId;
> > > > > > > > > >  this.columns = this.layoutRootId_.length;
> > > > > > > > > > };
> > > > > > > > > >
> > > > > > > > > > gadgets.SortableLayoutManager.inherits(
> > > gadgets.LayoutManager);
> > > > > > > > > >
> > > > > > > > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome=
> > > > > > > > > function(gadget)
> > > > > > > > > > {
> > > > > > > > > >    minHeight = this.layoutRootId_[this.columns-1
> > > > ].offsetHeight;
> > > > > > > > > >    index = 0;
> > > > > > > > > >    for(i=this.columns-1; i>=0; i--){
> > > > > > > > > >        if(this.layoutRootId_[i].offsetHeight <=
> > > minHeight){
> > > > > > > > > >            minHeight = this.layoutRootId
> _[i].offsetHeight;
> > > > > > > > > >            index = i;
> > > > > > > > > >        }
> > > > > > > > > >    }
> > > > > > > > > >    return this.layoutRootId_[index];
> > > > > > > > > > };
> > > > > > > > > >
> > > > > > > > > > ********************************* Code ends
> > > > > > > > > >
> > > > > > > > > > _get returns elements by class
> > > > > > > > > >
> > > > > > > > > > Here I'm sending an array of three div elements,
> > > > gadgetChromeId
> > > > > > will
> > > > > > > > be
> > > > > > > > > > set
> > > > > > > > > > to the column whose
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <et...@google.com>
> > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Without seeing your code, I really have no idea.
> > > > > > > > > > >
> > > > > > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <
> > > > > > > neoanderson123@googlemail.com
> > > > > > > > >
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > I have created my own Layout Manager. If I use
> > > > > > > > > FloatLeftLayoutManager,
> > > > > > > > > > > > then
> > > > > > > > > > > > it is working fine even in the page that I tested
> > > > > previously.
> > > > > > I
> > > > > > > > > > haven't
> > > > > > > > > > > > got
> > > > > > > > > > > > the window.setTimeout error. But why I'm getting
> this
> > > > error
> > > > > > when
> > > > > > > I
> > > > > > > > > use
> > > > > > > > > > > my
> > > > > > > > > > > > own layout manager?
> > > > > > > > > > > >
> > > > > > > > > > > > On Feb 13, 2008 3:29 PM, Neo Anderson <
> > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > >
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Container page? I'm not using any container .
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <
> > > etnu@google.com>
> > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > I see the error in IE, but this looks like an
> > > error
> > > > > that's
> > > > > > > > > popping
> > > > > > > > > > > up
> > > > > > > > > > > > on
> > > > > > > > > > > > > > all
> > > > > > > > > > > > > > gadget renders (I don't have an IE debugger
> > > available
> > > > > > right
> > > > > > > > now
> > > > > > > > > so
> > > > > > > > > > > > I'll
> > > > > > > > > > > > > > investigate tomorrow when I do). I can't find
> > > anything
> > > > > > > > > triggering
> > > > > > > > > > > this
> > > > > > > > > > > > > > window.setTimeout issue, though. Is this
> happening
> > > on
> > > > a
> > > > > > > > > container
> > > > > > > > > > > page
> > > > > > > > > > > > > > that
> > > > > > > > > > > > > > you wrote yourself?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo Anderson <
> > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > >
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > If I run the same example in IE, then it is
> not
> > > > > working.
> > > > > > > It
> > > > > > > > is
> > > > > > > > > > > > > > displaying
> > > > > > > > > > > > > > > JavaScript error "gadgets" is not defined.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo Anderson <
> > > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > No, I'm not getting any errors even I add
> some
> > > > more
> > > > > > > > gadgets
> > > > > > > > > in
> > > > > > > > > > a
> > > > > > > > > > > > > > single
> > > > > > > > > > > > > > > > column. Any it is working fine. What might
> br
> > > the
> > > > > > > problem?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <
> > > > > etnu@google.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Do you get the error when hitting
> > > > > > > > > > > > > > > > >
> > > > > > > > >
> > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > > > > > > clicking
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Yes, I'm using latest snapshot. I'm
> using
> > > FF
> > > > > > 2.0.12
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <
> > > > > > > etnu@google.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > What browser are you seeing this in?
> Are
> > > you
> > > > > > using
> > > > > > > > the
> > > > > > > > > > > > latest
> > > > > > > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > > > > > > > > > > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I also got the same problem...
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo
> Anderson
> > > <
> > > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > I'm getting *uncaught exception:
> > > > > Permission
> > > > > > > > denied
> > > > > > > > > > to
> > > > > > > > > > > > call
> > > > > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > > > > > Window.setTimeout *exception when
> I
> > > try
> > > > to
> > > > > > use
> > > > > > > > > > Dynamic
> > > > > > > > > > > > > > Height
> > > > > > > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > > > dynamic height is working. I'm
> > > adding
> > > > > > gadgets
> > > > > > > to
> > > > > > > > > my
> > > > > > > > > > > web
> > > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > > > > > > I'm able to add a gadget upon
> > > clicking
> > > > on
> > > > > a
> > > > > > > > > button.
> > > > > > > > > > > But
> > > > > > > > > > > > > > when I
> > > > > > > > > > > > > > > > > place
> > > > > > > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > > > > > > gadgets in a column, then if the
> > > gadget
> > > > on
> > > > > > top
> > > > > > > > > needs
> > > > > > > > > > > to
> > > > > > > > > > > > > > adjust
> > > > > > > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > > > > > > then the gadget height height is
> > > > adjusted
> > > > > > and
> > > > > > > > the
> > > > > > > > > > > height
> > > > > > > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > > getting displayed and in this
> case,
> > > I'm
> > > > > > > getting
> > > > > > > > > the
> > > > > > > > > > > > above
> > > > > > > > > > > > > > said
> > > > > > > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > If you received this email by mistake,
> > > > please
> > > > > > > delete
> > > > > > > > > it,
> > > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > > account, destroy your hard drive,
> > > silence
> > > > any
> > > > > > > > > witnesses,
> > > > > > > > > > > and
> > > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If you received this email by mistake,
> > > please
> > > > > delete
> > > > > > > it,
> > > > > > > > > > > cancel
> > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > account, destroy your hard drive, silence
> > > any
> > > > > > > witnesses,
> > > > > > > > > and
> > > > > > > > > > > > burn
> > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > If you received this email by mistake, please
> > > delete
> > > > it,
> > > > > > > > cancel
> > > > > > > > > > your
> > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > > witnesses,
> > > > > > and
> > > > > > > > > burn
> > > > > > > > > > > down
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > ~Kevin
> > > > > > > > > > >
> > > > > > > > > > > If you received this email by mistake, please delete
> it,
> > > > > cancel
> > > > > > > your
> > > > > > > > > > mail
> > > > > > > > > > > account, destroy your hard drive, silence any
> witnesses,
> > > and
> > > > > > burn
> > > > > > > > down
> > > > > > > > > > the
> > > > > > > > > > > building that you're in.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > ~Kevin
> > > > > > >
> > > > > > > If you received this email by mistake, please delete it,
> cancel
> > > your
> > > > > > mail
> > > > > > > account, destroy your hard drive, silence any witnesses, and
> > > burn
> > > > down
> > > > > > the
> > > > > > > building that you're in.
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > ~Kevin
> > > > >
> > > > > If you received this email by mistake, please delete it, cancel
> your
> > > > mail
> > > > > account, destroy your hard drive, silence any witnesses, and burn
> > > down
> > > > the
> > > > > building that you're in.
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > ~Kevin
> > >
> > > If you received this email by mistake, please delete it, cancel your
> > > mail
> > > account, destroy your hard drive, silence any witnesses, and burn down
> > > the
> > > building that you're in.
> > >
> >
> >
>



-- 
~Kevin

If you received this email by mistake, please delete it, cancel your mail
account, destroy your hard drive, silence any witnesses, and burn down the
building that you're in.

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
It is working in FF with errors as said above. But in IE(v7.0), I got the
error *Error: "gadgets" is undefined.* If the problem is with my script,
then it must not work in FF. :-(

On Thu, Feb 14, 2008 at 1:59 PM, Neo Anderson <ne...@googlemail.com>
wrote:

> I replaced GADGET_IFRAME_PREFIX_ with default one. i.e., "remote_iframe_"
>
> Do I need to use arbitrary moduleId's or can I make them user specific?
>
> Even now, after restoring the value of "GADGET_IFRAME_PREFIX_",  it is
> working fine with sample6.html (I placed 6 gadgets and got them in two
> rows.) And in this example, the gadget on top is able to adjust it's height.
> But when I'm using my own Layout Manager, then The gadget on top is not
> adjusting it's height and after adjusting it's height the adjusted part is
> not visible.
>
> When ever I use my own layout manager(Code is posted in one of the
> previous mesages), I'm getting *uncaught exception: Permission denied to
> call method Window.setTimeout* error.
>
> Can I send my gadgets.js file and the html page that I am using?
>
>
> On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown <et...@google.com> wrote:
>
> > Not with the current code -- it assumes that your iframe's id / name is
> > remote_iframe_<module id>. (see:
> >
> > http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> > )
> >
> > When the changes described in SHINDIG-22 and SHINDIG-44 are implemented
> > you
> > should be able to use whatever you want, but for now you have to follow
> > this
> > naming convention for the shindig ifpc-dependent features to work.
> >
> > On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson <
> > neoanderson123@googlemail.com> wrote:
> >
> > > Can't I use my own gadget id?
> > >
> > > I won't change that GADGET_IFRAME_PREFIX_. Even now, do I need to use
> > > arbitrary iframe id's?
> > >
> > > On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <et...@google.com> wrote:
> > >
> > > > Right now some things are hard coded to use the fixed iframe name
> > > > assumptions (ported from igoogle). Work that I'm doing to deal with
> > a
> > > > unified configuration model (see SHINDIG-22 and SHINDIG-44 for
> > details)
> > > > should allow arbitrary iframe ids.
> > > >
> > > > On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
> > > > neoanderson123@googlemail.com> wrote:
> > > >
> > > > > Currently I'm using latest SVN snapshot. Actually, I update my
> > code
> > > > daily.
> > > > > So, problem is not with my code. What if anybody wants to use a
> > > > different
> > > > > GADGET_IFRAME_PREFIX_? What happens if somebody sends id as a
> > > parameter
> > > > > and
> > > > > use it as gadget id?
> > > > >
> > > > > Then iFrame id will be GADGET_IFRAME_PREFIX_ + id passed as
> > parameter.
> > > > >
> > > > > Will this cause any problems?
> > > > >
> > > > >
> > > > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <et...@google.com>
> > wrote:
> > > > >
> > > > > > It looks like a problem with ifpc, but I can't figure out what
> > > exactly
> > > > > is
> > > > > > causing it. From the looks of things it might be related to
> > > something
> > > > > that
> > > > > > Zhen recently fixed, which is that we weren't using consistent
> > > > > assumptions
> > > > > > for the id / name of the iframe elements on the containing page.
> > > > > >
> > > > > > Could you try it again using what's in the latest SVN snapshot?
> > > > > >
> > > > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
> > > > > > neoanderson123@googlemail.com> wrote:
> > > > > >
> > > > > > > Did I got this this problem due to my coding or it is Shindig
> > > > problem?
> > > > > >  If
> > > > > > > it is shindig problem,are they identified it and solving it?
> > > > > > >
> > > > > > > On Feb 14, 2008 12:07 AM, Cassie <do...@google.com> wrote:
> > > > > > >
> > > > > > > > Just want to let you know that these exceptions were
> > captured in
> > > > > this
> > > > > > > bug
> > > > > > > > here:
> > > > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > > > > >
> > > > > > > > I am able to reproduce the bug as well.
> > > > > > > >
> > > > > > > > - Cassie
> > > > > > > >
> > > > > > > >
> > > > > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <
> > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > // Own layout manager
> > > > > > > > >
> > > > > > > > > gadgets.SortableLayoutManager = function(layoutRootId) {
> > > > > > > > >  gadgets.LayoutManager.call(this);
> > > > > > > > >  this.layoutRootId_ = (typeof layoutRootId == "string") ?
> > > > > > > > > _get(layoutRootId) : layoutRootId;
> > > > > > > > >  this.columns = this.layoutRootId_.length;
> > > > > > > > > };
> > > > > > > > >
> > > > > > > > > gadgets.SortableLayoutManager.inherits(
> > gadgets.LayoutManager);
> > > > > > > > >
> > > > > > > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome =
> > > > > > > > function(gadget)
> > > > > > > > > {
> > > > > > > > >    minHeight = this.layoutRootId_[this.columns-1
> > > ].offsetHeight;
> > > > > > > > >    index = 0;
> > > > > > > > >    for(i=this.columns-1; i>=0; i--){
> > > > > > > > >        if(this.layoutRootId_[i].offsetHeight <=
> > minHeight){
> > > > > > > > >            minHeight = this.layoutRootId_[i].offsetHeight;
> > > > > > > > >            index = i;
> > > > > > > > >        }
> > > > > > > > >    }
> > > > > > > > >    return this.layoutRootId_[index];
> > > > > > > > > };
> > > > > > > > >
> > > > > > > > > ********************************* Code ends
> > > > > > > > >
> > > > > > > > > _get returns elements by class
> > > > > > > > >
> > > > > > > > > Here I'm sending an array of three div elements,
> > > gadgetChromeId
> > > > > will
> > > > > > > be
> > > > > > > > > set
> > > > > > > > > to the column whose
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <et...@google.com>
> > wrote:
> > > > > > > > >
> > > > > > > > > > Without seeing your code, I really have no idea.
> > > > > > > > > >
> > > > > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <
> > > > > > neoanderson123@googlemail.com
> > > > > > > >
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > I have created my own Layout Manager. If I use
> > > > > > > > FloatLeftLayoutManager,
> > > > > > > > > > > then
> > > > > > > > > > > it is working fine even in the page that I tested
> > > > previously.
> > > > > I
> > > > > > > > > haven't
> > > > > > > > > > > got
> > > > > > > > > > > the window.setTimeout error. But why I'm getting this
> > > error
> > > > > when
> > > > > > I
> > > > > > > > use
> > > > > > > > > > my
> > > > > > > > > > > own layout manager?
> > > > > > > > > > >
> > > > > > > > > > > On Feb 13, 2008 3:29 PM, Neo Anderson <
> > > > > > > neoanderson123@googlemail.com
> > > > > > > > >
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Container page? I'm not using any container .
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <
> > etnu@google.com>
> > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > I see the error in IE, but this looks like an
> > error
> > > > that's
> > > > > > > > popping
> > > > > > > > > > up
> > > > > > > > > > > on
> > > > > > > > > > > > > all
> > > > > > > > > > > > > gadget renders (I don't have an IE debugger
> > available
> > > > > right
> > > > > > > now
> > > > > > > > so
> > > > > > > > > > > I'll
> > > > > > > > > > > > > investigate tomorrow when I do). I can't find
> > anything
> > > > > > > > triggering
> > > > > > > > > > this
> > > > > > > > > > > > > window.setTimeout issue, though. Is this happening
> > on
> > > a
> > > > > > > > container
> > > > > > > > > > page
> > > > > > > > > > > > > that
> > > > > > > > > > > > > you wrote yourself?
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo Anderson <
> > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > >
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > If I run the same example in IE, then it is not
> > > > working.
> > > > > > It
> > > > > > > is
> > > > > > > > > > > > > displaying
> > > > > > > > > > > > > > JavaScript error "gadgets" is not defined.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo Anderson <
> > > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > > >
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > No, I'm not getting any errors even I add some
> > > more
> > > > > > > gadgets
> > > > > > > > in
> > > > > > > > > a
> > > > > > > > > > > > > single
> > > > > > > > > > > > > > > column. Any it is working fine. What might br
> > the
> > > > > > problem?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <
> > > > etnu@google.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Do you get the error when hitting
> > > > > > > > > > > > > > > >
> > > > > > > >
> > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > > > > > clicking
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Yes, I'm using latest snapshot. I'm using
> > FF
> > > > > 2.0.12
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <
> > > > > > etnu@google.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > What browser are you seeing this in? Are
> > you
> > > > > using
> > > > > > > the
> > > > > > > > > > > latest
> > > > > > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > > > > > > > > > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I also got the same problem...
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson
> > <
> > > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I'm getting *uncaught exception:
> > > > Permission
> > > > > > > denied
> > > > > > > > > to
> > > > > > > > > > > call
> > > > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > > > > Window.setTimeout *exception when I
> > try
> > > to
> > > > > use
> > > > > > > > > Dynamic
> > > > > > > > > > > > > Height
> > > > > > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > > dynamic height is working. I'm
> > adding
> > > > > gadgets
> > > > > > to
> > > > > > > > my
> > > > > > > > > > web
> > > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > > > > > I'm able to add a gadget upon
> > clicking
> > > on
> > > > a
> > > > > > > > button.
> > > > > > > > > > But
> > > > > > > > > > > > > when I
> > > > > > > > > > > > > > > > place
> > > > > > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > > > > > gadgets in a column, then if the
> > gadget
> > > on
> > > > > top
> > > > > > > > needs
> > > > > > > > > > to
> > > > > > > > > > > > > adjust
> > > > > > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > > > > > then the gadget height height is
> > > adjusted
> > > > > and
> > > > > > > the
> > > > > > > > > > height
> > > > > > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > getting displayed and in this case,
> > I'm
> > > > > > getting
> > > > > > > > the
> > > > > > > > > > > above
> > > > > > > > > > > > > said
> > > > > > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If you received this email by mistake,
> > > please
> > > > > > delete
> > > > > > > > it,
> > > > > > > > > > > > > cancel
> > > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > > account, destroy your hard drive,
> > silence
> > > any
> > > > > > > > witnesses,
> > > > > > > > > > and
> > > > > > > > > > > > > burn
> > > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If you received this email by mistake,
> > please
> > > > delete
> > > > > > it,
> > > > > > > > > > cancel
> > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > account, destroy your hard drive, silence
> > any
> > > > > > witnesses,
> > > > > > > > and
> > > > > > > > > > > burn
> > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > >
> > > > > > > > > > > > > If you received this email by mistake, please
> > delete
> > > it,
> > > > > > > cancel
> > > > > > > > > your
> > > > > > > > > > > > > mail
> > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > witnesses,
> > > > > and
> > > > > > > > burn
> > > > > > > > > > down
> > > > > > > > > > > > > the
> > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > ~Kevin
> > > > > > > > > >
> > > > > > > > > > If you received this email by mistake, please delete it,
> > > > cancel
> > > > > > your
> > > > > > > > > mail
> > > > > > > > > > account, destroy your hard drive, silence any witnesses,
> > and
> > > > > burn
> > > > > > > down
> > > > > > > > > the
> > > > > > > > > > building that you're in.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > ~Kevin
> > > > > >
> > > > > > If you received this email by mistake, please delete it, cancel
> > your
> > > > > mail
> > > > > > account, destroy your hard drive, silence any witnesses, and
> > burn
> > > down
> > > > > the
> > > > > > building that you're in.
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > ~Kevin
> > > >
> > > > If you received this email by mistake, please delete it, cancel your
> > > mail
> > > > account, destroy your hard drive, silence any witnesses, and burn
> > down
> > > the
> > > > building that you're in.
> > > >
> > >
> >
> >
> >
> > --
> > ~Kevin
> >
> > If you received this email by mistake, please delete it, cancel your
> > mail
> > account, destroy your hard drive, silence any witnesses, and burn down
> > the
> > building that you're in.
> >
>
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
I replaced GADGET_IFRAME_PREFIX_ with default one. i.e., "remote_iframe_"

Do I need to use arbitrary moduleId's or can I make them user specific?

Even now, after restoring the value of "GADGET_IFRAME_PREFIX_",  it is
working fine with sample6.html (I placed 6 gadgets and got them in two
rows.) And in this example, the gadget on top is able to adjust it's height.
But when I'm using my own Layout Manager, then The gadget on top is not
adjusting it's height and after adjusting it's height the adjusted part is
not visible.

When ever I use my own layout manager(Code is posted in one of the previous
mesages), I'm getting *uncaught exception: Permission denied to call method
Window.setTimeout* error.

Can I send my gadgets.js file and the html page that I am using?

On Thu, Feb 14, 2008 at 1:42 PM, Kevin Brown <et...@google.com> wrote:

> Not with the current code -- it assumes that your iframe's id / name is
> remote_iframe_<module id>. (see:
>
> http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
> )
>
> When the changes described in SHINDIG-22 and SHINDIG-44 are implemented
> you
> should be able to use whatever you want, but for now you have to follow
> this
> naming convention for the shindig ifpc-dependent features to work.
>
> On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson <
> neoanderson123@googlemail.com> wrote:
>
> > Can't I use my own gadget id?
> >
> > I won't change that GADGET_IFRAME_PREFIX_. Even now, do I need to use
> > arbitrary iframe id's?
> >
> > On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <et...@google.com> wrote:
> >
> > > Right now some things are hard coded to use the fixed iframe name
> > > assumptions (ported from igoogle). Work that I'm doing to deal with a
> > > unified configuration model (see SHINDIG-22 and SHINDIG-44 for
> details)
> > > should allow arbitrary iframe ids.
> > >
> > > On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
> > > neoanderson123@googlemail.com> wrote:
> > >
> > > > Currently I'm using latest SVN snapshot. Actually, I update my code
> > > daily.
> > > > So, problem is not with my code. What if anybody wants to use a
> > > different
> > > > GADGET_IFRAME_PREFIX_? What happens if somebody sends id as a
> > parameter
> > > > and
> > > > use it as gadget id?
> > > >
> > > > Then iFrame id will be GADGET_IFRAME_PREFIX_ + id passed as
> parameter.
> > > >
> > > > Will this cause any problems?
> > > >
> > > >
> > > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <et...@google.com>
> wrote:
> > > >
> > > > > It looks like a problem with ifpc, but I can't figure out what
> > exactly
> > > > is
> > > > > causing it. From the looks of things it might be related to
> > something
> > > > that
> > > > > Zhen recently fixed, which is that we weren't using consistent
> > > > assumptions
> > > > > for the id / name of the iframe elements on the containing page.
> > > > >
> > > > > Could you try it again using what's in the latest SVN snapshot?
> > > > >
> > > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
> > > > > neoanderson123@googlemail.com> wrote:
> > > > >
> > > > > > Did I got this this problem due to my coding or it is Shindig
> > > problem?
> > > > >  If
> > > > > > it is shindig problem,are they identified it and solving it?
> > > > > >
> > > > > > On Feb 14, 2008 12:07 AM, Cassie <do...@google.com> wrote:
> > > > > >
> > > > > > > Just want to let you know that these exceptions were captured
> in
> > > > this
> > > > > > bug
> > > > > > > here:
> > > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > > > >
> > > > > > > I am able to reproduce the bug as well.
> > > > > > >
> > > > > > > - Cassie
> > > > > > >
> > > > > > >
> > > > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <
> > > > > > > neoanderson123@googlemail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > // Own layout manager
> > > > > > > >
> > > > > > > > gadgets.SortableLayoutManager = function(layoutRootId) {
> > > > > > > >  gadgets.LayoutManager.call(this);
> > > > > > > >  this.layoutRootId_ = (typeof layoutRootId == "string") ?
> > > > > > > > _get(layoutRootId) : layoutRootId;
> > > > > > > >  this.columns = this.layoutRootId_.length;
> > > > > > > > };
> > > > > > > >
> > > > > > > > gadgets.SortableLayoutManager.inherits(gadgets.LayoutManager
> );
> > > > > > > >
> > > > > > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome =
> > > > > > > function(gadget)
> > > > > > > > {
> > > > > > > >    minHeight = this.layoutRootId_[this.columns-1
> > ].offsetHeight;
> > > > > > > >    index = 0;
> > > > > > > >    for(i=this.columns-1; i>=0; i--){
> > > > > > > >        if(this.layoutRootId_[i].offsetHeight <= minHeight){
> > > > > > > >            minHeight = this.layoutRootId_[i].offsetHeight;
> > > > > > > >            index = i;
> > > > > > > >        }
> > > > > > > >    }
> > > > > > > >    return this.layoutRootId_[index];
> > > > > > > > };
> > > > > > > >
> > > > > > > > ********************************* Code ends
> > > > > > > >
> > > > > > > > _get returns elements by class
> > > > > > > >
> > > > > > > > Here I'm sending an array of three div elements,
> > gadgetChromeId
> > > > will
> > > > > > be
> > > > > > > > set
> > > > > > > > to the column whose
> > > > > > > >
> > > > > > > >
> > > > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <et...@google.com>
> wrote:
> > > > > > > >
> > > > > > > > > Without seeing your code, I really have no idea.
> > > > > > > > >
> > > > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <
> > > > > neoanderson123@googlemail.com
> > > > > > >
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > I have created my own Layout Manager. If I use
> > > > > > > FloatLeftLayoutManager,
> > > > > > > > > > then
> > > > > > > > > > it is working fine even in the page that I tested
> > > previously.
> > > > I
> > > > > > > > haven't
> > > > > > > > > > got
> > > > > > > > > > the window.setTimeout error. But why I'm getting this
> > error
> > > > when
> > > > > I
> > > > > > > use
> > > > > > > > > my
> > > > > > > > > > own layout manager?
> > > > > > > > > >
> > > > > > > > > > On Feb 13, 2008 3:29 PM, Neo Anderson <
> > > > > > neoanderson123@googlemail.com
> > > > > > > >
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Container page? I'm not using any container .
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <et...@google.com>
> > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > I see the error in IE, but this looks like an error
> > > that's
> > > > > > > popping
> > > > > > > > > up
> > > > > > > > > > on
> > > > > > > > > > > > all
> > > > > > > > > > > > gadget renders (I don't have an IE debugger
> available
> > > > right
> > > > > > now
> > > > > > > so
> > > > > > > > > > I'll
> > > > > > > > > > > > investigate tomorrow when I do). I can't find
> anything
> > > > > > > triggering
> > > > > > > > > this
> > > > > > > > > > > > window.setTimeout issue, though. Is this happening
> on
> > a
> > > > > > > container
> > > > > > > > > page
> > > > > > > > > > > > that
> > > > > > > > > > > > you wrote yourself?
> > > > > > > > > > > >
> > > > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo Anderson <
> > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > >
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > If I run the same example in IE, then it is not
> > > working.
> > > > > It
> > > > > > is
> > > > > > > > > > > > displaying
> > > > > > > > > > > > > JavaScript error "gadgets" is not defined.
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo Anderson <
> > > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > > >
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > No, I'm not getting any errors even I add some
> > more
> > > > > > gadgets
> > > > > > > in
> > > > > > > > a
> > > > > > > > > > > > single
> > > > > > > > > > > > > > column. Any it is working fine. What might br
> the
> > > > > problem?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <
> > > etnu@google.com>
> > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Do you get the error when hitting
> > > > > > > > > > > > > > >
> > > > > > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > > > > clicking
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Yes, I'm using latest snapshot. I'm using FF
> > > > 2.0.12
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <
> > > > > etnu@google.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > What browser are you seeing this in? Are
> you
> > > > using
> > > > > > the
> > > > > > > > > > latest
> > > > > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > > > > > > > > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I also got the same problem...
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson <
> > > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I'm getting *uncaught exception:
> > > Permission
> > > > > > denied
> > > > > > > > to
> > > > > > > > > > call
> > > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > > > Window.setTimeout *exception when I
> try
> > to
> > > > use
> > > > > > > > Dynamic
> > > > > > > > > > > > Height
> > > > > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > > dynamic height is working. I'm adding
> > > > gadgets
> > > > > to
> > > > > > > my
> > > > > > > > > web
> > > > > > > > > > > > page
> > > > > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > > > > I'm able to add a gadget upon clicking
> > on
> > > a
> > > > > > > button.
> > > > > > > > > But
> > > > > > > > > > > > when I
> > > > > > > > > > > > > > > place
> > > > > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > > > > gadgets in a column, then if the
> gadget
> > on
> > > > top
> > > > > > > needs
> > > > > > > > > to
> > > > > > > > > > > > adjust
> > > > > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > > > > then the gadget height height is
> > adjusted
> > > > and
> > > > > > the
> > > > > > > > > height
> > > > > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > getting displayed and in this case,
> I'm
> > > > > getting
> > > > > > > the
> > > > > > > > > > above
> > > > > > > > > > > > said
> > > > > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If you received this email by mistake,
> > please
> > > > > delete
> > > > > > > it,
> > > > > > > > > > > > cancel
> > > > > > > > > > > > > your
> > > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > > account, destroy your hard drive, silence
> > any
> > > > > > > witnesses,
> > > > > > > > > and
> > > > > > > > > > > > burn
> > > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > If you received this email by mistake, please
> > > delete
> > > > > it,
> > > > > > > > > cancel
> > > > > > > > > > > > your
> > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > > > witnesses,
> > > > > > > and
> > > > > > > > > > burn
> > > > > > > > > > > > down
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > ~Kevin
> > > > > > > > > > > >
> > > > > > > > > > > > If you received this email by mistake, please delete
> > it,
> > > > > > cancel
> > > > > > > > your
> > > > > > > > > > > > mail
> > > > > > > > > > > > account, destroy your hard drive, silence any
> > witnesses,
> > > > and
> > > > > > > burn
> > > > > > > > > down
> > > > > > > > > > > > the
> > > > > > > > > > > > building that you're in.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > ~Kevin
> > > > > > > > >
> > > > > > > > > If you received this email by mistake, please delete it,
> > > cancel
> > > > > your
> > > > > > > > mail
> > > > > > > > > account, destroy your hard drive, silence any witnesses,
> and
> > > > burn
> > > > > > down
> > > > > > > > the
> > > > > > > > > building that you're in.
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > ~Kevin
> > > > >
> > > > > If you received this email by mistake, please delete it, cancel
> your
> > > > mail
> > > > > account, destroy your hard drive, silence any witnesses, and burn
> > down
> > > > the
> > > > > building that you're in.
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > ~Kevin
> > >
> > > If you received this email by mistake, please delete it, cancel your
> > mail
> > > account, destroy your hard drive, silence any witnesses, and burn down
> > the
> > > building that you're in.
> > >
> >
>
>
>
> --
> ~Kevin
>
> If you received this email by mistake, please delete it, cancel your mail
> account, destroy your hard drive, silence any witnesses, and burn down the
> building that you're in.
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Kevin Brown <et...@google.com>.
Not with the current code -- it assumes that your iframe's id / name is
remote_iframe_<module id>. (see:
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
)

When the changes described in SHINDIG-22 and SHINDIG-44 are implemented you
should be able to use whatever you want, but for now you have to follow this
naming convention for the shindig ifpc-dependent features to work.

On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson <
neoanderson123@googlemail.com> wrote:

> Can't I use my own gadget id?
>
> I won't change that GADGET_IFRAME_PREFIX_. Even now, do I need to use
> arbitrary iframe id's?
>
> On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <et...@google.com> wrote:
>
> > Right now some things are hard coded to use the fixed iframe name
> > assumptions (ported from igoogle). Work that I'm doing to deal with a
> > unified configuration model (see SHINDIG-22 and SHINDIG-44 for details)
> > should allow arbitrary iframe ids.
> >
> > On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
> > neoanderson123@googlemail.com> wrote:
> >
> > > Currently I'm using latest SVN snapshot. Actually, I update my code
> > daily.
> > > So, problem is not with my code. What if anybody wants to use a
> > different
> > > GADGET_IFRAME_PREFIX_? What happens if somebody sends id as a
> parameter
> > > and
> > > use it as gadget id?
> > >
> > > Then iFrame id will be GADGET_IFRAME_PREFIX_ + id passed as parameter.
> > >
> > > Will this cause any problems?
> > >
> > >
> > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <et...@google.com> wrote:
> > >
> > > > It looks like a problem with ifpc, but I can't figure out what
> exactly
> > > is
> > > > causing it. From the looks of things it might be related to
> something
> > > that
> > > > Zhen recently fixed, which is that we weren't using consistent
> > > assumptions
> > > > for the id / name of the iframe elements on the containing page.
> > > >
> > > > Could you try it again using what's in the latest SVN snapshot?
> > > >
> > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
> > > > neoanderson123@googlemail.com> wrote:
> > > >
> > > > > Did I got this this problem due to my coding or it is Shindig
> > problem?
> > > >  If
> > > > > it is shindig problem,are they identified it and solving it?
> > > > >
> > > > > On Feb 14, 2008 12:07 AM, Cassie <do...@google.com> wrote:
> > > > >
> > > > > > Just want to let you know that these exceptions were captured in
> > > this
> > > > > bug
> > > > > > here:
> > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > > >
> > > > > > I am able to reproduce the bug as well.
> > > > > >
> > > > > > - Cassie
> > > > > >
> > > > > >
> > > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <
> > > > > > neoanderson123@googlemail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > // Own layout manager
> > > > > > >
> > > > > > > gadgets.SortableLayoutManager = function(layoutRootId) {
> > > > > > >  gadgets.LayoutManager.call(this);
> > > > > > >  this.layoutRootId_ = (typeof layoutRootId == "string") ?
> > > > > > > _get(layoutRootId) : layoutRootId;
> > > > > > >  this.columns = this.layoutRootId_.length;
> > > > > > > };
> > > > > > >
> > > > > > > gadgets.SortableLayoutManager.inherits(gadgets.LayoutManager);
> > > > > > >
> > > > > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome =
> > > > > > function(gadget)
> > > > > > > {
> > > > > > >    minHeight = this.layoutRootId_[this.columns-1
> ].offsetHeight;
> > > > > > >    index = 0;
> > > > > > >    for(i=this.columns-1; i>=0; i--){
> > > > > > >        if(this.layoutRootId_[i].offsetHeight <= minHeight){
> > > > > > >            minHeight = this.layoutRootId_[i].offsetHeight;
> > > > > > >            index = i;
> > > > > > >        }
> > > > > > >    }
> > > > > > >    return this.layoutRootId_[index];
> > > > > > > };
> > > > > > >
> > > > > > > ********************************* Code ends
> > > > > > >
> > > > > > > _get returns elements by class
> > > > > > >
> > > > > > > Here I'm sending an array of three div elements,
> gadgetChromeId
> > > will
> > > > > be
> > > > > > > set
> > > > > > > to the column whose
> > > > > > >
> > > > > > >
> > > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <et...@google.com> wrote:
> > > > > > >
> > > > > > > > Without seeing your code, I really have no idea.
> > > > > > > >
> > > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <
> > > > neoanderson123@googlemail.com
> > > > > >
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > I have created my own Layout Manager. If I use
> > > > > > FloatLeftLayoutManager,
> > > > > > > > > then
> > > > > > > > > it is working fine even in the page that I tested
> > previously.
> > > I
> > > > > > > haven't
> > > > > > > > > got
> > > > > > > > > the window.setTimeout error. But why I'm getting this
> error
> > > when
> > > > I
> > > > > > use
> > > > > > > > my
> > > > > > > > > own layout manager?
> > > > > > > > >
> > > > > > > > > On Feb 13, 2008 3:29 PM, Neo Anderson <
> > > > > neoanderson123@googlemail.com
> > > > > > >
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Container page? I'm not using any container .
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <et...@google.com>
> > > wrote:
> > > > > > > > > >
> > > > > > > > > > > I see the error in IE, but this looks like an error
> > that's
> > > > > > popping
> > > > > > > > up
> > > > > > > > > on
> > > > > > > > > > > all
> > > > > > > > > > > gadget renders (I don't have an IE debugger available
> > > right
> > > > > now
> > > > > > so
> > > > > > > > > I'll
> > > > > > > > > > > investigate tomorrow when I do). I can't find anything
> > > > > > triggering
> > > > > > > > this
> > > > > > > > > > > window.setTimeout issue, though. Is this happening on
> a
> > > > > > container
> > > > > > > > page
> > > > > > > > > > > that
> > > > > > > > > > > you wrote yourself?
> > > > > > > > > > >
> > > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo Anderson <
> > > > > > > neoanderson123@googlemail.com
> > > > > > > > >
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > If I run the same example in IE, then it is not
> > working.
> > > > It
> > > > > is
> > > > > > > > > > > displaying
> > > > > > > > > > > > JavaScript error "gadgets" is not defined.
> > > > > > > > > > > >
> > > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo Anderson <
> > > > > > > > neoanderson123@googlemail.com
> > > > > > > > > >
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > No, I'm not getting any errors even I add some
> more
> > > > > gadgets
> > > > > > in
> > > > > > > a
> > > > > > > > > > > single
> > > > > > > > > > > > > column. Any it is working fine. What might br the
> > > > problem?
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <
> > etnu@google.com>
> > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Do you get the error when hitting
> > > > > > > > > > > > > >
> > > > > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > > > clicking
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Yes, I'm using latest snapshot. I'm using FF
> > > 2.0.12
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <
> > > > etnu@google.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > What browser are you seeing this in? Are you
> > > using
> > > > > the
> > > > > > > > > latest
> > > > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > > > > > > > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I also got the same problem...
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson <
> > > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I'm getting *uncaught exception:
> > Permission
> > > > > denied
> > > > > > > to
> > > > > > > > > call
> > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > > Window.setTimeout *exception when I try
> to
> > > use
> > > > > > > Dynamic
> > > > > > > > > > > Height
> > > > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > dynamic height is working. I'm adding
> > > gadgets
> > > > to
> > > > > > my
> > > > > > > > web
> > > > > > > > > > > page
> > > > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > > > I'm able to add a gadget upon clicking
> on
> > a
> > > > > > button.
> > > > > > > > But
> > > > > > > > > > > when I
> > > > > > > > > > > > > > place
> > > > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > > > gadgets in a column, then if the gadget
> on
> > > top
> > > > > > needs
> > > > > > > > to
> > > > > > > > > > > adjust
> > > > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > > > then the gadget height height is
> adjusted
> > > and
> > > > > the
> > > > > > > > height
> > > > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > getting displayed and in this case, I'm
> > > > getting
> > > > > > the
> > > > > > > > > above
> > > > > > > > > > > said
> > > > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If you received this email by mistake,
> please
> > > > delete
> > > > > > it,
> > > > > > > > > > > cancel
> > > > > > > > > > > > your
> > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > account, destroy your hard drive, silence
> any
> > > > > > witnesses,
> > > > > > > > and
> > > > > > > > > > > burn
> > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > If you received this email by mistake, please
> > delete
> > > > it,
> > > > > > > > cancel
> > > > > > > > > > > your
> > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > > witnesses,
> > > > > > and
> > > > > > > > > burn
> > > > > > > > > > > down
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > ~Kevin
> > > > > > > > > > >
> > > > > > > > > > > If you received this email by mistake, please delete
> it,
> > > > > cancel
> > > > > > > your
> > > > > > > > > > > mail
> > > > > > > > > > > account, destroy your hard drive, silence any
> witnesses,
> > > and
> > > > > > burn
> > > > > > > > down
> > > > > > > > > > > the
> > > > > > > > > > > building that you're in.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > ~Kevin
> > > > > > > >
> > > > > > > > If you received this email by mistake, please delete it,
> > cancel
> > > > your
> > > > > > > mail
> > > > > > > > account, destroy your hard drive, silence any witnesses, and
> > > burn
> > > > > down
> > > > > > > the
> > > > > > > > building that you're in.
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > ~Kevin
> > > >
> > > > If you received this email by mistake, please delete it, cancel your
> > > mail
> > > > account, destroy your hard drive, silence any witnesses, and burn
> down
> > > the
> > > > building that you're in.
> > > >
> > >
> >
> >
> >
> > --
> > ~Kevin
> >
> > If you received this email by mistake, please delete it, cancel your
> mail
> > account, destroy your hard drive, silence any witnesses, and burn down
> the
> > building that you're in.
> >
>



-- 
~Kevin

If you received this email by mistake, please delete it, cancel your mail
account, destroy your hard drive, silence any witnesses, and burn down the
building that you're in.

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
Can't I use my own gadget id?

I won't change that GADGET_IFRAME_PREFIX_. Even now, do I need to use
arbitrary iframe id's?

On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <et...@google.com> wrote:

> Right now some things are hard coded to use the fixed iframe name
> assumptions (ported from igoogle). Work that I'm doing to deal with a
> unified configuration model (see SHINDIG-22 and SHINDIG-44 for details)
> should allow arbitrary iframe ids.
>
> On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
> neoanderson123@googlemail.com> wrote:
>
> > Currently I'm using latest SVN snapshot. Actually, I update my code
> daily.
> > So, problem is not with my code. What if anybody wants to use a
> different
> > GADGET_IFRAME_PREFIX_? What happens if somebody sends id as a parameter
> > and
> > use it as gadget id?
> >
> > Then iFrame id will be GADGET_IFRAME_PREFIX_ + id passed as parameter.
> >
> > Will this cause any problems?
> >
> >
> > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <et...@google.com> wrote:
> >
> > > It looks like a problem with ifpc, but I can't figure out what exactly
> > is
> > > causing it. From the looks of things it might be related to something
> > that
> > > Zhen recently fixed, which is that we weren't using consistent
> > assumptions
> > > for the id / name of the iframe elements on the containing page.
> > >
> > > Could you try it again using what's in the latest SVN snapshot?
> > >
> > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
> > > neoanderson123@googlemail.com> wrote:
> > >
> > > > Did I got this this problem due to my coding or it is Shindig
> problem?
> > >  If
> > > > it is shindig problem,are they identified it and solving it?
> > > >
> > > > On Feb 14, 2008 12:07 AM, Cassie <do...@google.com> wrote:
> > > >
> > > > > Just want to let you know that these exceptions were captured in
> > this
> > > > bug
> > > > > here:
> > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > >
> > > > > I am able to reproduce the bug as well.
> > > > >
> > > > > - Cassie
> > > > >
> > > > >
> > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <
> > > > > neoanderson123@googlemail.com>
> > > > > wrote:
> > > > >
> > > > > > // Own layout manager
> > > > > >
> > > > > > gadgets.SortableLayoutManager = function(layoutRootId) {
> > > > > >  gadgets.LayoutManager.call(this);
> > > > > >  this.layoutRootId_ = (typeof layoutRootId == "string") ?
> > > > > > _get(layoutRootId) : layoutRootId;
> > > > > >  this.columns = this.layoutRootId_.length;
> > > > > > };
> > > > > >
> > > > > > gadgets.SortableLayoutManager.inherits(gadgets.LayoutManager);
> > > > > >
> > > > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome =
> > > > > function(gadget)
> > > > > > {
> > > > > >    minHeight = this.layoutRootId_[this.columns-1].offsetHeight;
> > > > > >    index = 0;
> > > > > >    for(i=this.columns-1; i>=0; i--){
> > > > > >        if(this.layoutRootId_[i].offsetHeight <= minHeight){
> > > > > >            minHeight = this.layoutRootId_[i].offsetHeight;
> > > > > >            index = i;
> > > > > >        }
> > > > > >    }
> > > > > >    return this.layoutRootId_[index];
> > > > > > };
> > > > > >
> > > > > > ********************************* Code ends
> > > > > >
> > > > > > _get returns elements by class
> > > > > >
> > > > > > Here I'm sending an array of three div elements, gadgetChromeId
> > will
> > > > be
> > > > > > set
> > > > > > to the column whose
> > > > > >
> > > > > >
> > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <et...@google.com> wrote:
> > > > > >
> > > > > > > Without seeing your code, I really have no idea.
> > > > > > >
> > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <
> > > neoanderson123@googlemail.com
> > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > > > I have created my own Layout Manager. If I use
> > > > > FloatLeftLayoutManager,
> > > > > > > > then
> > > > > > > > it is working fine even in the page that I tested
> previously.
> > I
> > > > > > haven't
> > > > > > > > got
> > > > > > > > the window.setTimeout error. But why I'm getting this error
> > when
> > > I
> > > > > use
> > > > > > > my
> > > > > > > > own layout manager?
> > > > > > > >
> > > > > > > > On Feb 13, 2008 3:29 PM, Neo Anderson <
> > > > neoanderson123@googlemail.com
> > > > > >
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Container page? I'm not using any container .
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <et...@google.com>
> > wrote:
> > > > > > > > >
> > > > > > > > > > I see the error in IE, but this looks like an error
> that's
> > > > > popping
> > > > > > > up
> > > > > > > > on
> > > > > > > > > > all
> > > > > > > > > > gadget renders (I don't have an IE debugger available
> > right
> > > > now
> > > > > so
> > > > > > > > I'll
> > > > > > > > > > investigate tomorrow when I do). I can't find anything
> > > > > triggering
> > > > > > > this
> > > > > > > > > > window.setTimeout issue, though. Is this happening on a
> > > > > container
> > > > > > > page
> > > > > > > > > > that
> > > > > > > > > > you wrote yourself?
> > > > > > > > > >
> > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo Anderson <
> > > > > > neoanderson123@googlemail.com
> > > > > > > >
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > If I run the same example in IE, then it is not
> working.
> > > It
> > > > is
> > > > > > > > > > displaying
> > > > > > > > > > > JavaScript error "gadgets" is not defined.
> > > > > > > > > > >
> > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo Anderson <
> > > > > > > neoanderson123@googlemail.com
> > > > > > > > >
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > No, I'm not getting any errors even I add some more
> > > > gadgets
> > > > > in
> > > > > > a
> > > > > > > > > > single
> > > > > > > > > > > > column. Any it is working fine. What might br the
> > > problem?
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <
> etnu@google.com>
> > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Do you get the error when hitting
> > > > > > > > > > > > >
> > > > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > > clicking
> > > > > > > > > > > > > the
> > > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Yes, I'm using latest snapshot. I'm using FF
> > 2.0.12
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <
> > > etnu@google.com>
> > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > What browser are you seeing this in? Are you
> > using
> > > > the
> > > > > > > > latest
> > > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > > > > > > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I also got the same problem...
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson <
> > > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I'm getting *uncaught exception:
> Permission
> > > > denied
> > > > > > to
> > > > > > > > call
> > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > Window.setTimeout *exception when I try to
> > use
> > > > > > Dynamic
> > > > > > > > > > Height
> > > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > dynamic height is working. I'm adding
> > gadgets
> > > to
> > > > > my
> > > > > > > web
> > > > > > > > > > page
> > > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > > I'm able to add a gadget upon clicking on
> a
> > > > > button.
> > > > > > > But
> > > > > > > > > > when I
> > > > > > > > > > > > > place
> > > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > > gadgets in a column, then if the gadget on
> > top
> > > > > needs
> > > > > > > to
> > > > > > > > > > adjust
> > > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > > then the gadget height height is adjusted
> > and
> > > > the
> > > > > > > height
> > > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > getting displayed and in this case, I'm
> > > getting
> > > > > the
> > > > > > > > above
> > > > > > > > > > said
> > > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > If you received this email by mistake, please
> > > delete
> > > > > it,
> > > > > > > > > > cancel
> > > > > > > > > > > your
> > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > > > witnesses,
> > > > > > > and
> > > > > > > > > > burn
> > > > > > > > > > > > > down
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > >
> > > > > > > > > > > > > If you received this email by mistake, please
> delete
> > > it,
> > > > > > > cancel
> > > > > > > > > > your
> > > > > > > > > > > > > mail
> > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > witnesses,
> > > > > and
> > > > > > > > burn
> > > > > > > > > > down
> > > > > > > > > > > > > the
> > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > ~Kevin
> > > > > > > > > >
> > > > > > > > > > If you received this email by mistake, please delete it,
> > > > cancel
> > > > > > your
> > > > > > > > > > mail
> > > > > > > > > > account, destroy your hard drive, silence any witnesses,
> > and
> > > > > burn
> > > > > > > down
> > > > > > > > > > the
> > > > > > > > > > building that you're in.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > ~Kevin
> > > > > > >
> > > > > > > If you received this email by mistake, please delete it,
> cancel
> > > your
> > > > > > mail
> > > > > > > account, destroy your hard drive, silence any witnesses, and
> > burn
> > > > down
> > > > > > the
> > > > > > > building that you're in.
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > ~Kevin
> > >
> > > If you received this email by mistake, please delete it, cancel your
> > mail
> > > account, destroy your hard drive, silence any witnesses, and burn down
> > the
> > > building that you're in.
> > >
> >
>
>
>
> --
> ~Kevin
>
> If you received this email by mistake, please delete it, cancel your mail
> account, destroy your hard drive, silence any witnesses, and burn down the
> building that you're in.
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Kevin Brown <et...@google.com>.
Right now some things are hard coded to use the fixed iframe name
assumptions (ported from igoogle). Work that I'm doing to deal with a
unified configuration model (see SHINDIG-22 and SHINDIG-44 for details)
should allow arbitrary iframe ids.

On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
neoanderson123@googlemail.com> wrote:

> Currently I'm using latest SVN snapshot. Actually, I update my code daily.
> So, problem is not with my code. What if anybody wants to use a different
> GADGET_IFRAME_PREFIX_? What happens if somebody sends id as a parameter
> and
> use it as gadget id?
>
> Then iFrame id will be GADGET_IFRAME_PREFIX_ + id passed as parameter.
>
> Will this cause any problems?
>
>
> On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <et...@google.com> wrote:
>
> > It looks like a problem with ifpc, but I can't figure out what exactly
> is
> > causing it. From the looks of things it might be related to something
> that
> > Zhen recently fixed, which is that we weren't using consistent
> assumptions
> > for the id / name of the iframe elements on the containing page.
> >
> > Could you try it again using what's in the latest SVN snapshot?
> >
> > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
> > neoanderson123@googlemail.com> wrote:
> >
> > > Did I got this this problem due to my coding or it is Shindig problem?
> >  If
> > > it is shindig problem,are they identified it and solving it?
> > >
> > > On Feb 14, 2008 12:07 AM, Cassie <do...@google.com> wrote:
> > >
> > > > Just want to let you know that these exceptions were captured in
> this
> > > bug
> > > > here:
> > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > >
> > > > I am able to reproduce the bug as well.
> > > >
> > > > - Cassie
> > > >
> > > >
> > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <
> > > > neoanderson123@googlemail.com>
> > > > wrote:
> > > >
> > > > > // Own layout manager
> > > > >
> > > > > gadgets.SortableLayoutManager = function(layoutRootId) {
> > > > >  gadgets.LayoutManager.call(this);
> > > > >  this.layoutRootId_ = (typeof layoutRootId == "string") ?
> > > > > _get(layoutRootId) : layoutRootId;
> > > > >  this.columns = this.layoutRootId_.length;
> > > > > };
> > > > >
> > > > > gadgets.SortableLayoutManager.inherits(gadgets.LayoutManager);
> > > > >
> > > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome =
> > > > function(gadget)
> > > > > {
> > > > >    minHeight = this.layoutRootId_[this.columns-1].offsetHeight;
> > > > >    index = 0;
> > > > >    for(i=this.columns-1; i>=0; i--){
> > > > >        if(this.layoutRootId_[i].offsetHeight <= minHeight){
> > > > >            minHeight = this.layoutRootId_[i].offsetHeight;
> > > > >            index = i;
> > > > >        }
> > > > >    }
> > > > >    return this.layoutRootId_[index];
> > > > > };
> > > > >
> > > > > ********************************* Code ends
> > > > >
> > > > > _get returns elements by class
> > > > >
> > > > > Here I'm sending an array of three div elements, gadgetChromeId
> will
> > > be
> > > > > set
> > > > > to the column whose
> > > > >
> > > > >
> > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <et...@google.com> wrote:
> > > > >
> > > > > > Without seeing your code, I really have no idea.
> > > > > >
> > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <
> > neoanderson123@googlemail.com
> > > >
> > > > > > wrote:
> > > > > >
> > > > > > > I have created my own Layout Manager. If I use
> > > > FloatLeftLayoutManager,
> > > > > > > then
> > > > > > > it is working fine even in the page that I tested previously.
> I
> > > > > haven't
> > > > > > > got
> > > > > > > the window.setTimeout error. But why I'm getting this error
> when
> > I
> > > > use
> > > > > > my
> > > > > > > own layout manager?
> > > > > > >
> > > > > > > On Feb 13, 2008 3:29 PM, Neo Anderson <
> > > neoanderson123@googlemail.com
> > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Container page? I'm not using any container .
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <et...@google.com>
> wrote:
> > > > > > > >
> > > > > > > > > I see the error in IE, but this looks like an error that's
> > > > popping
> > > > > > up
> > > > > > > on
> > > > > > > > > all
> > > > > > > > > gadget renders (I don't have an IE debugger available
> right
> > > now
> > > > so
> > > > > > > I'll
> > > > > > > > > investigate tomorrow when I do). I can't find anything
> > > > triggering
> > > > > > this
> > > > > > > > > window.setTimeout issue, though. Is this happening on a
> > > > container
> > > > > > page
> > > > > > > > > that
> > > > > > > > > you wrote yourself?
> > > > > > > > >
> > > > > > > > > On Feb 13, 2008 1:05 AM, Neo Anderson <
> > > > > neoanderson123@googlemail.com
> > > > > > >
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > If I run the same example in IE, then it is not working.
> > It
> > > is
> > > > > > > > > displaying
> > > > > > > > > > JavaScript error "gadgets" is not defined.
> > > > > > > > > >
> > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo Anderson <
> > > > > > neoanderson123@googlemail.com
> > > > > > > >
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > No, I'm not getting any errors even I add some more
> > > gadgets
> > > > in
> > > > > a
> > > > > > > > > single
> > > > > > > > > > > column. Any it is working fine. What might br the
> > problem?
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <et...@google.com>
> > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Do you get the error when hitting
> > > > > > > > > > > >
> > > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > clicking
> > > > > > > > > > > > the
> > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > >
> > > > > > > > > > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Yes, I'm using latest snapshot. I'm using FF
> 2.0.12
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <
> > etnu@google.com>
> > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > What browser are you seeing this in? Are you
> using
> > > the
> > > > > > > latest
> > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > I
> > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > > > > > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I also got the same problem...
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson <
> > > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I'm getting *uncaught exception: Permission
> > > denied
> > > > > to
> > > > > > > call
> > > > > > > > > > > > method
> > > > > > > > > > > > > > > > Window.setTimeout *exception when I try to
> use
> > > > > Dynamic
> > > > > > > > > Height
> > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > dynamic height is working. I'm adding
> gadgets
> > to
> > > > my
> > > > > > web
> > > > > > > > > page
> > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > I'm able to add a gadget upon clicking on a
> > > > button.
> > > > > > But
> > > > > > > > > when I
> > > > > > > > > > > > place
> > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > gadgets in a column, then if the gadget on
> top
> > > > needs
> > > > > > to
> > > > > > > > > adjust
> > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > then the gadget height height is adjusted
> and
> > > the
> > > > > > height
> > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > getting displayed and in this case, I'm
> > getting
> > > > the
> > > > > > > above
> > > > > > > > > said
> > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > If you received this email by mistake, please
> > delete
> > > > it,
> > > > > > > > > cancel
> > > > > > > > > > your
> > > > > > > > > > > > > mail
> > > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > > witnesses,
> > > > > > and
> > > > > > > > > burn
> > > > > > > > > > > > down
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > ~Kevin
> > > > > > > > > > > >
> > > > > > > > > > > > If you received this email by mistake, please delete
> > it,
> > > > > > cancel
> > > > > > > > > your
> > > > > > > > > > > > mail
> > > > > > > > > > > > account, destroy your hard drive, silence any
> > witnesses,
> > > > and
> > > > > > > burn
> > > > > > > > > down
> > > > > > > > > > > > the
> > > > > > > > > > > > building that you're in.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > ~Kevin
> > > > > > > > >
> > > > > > > > > If you received this email by mistake, please delete it,
> > > cancel
> > > > > your
> > > > > > > > > mail
> > > > > > > > > account, destroy your hard drive, silence any witnesses,
> and
> > > > burn
> > > > > > down
> > > > > > > > > the
> > > > > > > > > building that you're in.
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > ~Kevin
> > > > > >
> > > > > > If you received this email by mistake, please delete it, cancel
> > your
> > > > > mail
> > > > > > account, destroy your hard drive, silence any witnesses, and
> burn
> > > down
> > > > > the
> > > > > > building that you're in.
> > > > > >
> > > > >
> > > >
> > >
> >
> >
> >
> > --
> > ~Kevin
> >
> > If you received this email by mistake, please delete it, cancel your
> mail
> > account, destroy your hard drive, silence any witnesses, and burn down
> the
> > building that you're in.
> >
>



-- 
~Kevin

If you received this email by mistake, please delete it, cancel your mail
account, destroy your hard drive, silence any witnesses, and burn down the
building that you're in.

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
Currently I'm using latest SVN snapshot. Actually, I update my code daily.
So, problem is not with my code. What if anybody wants to use a different
GADGET_IFRAME_PREFIX_? What happens if somebody sends id as a parameter and
use it as gadget id?

Then iFrame id will be GADGET_IFRAME_PREFIX_ + id passed as parameter.

Will this cause any problems?


On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <et...@google.com> wrote:

> It looks like a problem with ifpc, but I can't figure out what exactly is
> causing it. From the looks of things it might be related to something that
> Zhen recently fixed, which is that we weren't using consistent assumptions
> for the id / name of the iframe elements on the containing page.
>
> Could you try it again using what's in the latest SVN snapshot?
>
> On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
> neoanderson123@googlemail.com> wrote:
>
> > Did I got this this problem due to my coding or it is Shindig problem?
>  If
> > it is shindig problem,are they identified it and solving it?
> >
> > On Feb 14, 2008 12:07 AM, Cassie <do...@google.com> wrote:
> >
> > > Just want to let you know that these exceptions were captured in this
> > bug
> > > here:
> > > https://issues.apache.org/jira/browse/SHINDIG-45
> > >
> > > I am able to reproduce the bug as well.
> > >
> > > - Cassie
> > >
> > >
> > > On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <
> > > neoanderson123@googlemail.com>
> > > wrote:
> > >
> > > > // Own layout manager
> > > >
> > > > gadgets.SortableLayoutManager = function(layoutRootId) {
> > > >  gadgets.LayoutManager.call(this);
> > > >  this.layoutRootId_ = (typeof layoutRootId == "string") ?
> > > > _get(layoutRootId) : layoutRootId;
> > > >  this.columns = this.layoutRootId_.length;
> > > > };
> > > >
> > > > gadgets.SortableLayoutManager.inherits(gadgets.LayoutManager);
> > > >
> > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome =
> > > function(gadget)
> > > > {
> > > >    minHeight = this.layoutRootId_[this.columns-1].offsetHeight;
> > > >    index = 0;
> > > >    for(i=this.columns-1; i>=0; i--){
> > > >        if(this.layoutRootId_[i].offsetHeight <= minHeight){
> > > >            minHeight = this.layoutRootId_[i].offsetHeight;
> > > >            index = i;
> > > >        }
> > > >    }
> > > >    return this.layoutRootId_[index];
> > > > };
> > > >
> > > > ********************************* Code ends
> > > >
> > > > _get returns elements by class
> > > >
> > > > Here I'm sending an array of three div elements, gadgetChromeId will
> > be
> > > > set
> > > > to the column whose
> > > >
> > > >
> > > > On Feb 13, 2008 3:53 PM, Kevin Brown <et...@google.com> wrote:
> > > >
> > > > > Without seeing your code, I really have no idea.
> > > > >
> > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <
> neoanderson123@googlemail.com
> > >
> > > > > wrote:
> > > > >
> > > > > > I have created my own Layout Manager. If I use
> > > FloatLeftLayoutManager,
> > > > > > then
> > > > > > it is working fine even in the page that I tested previously. I
> > > > haven't
> > > > > > got
> > > > > > the window.setTimeout error. But why I'm getting this error when
> I
> > > use
> > > > > my
> > > > > > own layout manager?
> > > > > >
> > > > > > On Feb 13, 2008 3:29 PM, Neo Anderson <
> > neoanderson123@googlemail.com
> > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Container page? I'm not using any container .
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <et...@google.com> wrote:
> > > > > > >
> > > > > > > > I see the error in IE, but this looks like an error that's
> > > popping
> > > > > up
> > > > > > on
> > > > > > > > all
> > > > > > > > gadget renders (I don't have an IE debugger available right
> > now
> > > so
> > > > > > I'll
> > > > > > > > investigate tomorrow when I do). I can't find anything
> > > triggering
> > > > > this
> > > > > > > > window.setTimeout issue, though. Is this happening on a
> > > container
> > > > > page
> > > > > > > > that
> > > > > > > > you wrote yourself?
> > > > > > > >
> > > > > > > > On Feb 13, 2008 1:05 AM, Neo Anderson <
> > > > neoanderson123@googlemail.com
> > > > > >
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > If I run the same example in IE, then it is not working.
> It
> > is
> > > > > > > > displaying
> > > > > > > > > JavaScript error "gadgets" is not defined.
> > > > > > > > >
> > > > > > > > > On Feb 13, 2008 2:34 PM, Neo Anderson <
> > > > > neoanderson123@googlemail.com
> > > > > > >
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > No, I'm not getting any errors even I add some more
> > gadgets
> > > in
> > > > a
> > > > > > > > single
> > > > > > > > > > column. Any it is working fine. What might br the
> problem?
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <et...@google.com>
> > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Do you get the error when hitting
> > > > > > > > > > >
> > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > clicking
> > > > > > > > > > > the
> > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > >
> > > > > > > > > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Yes, I'm using latest snapshot. I'm using FF 2.0.12
> > > > > > > > > > > >
> > > > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <
> etnu@google.com>
> > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > What browser are you seeing this in? Are you using
> > the
> > > > > > latest
> > > > > > > > > > > snapshot?
> > > > > > > > > > > > I
> > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > > > > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > I also got the same problem...
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson <
> > > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I'm getting *uncaught exception: Permission
> > denied
> > > > to
> > > > > > call
> > > > > > > > > > > method
> > > > > > > > > > > > > > > Window.setTimeout *exception when I try to use
> > > > Dynamic
> > > > > > > > Height
> > > > > > > > > > > > feature.
> > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > dynamic height is working. I'm adding gadgets
> to
> > > my
> > > > > web
> > > > > > > > page
> > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > I'm able to add a gadget upon clicking on a
> > > button.
> > > > > But
> > > > > > > > when I
> > > > > > > > > > > place
> > > > > > > > > > > > > two
> > > > > > > > > > > > > > > gadgets in a column, then if the gadget on top
> > > needs
> > > > > to
> > > > > > > > adjust
> > > > > > > > > > > it's
> > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > then the gadget height height is adjusted and
> > the
> > > > > height
> > > > > > > > > > > adjusted is
> > > > > > > > > > > > > not
> > > > > > > > > > > > > > > getting displayed and in this case, I'm
> getting
> > > the
> > > > > > above
> > > > > > > > said
> > > > > > > > > > > > error.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > >
> > > > > > > > > > > > > If you received this email by mistake, please
> delete
> > > it,
> > > > > > > > cancel
> > > > > > > > > your
> > > > > > > > > > > > mail
> > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > witnesses,
> > > > > and
> > > > > > > > burn
> > > > > > > > > > > down
> > > > > > > > > > > > the
> > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > ~Kevin
> > > > > > > > > > >
> > > > > > > > > > > If you received this email by mistake, please delete
> it,
> > > > > cancel
> > > > > > > > your
> > > > > > > > > > > mail
> > > > > > > > > > > account, destroy your hard drive, silence any
> witnesses,
> > > and
> > > > > > burn
> > > > > > > > down
> > > > > > > > > > > the
> > > > > > > > > > > building that you're in.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > ~Kevin
> > > > > > > >
> > > > > > > > If you received this email by mistake, please delete it,
> > cancel
> > > > your
> > > > > > > > mail
> > > > > > > > account, destroy your hard drive, silence any witnesses, and
> > > burn
> > > > > down
> > > > > > > > the
> > > > > > > > building that you're in.
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > ~Kevin
> > > > >
> > > > > If you received this email by mistake, please delete it, cancel
> your
> > > > mail
> > > > > account, destroy your hard drive, silence any witnesses, and burn
> > down
> > > > the
> > > > > building that you're in.
> > > > >
> > > >
> > >
> >
>
>
>
> --
> ~Kevin
>
> If you received this email by mistake, please delete it, cancel your mail
> account, destroy your hard drive, silence any witnesses, and burn down the
> building that you're in.
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Kevin Brown <et...@google.com>.
It looks like a problem with ifpc, but I can't figure out what exactly is
causing it. From the looks of things it might be related to something that
Zhen recently fixed, which is that we weren't using consistent assumptions
for the id / name of the iframe elements on the containing page.

Could you try it again using what's in the latest SVN snapshot?

On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
neoanderson123@googlemail.com> wrote:

> Did I got this this problem due to my coding or it is Shindig problem?  If
> it is shindig problem,are they identified it and solving it?
>
> On Feb 14, 2008 12:07 AM, Cassie <do...@google.com> wrote:
>
> > Just want to let you know that these exceptions were captured in this
> bug
> > here:
> > https://issues.apache.org/jira/browse/SHINDIG-45
> >
> > I am able to reproduce the bug as well.
> >
> > - Cassie
> >
> >
> > On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <
> > neoanderson123@googlemail.com>
> > wrote:
> >
> > > // Own layout manager
> > >
> > > gadgets.SortableLayoutManager = function(layoutRootId) {
> > >  gadgets.LayoutManager.call(this);
> > >  this.layoutRootId_ = (typeof layoutRootId == "string") ?
> > > _get(layoutRootId) : layoutRootId;
> > >  this.columns = this.layoutRootId_.length;
> > > };
> > >
> > > gadgets.SortableLayoutManager.inherits(gadgets.LayoutManager);
> > >
> > > gadgets.SortableLayoutManager.prototype.getGadgetChrome =
> > function(gadget)
> > > {
> > >    minHeight = this.layoutRootId_[this.columns-1].offsetHeight;
> > >    index = 0;
> > >    for(i=this.columns-1; i>=0; i--){
> > >        if(this.layoutRootId_[i].offsetHeight <= minHeight){
> > >            minHeight = this.layoutRootId_[i].offsetHeight;
> > >            index = i;
> > >        }
> > >    }
> > >    return this.layoutRootId_[index];
> > > };
> > >
> > > ********************************* Code ends
> > >
> > > _get returns elements by class
> > >
> > > Here I'm sending an array of three div elements, gadgetChromeId will
> be
> > > set
> > > to the column whose
> > >
> > >
> > > On Feb 13, 2008 3:53 PM, Kevin Brown <et...@google.com> wrote:
> > >
> > > > Without seeing your code, I really have no idea.
> > > >
> > > > On Feb 13, 2008 2:19 AM, Neo Anderson <neoanderson123@googlemail.com
> >
> > > > wrote:
> > > >
> > > > > I have created my own Layout Manager. If I use
> > FloatLeftLayoutManager,
> > > > > then
> > > > > it is working fine even in the page that I tested previously. I
> > > haven't
> > > > > got
> > > > > the window.setTimeout error. But why I'm getting this error when I
> > use
> > > > my
> > > > > own layout manager?
> > > > >
> > > > > On Feb 13, 2008 3:29 PM, Neo Anderson <
> neoanderson123@googlemail.com
> > >
> > > > > wrote:
> > > > >
> > > > > > Container page? I'm not using any container .
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <et...@google.com> wrote:
> > > > > >
> > > > > > > I see the error in IE, but this looks like an error that's
> > popping
> > > > up
> > > > > on
> > > > > > > all
> > > > > > > gadget renders (I don't have an IE debugger available right
> now
> > so
> > > > > I'll
> > > > > > > investigate tomorrow when I do). I can't find anything
> > triggering
> > > > this
> > > > > > > window.setTimeout issue, though. Is this happening on a
> > container
> > > > page
> > > > > > > that
> > > > > > > you wrote yourself?
> > > > > > >
> > > > > > > On Feb 13, 2008 1:05 AM, Neo Anderson <
> > > neoanderson123@googlemail.com
> > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > > > If I run the same example in IE, then it is not working. It
> is
> > > > > > > displaying
> > > > > > > > JavaScript error "gadgets" is not defined.
> > > > > > > >
> > > > > > > > On Feb 13, 2008 2:34 PM, Neo Anderson <
> > > > neoanderson123@googlemail.com
> > > > > >
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > No, I'm not getting any errors even I add some more
> gadgets
> > in
> > > a
> > > > > > > single
> > > > > > > > > column. Any it is working fine. What might br the problem?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <et...@google.com>
> > wrote:
> > > > > > > > >
> > > > > > > > > > Do you get the error when hitting
> > > > > > > > > >
> > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > clicking
> > > > > > > > > > the
> > > > > > > > > > "Refine the list" link?
> > > > > > > > > >
> > > > > > > > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Yes, I'm using latest snapshot. I'm using FF 2.0.12
> > > > > > > > > > >
> > > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <et...@google.com>
> > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > What browser are you seeing this in? Are you using
> the
> > > > > latest
> > > > > > > > > > snapshot?
> > > > > > > > > > > I
> > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > >
> > > > > > > > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > > > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > I also got the same problem...
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson <
> > > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > I'm getting *uncaught exception: Permission
> denied
> > > to
> > > > > call
> > > > > > > > > > method
> > > > > > > > > > > > > > Window.setTimeout *exception when I try to use
> > > Dynamic
> > > > > > > Height
> > > > > > > > > > > feature.
> > > > > > > > > > > > > But
> > > > > > > > > > > > > > dynamic height is working. I'm adding gadgets to
> > my
> > > > web
> > > > > > > page
> > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > I'm able to add a gadget upon clicking on a
> > button.
> > > > But
> > > > > > > when I
> > > > > > > > > > place
> > > > > > > > > > > > two
> > > > > > > > > > > > > > gadgets in a column, then if the gadget on top
> > needs
> > > > to
> > > > > > > adjust
> > > > > > > > > > it's
> > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > then the gadget height height is adjusted and
> the
> > > > height
> > > > > > > > > > adjusted is
> > > > > > > > > > > > not
> > > > > > > > > > > > > > getting displayed and in this case, I'm getting
> > the
> > > > > above
> > > > > > > said
> > > > > > > > > > > error.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > ~Kevin
> > > > > > > > > > > >
> > > > > > > > > > > > If you received this email by mistake, please delete
> > it,
> > > > > > > cancel
> > > > > > > > your
> > > > > > > > > > > mail
> > > > > > > > > > > > account, destroy your hard drive, silence any
> > witnesses,
> > > > and
> > > > > > > burn
> > > > > > > > > > down
> > > > > > > > > > > the
> > > > > > > > > > > > building that you're in.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > ~Kevin
> > > > > > > > > >
> > > > > > > > > > If you received this email by mistake, please delete it,
> > > > cancel
> > > > > > > your
> > > > > > > > > > mail
> > > > > > > > > > account, destroy your hard drive, silence any witnesses,
> > and
> > > > > burn
> > > > > > > down
> > > > > > > > > > the
> > > > > > > > > > building that you're in.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > ~Kevin
> > > > > > >
> > > > > > > If you received this email by mistake, please delete it,
> cancel
> > > your
> > > > > > > mail
> > > > > > > account, destroy your hard drive, silence any witnesses, and
> > burn
> > > > down
> > > > > > > the
> > > > > > > building that you're in.
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > ~Kevin
> > > >
> > > > If you received this email by mistake, please delete it, cancel your
> > > mail
> > > > account, destroy your hard drive, silence any witnesses, and burn
> down
> > > the
> > > > building that you're in.
> > > >
> > >
> >
>



-- 
~Kevin

If you received this email by mistake, please delete it, cancel your mail
account, destroy your hard drive, silence any witnesses, and burn down the
building that you're in.

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
Did I got this this problem due to my coding or it is Shindig problem?  If
it is shindig problem,are they identified it and solving it?

On Feb 14, 2008 12:07 AM, Cassie <do...@google.com> wrote:

> Just want to let you know that these exceptions were captured in this bug
> here:
> https://issues.apache.org/jira/browse/SHINDIG-45
>
> I am able to reproduce the bug as well.
>
> - Cassie
>
>
> On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <
> neoanderson123@googlemail.com>
> wrote:
>
> > // Own layout manager
> >
> > gadgets.SortableLayoutManager = function(layoutRootId) {
> >  gadgets.LayoutManager.call(this);
> >  this.layoutRootId_ = (typeof layoutRootId == "string") ?
> > _get(layoutRootId) : layoutRootId;
> >  this.columns = this.layoutRootId_.length;
> > };
> >
> > gadgets.SortableLayoutManager.inherits(gadgets.LayoutManager);
> >
> > gadgets.SortableLayoutManager.prototype.getGadgetChrome =
> function(gadget)
> > {
> >    minHeight = this.layoutRootId_[this.columns-1].offsetHeight;
> >    index = 0;
> >    for(i=this.columns-1; i>=0; i--){
> >        if(this.layoutRootId_[i].offsetHeight <= minHeight){
> >            minHeight = this.layoutRootId_[i].offsetHeight;
> >            index = i;
> >        }
> >    }
> >    return this.layoutRootId_[index];
> > };
> >
> > ********************************* Code ends
> >
> > _get returns elements by class
> >
> > Here I'm sending an array of three div elements, gadgetChromeId will be
> > set
> > to the column whose
> >
> >
> > On Feb 13, 2008 3:53 PM, Kevin Brown <et...@google.com> wrote:
> >
> > > Without seeing your code, I really have no idea.
> > >
> > > On Feb 13, 2008 2:19 AM, Neo Anderson <ne...@googlemail.com>
> > > wrote:
> > >
> > > > I have created my own Layout Manager. If I use
> FloatLeftLayoutManager,
> > > > then
> > > > it is working fine even in the page that I tested previously. I
> > haven't
> > > > got
> > > > the window.setTimeout error. But why I'm getting this error when I
> use
> > > my
> > > > own layout manager?
> > > >
> > > > On Feb 13, 2008 3:29 PM, Neo Anderson <neoanderson123@googlemail.com
> >
> > > > wrote:
> > > >
> > > > > Container page? I'm not using any container .
> > > > >
> > > > >
> > > > >
> > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <et...@google.com> wrote:
> > > > >
> > > > > > I see the error in IE, but this looks like an error that's
> popping
> > > up
> > > > on
> > > > > > all
> > > > > > gadget renders (I don't have an IE debugger available right now
> so
> > > > I'll
> > > > > > investigate tomorrow when I do). I can't find anything
> triggering
> > > this
> > > > > > window.setTimeout issue, though. Is this happening on a
> container
> > > page
> > > > > > that
> > > > > > you wrote yourself?
> > > > > >
> > > > > > On Feb 13, 2008 1:05 AM, Neo Anderson <
> > neoanderson123@googlemail.com
> > > >
> > > > > > wrote:
> > > > > >
> > > > > > > If I run the same example in IE, then it is not working. It is
> > > > > > displaying
> > > > > > > JavaScript error "gadgets" is not defined.
> > > > > > >
> > > > > > > On Feb 13, 2008 2:34 PM, Neo Anderson <
> > > neoanderson123@googlemail.com
> > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > > > No, I'm not getting any errors even I add some more gadgets
> in
> > a
> > > > > > single
> > > > > > > > column. Any it is working fine. What might br the problem?
> > > > > > > >
> > > > > > > >
> > > > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <et...@google.com>
> wrote:
> > > > > > > >
> > > > > > > > > Do you get the error when hitting
> > > > > > > > >
> http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > clicking
> > > > > > > > > the
> > > > > > > > > "Refine the list" link?
> > > > > > > > >
> > > > > > > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> > > > > > neoanderson123@googlemail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Yes, I'm using latest snapshot. I'm using FF 2.0.12
> > > > > > > > > >
> > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <et...@google.com>
> > > wrote:
> > > > > > > > > >
> > > > > > > > > > > What browser are you seeing this in? Are you using the
> > > > latest
> > > > > > > > > snapshot?
> > > > > > > > > > I
> > > > > > > > > > > can't reproduce.
> > > > > > > > > > >
> > > > > > > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > I also got the same problem...
> > > > > > > > > > > >
> > > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson <
> > > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > I'm getting *uncaught exception: Permission denied
> > to
> > > > call
> > > > > > > > > method
> > > > > > > > > > > > > Window.setTimeout *exception when I try to use
> > Dynamic
> > > > > > Height
> > > > > > > > > > feature.
> > > > > > > > > > > > But
> > > > > > > > > > > > > dynamic height is working. I'm adding gadgets to
> my
> > > web
> > > > > > page
> > > > > > > > > > > dynamically
> > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > I'm able to add a gadget upon clicking on a
> button.
> > > But
> > > > > > when I
> > > > > > > > > place
> > > > > > > > > > > two
> > > > > > > > > > > > > gadgets in a column, then if the gadget on top
> needs
> > > to
> > > > > > adjust
> > > > > > > > > it's
> > > > > > > > > > > > > height,
> > > > > > > > > > > > > then the gadget height height is adjusted and the
> > > height
> > > > > > > > > adjusted is
> > > > > > > > > > > not
> > > > > > > > > > > > > getting displayed and in this case, I'm getting
> the
> > > > above
> > > > > > said
> > > > > > > > > > error.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > ~Kevin
> > > > > > > > > > >
> > > > > > > > > > > If you received this email by mistake, please delete
> it,
> > > > > > cancel
> > > > > > > your
> > > > > > > > > > mail
> > > > > > > > > > > account, destroy your hard drive, silence any
> witnesses,
> > > and
> > > > > > burn
> > > > > > > > > down
> > > > > > > > > > the
> > > > > > > > > > > building that you're in.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > ~Kevin
> > > > > > > > >
> > > > > > > > > If you received this email by mistake, please delete it,
> > > cancel
> > > > > > your
> > > > > > > > > mail
> > > > > > > > > account, destroy your hard drive, silence any witnesses,
> and
> > > > burn
> > > > > > down
> > > > > > > > > the
> > > > > > > > > building that you're in.
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > ~Kevin
> > > > > >
> > > > > > If you received this email by mistake, please delete it, cancel
> > your
> > > > > > mail
> > > > > > account, destroy your hard drive, silence any witnesses, and
> burn
> > > down
> > > > > > the
> > > > > > building that you're in.
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > ~Kevin
> > >
> > > If you received this email by mistake, please delete it, cancel your
> > mail
> > > account, destroy your hard drive, silence any witnesses, and burn down
> > the
> > > building that you're in.
> > >
> >
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Cassie <do...@google.com>.
Just want to let you know that these exceptions were captured in this bug
here:
https://issues.apache.org/jira/browse/SHINDIG-45

I am able to reproduce the bug as well.

- Cassie


On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <ne...@googlemail.com>
wrote:

> // Own layout manager
>
> gadgets.SortableLayoutManager = function(layoutRootId) {
>  gadgets.LayoutManager.call(this);
>  this.layoutRootId_ = (typeof layoutRootId == "string") ?
> _get(layoutRootId) : layoutRootId;
>  this.columns = this.layoutRootId_.length;
> };
>
> gadgets.SortableLayoutManager.inherits(gadgets.LayoutManager);
>
> gadgets.SortableLayoutManager.prototype.getGadgetChrome = function(gadget)
> {
>    minHeight = this.layoutRootId_[this.columns-1].offsetHeight;
>    index = 0;
>    for(i=this.columns-1; i>=0; i--){
>        if(this.layoutRootId_[i].offsetHeight <= minHeight){
>            minHeight = this.layoutRootId_[i].offsetHeight;
>            index = i;
>        }
>    }
>    return this.layoutRootId_[index];
> };
>
> ********************************* Code ends
>
> _get returns elements by class
>
> Here I'm sending an array of three div elements, gadgetChromeId will be
> set
> to the column whose
>
>
> On Feb 13, 2008 3:53 PM, Kevin Brown <et...@google.com> wrote:
>
> > Without seeing your code, I really have no idea.
> >
> > On Feb 13, 2008 2:19 AM, Neo Anderson <ne...@googlemail.com>
> > wrote:
> >
> > > I have created my own Layout Manager. If I use FloatLeftLayoutManager,
> > > then
> > > it is working fine even in the page that I tested previously. I
> haven't
> > > got
> > > the window.setTimeout error. But why I'm getting this error when I use
> > my
> > > own layout manager?
> > >
> > > On Feb 13, 2008 3:29 PM, Neo Anderson <ne...@googlemail.com>
> > > wrote:
> > >
> > > > Container page? I'm not using any container .
> > > >
> > > >
> > > >
> > > > On Feb 13, 2008 3:13 PM, Kevin Brown <et...@google.com> wrote:
> > > >
> > > > > I see the error in IE, but this looks like an error that's popping
> > up
> > > on
> > > > > all
> > > > > gadget renders (I don't have an IE debugger available right now so
> > > I'll
> > > > > investigate tomorrow when I do). I can't find anything triggering
> > this
> > > > > window.setTimeout issue, though. Is this happening on a container
> > page
> > > > > that
> > > > > you wrote yourself?
> > > > >
> > > > > On Feb 13, 2008 1:05 AM, Neo Anderson <
> neoanderson123@googlemail.com
> > >
> > > > > wrote:
> > > > >
> > > > > > If I run the same example in IE, then it is not working. It is
> > > > > displaying
> > > > > > JavaScript error "gadgets" is not defined.
> > > > > >
> > > > > > On Feb 13, 2008 2:34 PM, Neo Anderson <
> > neoanderson123@googlemail.com
> > > >
> > > > > > wrote:
> > > > > >
> > > > > > > No, I'm not getting any errors even I add some more gadgets in
> a
> > > > > single
> > > > > > > column. Any it is working fine. What might br the problem?
> > > > > > >
> > > > > > >
> > > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <et...@google.com> wrote:
> > > > > > >
> > > > > > > > Do you get the error when hitting
> > > > > > > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > clicking
> > > > > > > > the
> > > > > > > > "Refine the list" link?
> > > > > > > >
> > > > > > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> > > > > neoanderson123@googlemail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Yes, I'm using latest snapshot. I'm using FF 2.0.12
> > > > > > > > >
> > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <et...@google.com>
> > wrote:
> > > > > > > > >
> > > > > > > > > > What browser are you seeing this in? Are you using the
> > > latest
> > > > > > > > snapshot?
> > > > > > > > > I
> > > > > > > > > > can't reproduce.
> > > > > > > > > >
> > > > > > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > I also got the same problem...
> > > > > > > > > > >
> > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson <
> > > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > I'm getting *uncaught exception: Permission denied
> to
> > > call
> > > > > > > > method
> > > > > > > > > > > > Window.setTimeout *exception when I try to use
> Dynamic
> > > > > Height
> > > > > > > > > feature.
> > > > > > > > > > > But
> > > > > > > > > > > > dynamic height is working. I'm adding gadgets to my
> > web
> > > > > page
> > > > > > > > > > dynamically
> > > > > > > > > > > > i.e.,
> > > > > > > > > > > > I'm able to add a gadget upon clicking on a button.
> > But
> > > > > when I
> > > > > > > > place
> > > > > > > > > > two
> > > > > > > > > > > > gadgets in a column, then if the gadget on top needs
> > to
> > > > > adjust
> > > > > > > > it's
> > > > > > > > > > > > height,
> > > > > > > > > > > > then the gadget height height is adjusted and the
> > height
> > > > > > > > adjusted is
> > > > > > > > > > not
> > > > > > > > > > > > getting displayed and in this case, I'm getting the
> > > above
> > > > > said
> > > > > > > > > error.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > ~Kevin
> > > > > > > > > >
> > > > > > > > > > If you received this email by mistake, please delete it,
> > > > > cancel
> > > > > > your
> > > > > > > > > mail
> > > > > > > > > > account, destroy your hard drive, silence any witnesses,
> > and
> > > > > burn
> > > > > > > > down
> > > > > > > > > the
> > > > > > > > > > building that you're in.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > ~Kevin
> > > > > > > >
> > > > > > > > If you received this email by mistake, please delete it,
> > cancel
> > > > > your
> > > > > > > > mail
> > > > > > > > account, destroy your hard drive, silence any witnesses, and
> > > burn
> > > > > down
> > > > > > > > the
> > > > > > > > building that you're in.
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > ~Kevin
> > > > >
> > > > > If you received this email by mistake, please delete it, cancel
> your
> > > > > mail
> > > > > account, destroy your hard drive, silence any witnesses, and burn
> > down
> > > > > the
> > > > > building that you're in.
> > > > >
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > ~Kevin
> >
> > If you received this email by mistake, please delete it, cancel your
> mail
> > account, destroy your hard drive, silence any witnesses, and burn down
> the
> > building that you're in.
> >
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
// Own layout manager

gadgets.SortableLayoutManager = function(layoutRootId) {
  gadgets.LayoutManager.call(this);
  this.layoutRootId_ = (typeof layoutRootId == "string") ?
_get(layoutRootId) : layoutRootId;
  this.columns = this.layoutRootId_.length;
};

gadgets.SortableLayoutManager.inherits(gadgets.LayoutManager);

gadgets.SortableLayoutManager.prototype.getGadgetChrome = function(gadget) {
    minHeight = this.layoutRootId_[this.columns-1].offsetHeight;
    index = 0;
    for(i=this.columns-1; i>=0; i--){
        if(this.layoutRootId_[i].offsetHeight <= minHeight){
            minHeight = this.layoutRootId_[i].offsetHeight;
            index = i;
        }
    }
    return this.layoutRootId_[index];
};

********************************* Code ends

_get returns elements by class

Here I'm sending an array of three div elements, gadgetChromeId will be set
to the column whose


On Feb 13, 2008 3:53 PM, Kevin Brown <et...@google.com> wrote:

> Without seeing your code, I really have no idea.
>
> On Feb 13, 2008 2:19 AM, Neo Anderson <ne...@googlemail.com>
> wrote:
>
> > I have created my own Layout Manager. If I use FloatLeftLayoutManager,
> > then
> > it is working fine even in the page that I tested previously. I haven't
> > got
> > the window.setTimeout error. But why I'm getting this error when I use
> my
> > own layout manager?
> >
> > On Feb 13, 2008 3:29 PM, Neo Anderson <ne...@googlemail.com>
> > wrote:
> >
> > > Container page? I'm not using any container .
> > >
> > >
> > >
> > > On Feb 13, 2008 3:13 PM, Kevin Brown <et...@google.com> wrote:
> > >
> > > > I see the error in IE, but this looks like an error that's popping
> up
> > on
> > > > all
> > > > gadget renders (I don't have an IE debugger available right now so
> > I'll
> > > > investigate tomorrow when I do). I can't find anything triggering
> this
> > > > window.setTimeout issue, though. Is this happening on a container
> page
> > > > that
> > > > you wrote yourself?
> > > >
> > > > On Feb 13, 2008 1:05 AM, Neo Anderson <neoanderson123@googlemail.com
> >
> > > > wrote:
> > > >
> > > > > If I run the same example in IE, then it is not working. It is
> > > > displaying
> > > > > JavaScript error "gadgets" is not defined.
> > > > >
> > > > > On Feb 13, 2008 2:34 PM, Neo Anderson <
> neoanderson123@googlemail.com
> > >
> > > > > wrote:
> > > > >
> > > > > > No, I'm not getting any errors even I add some more gadgets in a
> > > > single
> > > > > > column. Any it is working fine. What might br the problem?
> > > > > >
> > > > > >
> > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <et...@google.com> wrote:
> > > > > >
> > > > > > > Do you get the error when hitting
> > > > > > > http://localhost:8080/gadgets/files/container/sample6.html and
> > > > > clicking
> > > > > > > the
> > > > > > > "Refine the list" link?
> > > > > > >
> > > > > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> > > > neoanderson123@googlemail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Yes, I'm using latest snapshot. I'm using FF 2.0.12
> > > > > > > >
> > > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <et...@google.com>
> wrote:
> > > > > > > >
> > > > > > > > > What browser are you seeing this in? Are you using the
> > latest
> > > > > > > snapshot?
> > > > > > > > I
> > > > > > > > > can't reproduce.
> > > > > > > > >
> > > > > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > I also got the same problem...
> > > > > > > > > >
> > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson <
> > > > > > > neoanderson123@googlemail.com>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > I'm getting *uncaught exception: Permission denied to
> > call
> > > > > > > method
> > > > > > > > > > > Window.setTimeout *exception when I try to use Dynamic
> > > > Height
> > > > > > > > feature.
> > > > > > > > > > But
> > > > > > > > > > > dynamic height is working. I'm adding gadgets to my
> web
> > > > page
> > > > > > > > > dynamically
> > > > > > > > > > > i.e.,
> > > > > > > > > > > I'm able to add a gadget upon clicking on a button.
> But
> > > > when I
> > > > > > > place
> > > > > > > > > two
> > > > > > > > > > > gadgets in a column, then if the gadget on top needs
> to
> > > > adjust
> > > > > > > it's
> > > > > > > > > > > height,
> > > > > > > > > > > then the gadget height height is adjusted and the
> height
> > > > > > > adjusted is
> > > > > > > > > not
> > > > > > > > > > > getting displayed and in this case, I'm getting the
> > above
> > > > said
> > > > > > > > error.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > ~Kevin
> > > > > > > > >
> > > > > > > > > If you received this email by mistake, please delete it,
> > > > cancel
> > > > > your
> > > > > > > > mail
> > > > > > > > > account, destroy your hard drive, silence any witnesses,
> and
> > > > burn
> > > > > > > down
> > > > > > > > the
> > > > > > > > > building that you're in.
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > ~Kevin
> > > > > > >
> > > > > > > If you received this email by mistake, please delete it,
> cancel
> > > > your
> > > > > > > mail
> > > > > > > account, destroy your hard drive, silence any witnesses, and
> > burn
> > > > down
> > > > > > > the
> > > > > > > building that you're in.
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > ~Kevin
> > > >
> > > > If you received this email by mistake, please delete it, cancel your
> > > > mail
> > > > account, destroy your hard drive, silence any witnesses, and burn
> down
> > > > the
> > > > building that you're in.
> > > >
> > >
> > >
> >
>
>
>
> --
> ~Kevin
>
> If you received this email by mistake, please delete it, cancel your mail
> account, destroy your hard drive, silence any witnesses, and burn down the
> building that you're in.
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Kevin Brown <et...@google.com>.
Without seeing your code, I really have no idea.

On Feb 13, 2008 2:19 AM, Neo Anderson <ne...@googlemail.com> wrote:

> I have created my own Layout Manager. If I use FloatLeftLayoutManager,
> then
> it is working fine even in the page that I tested previously. I haven't
> got
> the window.setTimeout error. But why I'm getting this error when I use my
> own layout manager?
>
> On Feb 13, 2008 3:29 PM, Neo Anderson <ne...@googlemail.com>
> wrote:
>
> > Container page? I'm not using any container .
> >
> >
> >
> > On Feb 13, 2008 3:13 PM, Kevin Brown <et...@google.com> wrote:
> >
> > > I see the error in IE, but this looks like an error that's popping up
> on
> > > all
> > > gadget renders (I don't have an IE debugger available right now so
> I'll
> > > investigate tomorrow when I do). I can't find anything triggering this
> > > window.setTimeout issue, though. Is this happening on a container page
> > > that
> > > you wrote yourself?
> > >
> > > On Feb 13, 2008 1:05 AM, Neo Anderson <ne...@googlemail.com>
> > > wrote:
> > >
> > > > If I run the same example in IE, then it is not working. It is
> > > displaying
> > > > JavaScript error "gadgets" is not defined.
> > > >
> > > > On Feb 13, 2008 2:34 PM, Neo Anderson <neoanderson123@googlemail.com
> >
> > > > wrote:
> > > >
> > > > > No, I'm not getting any errors even I add some more gadgets in a
> > > single
> > > > > column. Any it is working fine. What might br the problem?
> > > > >
> > > > >
> > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <et...@google.com> wrote:
> > > > >
> > > > > > Do you get the error when hitting
> > > > > > http://localhost:8080/gadgets/files/container/sample6.html and
> > > > clicking
> > > > > > the
> > > > > > "Refine the list" link?
> > > > > >
> > > > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> > > neoanderson123@googlemail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > Yes, I'm using latest snapshot. I'm using FF 2.0.12
> > > > > > >
> > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <et...@google.com> wrote:
> > > > > > >
> > > > > > > > What browser are you seeing this in? Are you using the
> latest
> > > > > > snapshot?
> > > > > > > I
> > > > > > > > can't reproduce.
> > > > > > > >
> > > > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > I also got the same problem...
> > > > > > > > >
> > > > > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson <
> > > > > > neoanderson123@googlemail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > I'm getting *uncaught exception: Permission denied to
> call
> > > > > > method
> > > > > > > > > > Window.setTimeout *exception when I try to use Dynamic
> > > Height
> > > > > > > feature.
> > > > > > > > > But
> > > > > > > > > > dynamic height is working. I'm adding gadgets to my web
> > > page
> > > > > > > > dynamically
> > > > > > > > > > i.e.,
> > > > > > > > > > I'm able to add a gadget upon clicking on a button. But
> > > when I
> > > > > > place
> > > > > > > > two
> > > > > > > > > > gadgets in a column, then if the gadget on top needs to
> > > adjust
> > > > > > it's
> > > > > > > > > > height,
> > > > > > > > > > then the gadget height height is adjusted and the height
> > > > > > adjusted is
> > > > > > > > not
> > > > > > > > > > getting displayed and in this case, I'm getting the
> above
> > > said
> > > > > > > error.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > ~Kevin
> > > > > > > >
> > > > > > > > If you received this email by mistake, please delete it,
> > > cancel
> > > > your
> > > > > > > mail
> > > > > > > > account, destroy your hard drive, silence any witnesses, and
> > > burn
> > > > > > down
> > > > > > > the
> > > > > > > > building that you're in.
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > ~Kevin
> > > > > >
> > > > > > If you received this email by mistake, please delete it, cancel
> > > your
> > > > > > mail
> > > > > > account, destroy your hard drive, silence any witnesses, and
> burn
> > > down
> > > > > > the
> > > > > > building that you're in.
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > ~Kevin
> > >
> > > If you received this email by mistake, please delete it, cancel your
> > > mail
> > > account, destroy your hard drive, silence any witnesses, and burn down
> > > the
> > > building that you're in.
> > >
> >
> >
>



-- 
~Kevin

If you received this email by mistake, please delete it, cancel your mail
account, destroy your hard drive, silence any witnesses, and burn down the
building that you're in.

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
I have created my own Layout Manager. If I use FloatLeftLayoutManager, then
it is working fine even in the page that I tested previously. I haven't got
the window.setTimeout error. But why I'm getting this error when I use my
own layout manager?

On Feb 13, 2008 3:29 PM, Neo Anderson <ne...@googlemail.com> wrote:

> Container page? I'm not using any container .
>
>
>
> On Feb 13, 2008 3:13 PM, Kevin Brown <et...@google.com> wrote:
>
> > I see the error in IE, but this looks like an error that's popping up on
> > all
> > gadget renders (I don't have an IE debugger available right now so I'll
> > investigate tomorrow when I do). I can't find anything triggering this
> > window.setTimeout issue, though. Is this happening on a container page
> > that
> > you wrote yourself?
> >
> > On Feb 13, 2008 1:05 AM, Neo Anderson <ne...@googlemail.com>
> > wrote:
> >
> > > If I run the same example in IE, then it is not working. It is
> > displaying
> > > JavaScript error "gadgets" is not defined.
> > >
> > > On Feb 13, 2008 2:34 PM, Neo Anderson <ne...@googlemail.com>
> > > wrote:
> > >
> > > > No, I'm not getting any errors even I add some more gadgets in a
> > single
> > > > column. Any it is working fine. What might br the problem?
> > > >
> > > >
> > > > On Feb 13, 2008 2:11 PM, Kevin Brown <et...@google.com> wrote:
> > > >
> > > > > Do you get the error when hitting
> > > > > http://localhost:8080/gadgets/files/container/sample6.html and
> > > clicking
> > > > > the
> > > > > "Refine the list" link?
> > > > >
> > > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> > neoanderson123@googlemail.com>
> > > > > wrote:
> > > > >
> > > > > > Yes, I'm using latest snapshot. I'm using FF 2.0.12
> > > > > >
> > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <et...@google.com> wrote:
> > > > > >
> > > > > > > What browser are you seeing this in? Are you using the latest
> > > > > snapshot?
> > > > > > I
> > > > > > > can't reproduce.
> > > > > > >
> > > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > > > arunkumar.boppudi.514@gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > I also got the same problem...
> > > > > > > >
> > > > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson <
> > > > > neoanderson123@googlemail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > I'm getting *uncaught exception: Permission denied to call
> > > > > method
> > > > > > > > > Window.setTimeout *exception when I try to use Dynamic
> > Height
> > > > > > feature.
> > > > > > > > But
> > > > > > > > > dynamic height is working. I'm adding gadgets to my web
> > page
> > > > > > > dynamically
> > > > > > > > > i.e.,
> > > > > > > > > I'm able to add a gadget upon clicking on a button. But
> > when I
> > > > > place
> > > > > > > two
> > > > > > > > > gadgets in a column, then if the gadget on top needs to
> > adjust
> > > > > it's
> > > > > > > > > height,
> > > > > > > > > then the gadget height height is adjusted and the height
> > > > > adjusted is
> > > > > > > not
> > > > > > > > > getting displayed and in this case, I'm getting the above
> > said
> > > > > > error.
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > ~Kevin
> > > > > > >
> > > > > > > If you received this email by mistake, please delete it,
> > cancel
> > > your
> > > > > > mail
> > > > > > > account, destroy your hard drive, silence any witnesses, and
> > burn
> > > > > down
> > > > > > the
> > > > > > > building that you're in.
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > ~Kevin
> > > > >
> > > > > If you received this email by mistake, please delete it, cancel
> > your
> > > > > mail
> > > > > account, destroy your hard drive, silence any witnesses, and burn
> > down
> > > > > the
> > > > > building that you're in.
> > > > >
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > ~Kevin
> >
> > If you received this email by mistake, please delete it, cancel your
> > mail
> > account, destroy your hard drive, silence any witnesses, and burn down
> > the
> > building that you're in.
> >
>
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
Container page? I'm not using any container .


On Feb 13, 2008 3:13 PM, Kevin Brown <et...@google.com> wrote:

> I see the error in IE, but this looks like an error that's popping up on
> all
> gadget renders (I don't have an IE debugger available right now so I'll
> investigate tomorrow when I do). I can't find anything triggering this
> window.setTimeout issue, though. Is this happening on a container page
> that
> you wrote yourself?
>
> On Feb 13, 2008 1:05 AM, Neo Anderson <ne...@googlemail.com>
> wrote:
>
> > If I run the same example in IE, then it is not working. It is
> displaying
> > JavaScript error "gadgets" is not defined.
> >
> > On Feb 13, 2008 2:34 PM, Neo Anderson <ne...@googlemail.com>
> > wrote:
> >
> > > No, I'm not getting any errors even I add some more gadgets in a
> single
> > > column. Any it is working fine. What might br the problem?
> > >
> > >
> > > On Feb 13, 2008 2:11 PM, Kevin Brown <et...@google.com> wrote:
> > >
> > > > Do you get the error when hitting
> > > > http://localhost:8080/gadgets/files/container/sample6.html and
> > clicking
> > > > the
> > > > "Refine the list" link?
> > > >
> > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> neoanderson123@googlemail.com>
> > > > wrote:
> > > >
> > > > > Yes, I'm using latest snapshot. I'm using FF 2.0.12
> > > > >
> > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <et...@google.com> wrote:
> > > > >
> > > > > > What browser are you seeing this in? Are you using the latest
> > > > snapshot?
> > > > > I
> > > > > > can't reproduce.
> > > > > >
> > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > > arunkumar.boppudi.514@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > I also got the same problem...
> > > > > > >
> > > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson <
> > > > neoanderson123@googlemail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > I'm getting *uncaught exception: Permission denied to call
> > > > method
> > > > > > > > Window.setTimeout *exception when I try to use Dynamic
> Height
> > > > > feature.
> > > > > > > But
> > > > > > > > dynamic height is working. I'm adding gadgets to my web page
> > > > > > dynamically
> > > > > > > > i.e.,
> > > > > > > > I'm able to add a gadget upon clicking on a button. But when
> I
> > > > place
> > > > > > two
> > > > > > > > gadgets in a column, then if the gadget on top needs to
> adjust
> > > > it's
> > > > > > > > height,
> > > > > > > > then the gadget height height is adjusted and the height
> > > > adjusted is
> > > > > > not
> > > > > > > > getting displayed and in this case, I'm getting the above
> said
> > > > > error.
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > ~Kevin
> > > > > >
> > > > > > If you received this email by mistake, please delete it, cancel
> > your
> > > > > mail
> > > > > > account, destroy your hard drive, silence any witnesses, and
> burn
> > > > down
> > > > > the
> > > > > > building that you're in.
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > ~Kevin
> > > >
> > > > If you received this email by mistake, please delete it, cancel your
> > > > mail
> > > > account, destroy your hard drive, silence any witnesses, and burn
> down
> > > > the
> > > > building that you're in.
> > > >
> > >
> > >
> >
>
>
>
> --
> ~Kevin
>
> If you received this email by mistake, please delete it, cancel your mail
> account, destroy your hard drive, silence any witnesses, and burn down the
> building that you're in.
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Kevin Brown <et...@google.com>.
I see the error in IE, but this looks like an error that's popping up on all
gadget renders (I don't have an IE debugger available right now so I'll
investigate tomorrow when I do). I can't find anything triggering this
window.setTimeout issue, though. Is this happening on a container page that
you wrote yourself?

On Feb 13, 2008 1:05 AM, Neo Anderson <ne...@googlemail.com> wrote:

> If I run the same example in IE, then it is not working. It is displaying
> JavaScript error "gadgets" is not defined.
>
> On Feb 13, 2008 2:34 PM, Neo Anderson <ne...@googlemail.com>
> wrote:
>
> > No, I'm not getting any errors even I add some more gadgets in a single
> > column. Any it is working fine. What might br the problem?
> >
> >
> > On Feb 13, 2008 2:11 PM, Kevin Brown <et...@google.com> wrote:
> >
> > > Do you get the error when hitting
> > > http://localhost:8080/gadgets/files/container/sample6.html and
> clicking
> > > the
> > > "Refine the list" link?
> > >
> > > On Feb 13, 2008 12:35 AM, Neo Anderson <ne...@googlemail.com>
> > > wrote:
> > >
> > > > Yes, I'm using latest snapshot. I'm using FF 2.0.12
> > > >
> > > > On Feb 13, 2008 2:04 PM, Kevin Brown <et...@google.com> wrote:
> > > >
> > > > > What browser are you seeing this in? Are you using the latest
> > > snapshot?
> > > > I
> > > > > can't reproduce.
> > > > >
> > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > arunkumar.boppudi.514@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > I also got the same problem...
> > > > > >
> > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson <
> > > neoanderson123@googlemail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > I'm getting *uncaught exception: Permission denied to call
> > > method
> > > > > > > Window.setTimeout *exception when I try to use Dynamic Height
> > > > feature.
> > > > > > But
> > > > > > > dynamic height is working. I'm adding gadgets to my web page
> > > > > dynamically
> > > > > > > i.e.,
> > > > > > > I'm able to add a gadget upon clicking on a button. But when I
> > > place
> > > > > two
> > > > > > > gadgets in a column, then if the gadget on top needs to adjust
> > > it's
> > > > > > > height,
> > > > > > > then the gadget height height is adjusted and the height
> > > adjusted is
> > > > > not
> > > > > > > getting displayed and in this case, I'm getting the above said
> > > > error.
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > ~Kevin
> > > > >
> > > > > If you received this email by mistake, please delete it, cancel
> your
> > > > mail
> > > > > account, destroy your hard drive, silence any witnesses, and burn
> > > down
> > > > the
> > > > > building that you're in.
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > ~Kevin
> > >
> > > If you received this email by mistake, please delete it, cancel your
> > > mail
> > > account, destroy your hard drive, silence any witnesses, and burn down
> > > the
> > > building that you're in.
> > >
> >
> >
>



-- 
~Kevin

If you received this email by mistake, please delete it, cancel your mail
account, destroy your hard drive, silence any witnesses, and burn down the
building that you're in.

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
If I run the same example in IE, then it is not working. It is displaying
JavaScript error "gadgets" is not defined.

On Feb 13, 2008 2:34 PM, Neo Anderson <ne...@googlemail.com> wrote:

> No, I'm not getting any errors even I add some more gadgets in a single
> column. Any it is working fine. What might br the problem?
>
>
> On Feb 13, 2008 2:11 PM, Kevin Brown <et...@google.com> wrote:
>
> > Do you get the error when hitting
> > http://localhost:8080/gadgets/files/container/sample6.html and clicking
> > the
> > "Refine the list" link?
> >
> > On Feb 13, 2008 12:35 AM, Neo Anderson <ne...@googlemail.com>
> > wrote:
> >
> > > Yes, I'm using latest snapshot. I'm using FF 2.0.12
> > >
> > > On Feb 13, 2008 2:04 PM, Kevin Brown <et...@google.com> wrote:
> > >
> > > > What browser are you seeing this in? Are you using the latest
> > snapshot?
> > > I
> > > > can't reproduce.
> > > >
> > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > arunkumar.boppudi.514@gmail.com>
> > > > wrote:
> > > >
> > > > > I also got the same problem...
> > > > >
> > > > > On Feb 13, 2008 1:15 PM, Neo Anderson <
> > neoanderson123@googlemail.com>
> > > > > wrote:
> > > > >
> > > > > > I'm getting *uncaught exception: Permission denied to call
> > method
> > > > > > Window.setTimeout *exception when I try to use Dynamic Height
> > > feature.
> > > > > But
> > > > > > dynamic height is working. I'm adding gadgets to my web page
> > > > dynamically
> > > > > > i.e.,
> > > > > > I'm able to add a gadget upon clicking on a button. But when I
> > place
> > > > two
> > > > > > gadgets in a column, then if the gadget on top needs to adjust
> > it's
> > > > > > height,
> > > > > > then the gadget height height is adjusted and the height
> > adjusted is
> > > > not
> > > > > > getting displayed and in this case, I'm getting the above said
> > > error.
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > ~Kevin
> > > >
> > > > If you received this email by mistake, please delete it, cancel your
> > > mail
> > > > account, destroy your hard drive, silence any witnesses, and burn
> > down
> > > the
> > > > building that you're in.
> > > >
> > >
> >
> >
> >
> > --
> > ~Kevin
> >
> > If you received this email by mistake, please delete it, cancel your
> > mail
> > account, destroy your hard drive, silence any witnesses, and burn down
> > the
> > building that you're in.
> >
>
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
No, I'm not getting any errors even I add some more gadgets in a single
column. Any it is working fine. What might br the problem?

On Feb 13, 2008 2:11 PM, Kevin Brown <et...@google.com> wrote:

> Do you get the error when hitting
> http://localhost:8080/gadgets/files/container/sample6.html and clicking
> the
> "Refine the list" link?
>
> On Feb 13, 2008 12:35 AM, Neo Anderson <ne...@googlemail.com>
> wrote:
>
> > Yes, I'm using latest snapshot. I'm using FF 2.0.12
> >
> > On Feb 13, 2008 2:04 PM, Kevin Brown <et...@google.com> wrote:
> >
> > > What browser are you seeing this in? Are you using the latest
> snapshot?
> > I
> > > can't reproduce.
> > >
> > > On Feb 13, 2008 12:03 AM, Arun Kumar <ar...@gmail.com>
> > > wrote:
> > >
> > > > I also got the same problem...
> > > >
> > > > On Feb 13, 2008 1:15 PM, Neo Anderson <neoanderson123@googlemail.com
> >
> > > > wrote:
> > > >
> > > > > I'm getting *uncaught exception: Permission denied to call method
> > > > > Window.setTimeout *exception when I try to use Dynamic Height
> > feature.
> > > > But
> > > > > dynamic height is working. I'm adding gadgets to my web page
> > > dynamically
> > > > > i.e.,
> > > > > I'm able to add a gadget upon clicking on a button. But when I
> place
> > > two
> > > > > gadgets in a column, then if the gadget on top needs to adjust
> it's
> > > > > height,
> > > > > then the gadget height height is adjusted and the height adjusted
> is
> > > not
> > > > > getting displayed and in this case, I'm getting the above said
> > error.
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > ~Kevin
> > >
> > > If you received this email by mistake, please delete it, cancel your
> > mail
> > > account, destroy your hard drive, silence any witnesses, and burn down
> > the
> > > building that you're in.
> > >
> >
>
>
>
> --
> ~Kevin
>
> If you received this email by mistake, please delete it, cancel your mail
> account, destroy your hard drive, silence any witnesses, and burn down the
> building that you're in.
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Kevin Brown <et...@google.com>.
Do you get the error when hitting
http://localhost:8080/gadgets/files/container/sample6.html and clicking the
"Refine the list" link?

On Feb 13, 2008 12:35 AM, Neo Anderson <ne...@googlemail.com>
wrote:

> Yes, I'm using latest snapshot. I'm using FF 2.0.12
>
> On Feb 13, 2008 2:04 PM, Kevin Brown <et...@google.com> wrote:
>
> > What browser are you seeing this in? Are you using the latest snapshot?
> I
> > can't reproduce.
> >
> > On Feb 13, 2008 12:03 AM, Arun Kumar <ar...@gmail.com>
> > wrote:
> >
> > > I also got the same problem...
> > >
> > > On Feb 13, 2008 1:15 PM, Neo Anderson <ne...@googlemail.com>
> > > wrote:
> > >
> > > > I'm getting *uncaught exception: Permission denied to call method
> > > > Window.setTimeout *exception when I try to use Dynamic Height
> feature.
> > > But
> > > > dynamic height is working. I'm adding gadgets to my web page
> > dynamically
> > > > i.e.,
> > > > I'm able to add a gadget upon clicking on a button. But when I place
> > two
> > > > gadgets in a column, then if the gadget on top needs to adjust it's
> > > > height,
> > > > then the gadget height height is adjusted and the height adjusted is
> > not
> > > > getting displayed and in this case, I'm getting the above said
> error.
> > > >
> > >
> >
> >
> >
> > --
> > ~Kevin
> >
> > If you received this email by mistake, please delete it, cancel your
> mail
> > account, destroy your hard drive, silence any witnesses, and burn down
> the
> > building that you're in.
> >
>



-- 
~Kevin

If you received this email by mistake, please delete it, cancel your mail
account, destroy your hard drive, silence any witnesses, and burn down the
building that you're in.

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Neo Anderson <ne...@googlemail.com>.
Yes, I'm using latest snapshot. I'm using FF 2.0.12

On Feb 13, 2008 2:04 PM, Kevin Brown <et...@google.com> wrote:

> What browser are you seeing this in? Are you using the latest snapshot? I
> can't reproduce.
>
> On Feb 13, 2008 12:03 AM, Arun Kumar <ar...@gmail.com>
> wrote:
>
> > I also got the same problem...
> >
> > On Feb 13, 2008 1:15 PM, Neo Anderson <ne...@googlemail.com>
> > wrote:
> >
> > > I'm getting *uncaught exception: Permission denied to call method
> > > Window.setTimeout *exception when I try to use Dynamic Height feature.
> > But
> > > dynamic height is working. I'm adding gadgets to my web page
> dynamically
> > > i.e.,
> > > I'm able to add a gadget upon clicking on a button. But when I place
> two
> > > gadgets in a column, then if the gadget on top needs to adjust it's
> > > height,
> > > then the gadget height height is adjusted and the height adjusted is
> not
> > > getting displayed and in this case, I'm getting the above said error.
> > >
> >
>
>
>
> --
> ~Kevin
>
> If you received this email by mistake, please delete it, cancel your mail
> account, destroy your hard drive, silence any witnesses, and burn down the
> building that you're in.
>

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Kevin Brown <et...@google.com>.
What browser are you seeing this in? Are you using the latest snapshot? I
can't reproduce.

On Feb 13, 2008 12:03 AM, Arun Kumar <ar...@gmail.com>
wrote:

> I also got the same problem...
>
> On Feb 13, 2008 1:15 PM, Neo Anderson <ne...@googlemail.com>
> wrote:
>
> > I'm getting *uncaught exception: Permission denied to call method
> > Window.setTimeout *exception when I try to use Dynamic Height feature.
> But
> > dynamic height is working. I'm adding gadgets to my web page dynamically
> > i.e.,
> > I'm able to add a gadget upon clicking on a button. But when I place two
> > gadgets in a column, then if the gadget on top needs to adjust it's
> > height,
> > then the gadget height height is adjusted and the height adjusted is not
> > getting displayed and in this case, I'm getting the above said error.
> >
>



-- 
~Kevin

If you received this email by mistake, please delete it, cancel your mail
account, destroy your hard drive, silence any witnesses, and burn down the
building that you're in.

Re: uncaught exception: Permission denied to call method Window.setTimeout

Posted by Arun Kumar <ar...@gmail.com>.
I also got the same problem...

On Feb 13, 2008 1:15 PM, Neo Anderson <ne...@googlemail.com> wrote:

> I'm getting *uncaught exception: Permission denied to call method
> Window.setTimeout *exception when I try to use Dynamic Height feature. But
> dynamic height is working. I'm adding gadgets to my web page dynamically
> i.e.,
> I'm able to add a gadget upon clicking on a button. But when I place two
> gadgets in a column, then if the gadget on top needs to adjust it's
> height,
> then the gadget height height is adjusted and the height adjusted is not
> getting displayed and in this case, I'm getting the above said error.
>