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 <[EMAIL PROTECTED]> 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 < > [EMAIL PROTECTED]> > 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 <[EMAIL PROTECTED]> wrote: > > > > > Without seeing your code, I really have no idea. > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <[EMAIL PROTECTED]> > > > 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 <[EMAIL PROTECTED] > > > > > > wrote: > > > > > > > > > Container page? I'm not using any container . > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <[EMAIL PROTECTED]> 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 < > > [EMAIL PROTECTED] > > > > > > > > > > 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 < > > > [EMAIL PROTECTED] > > > > > > > > > > > > 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 <[EMAIL PROTECTED]> > 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 < > > > > > > [EMAIL PROTECTED]> > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > Yes, I'm using latest snapshot. I'm using FF 2.0.12 > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <[EMAIL PROTECTED]> > > > 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 < > > > > > > > > > [EMAIL PROTECTED]> > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > I also got the same problem... > > > > > > > > > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson < > > > > > > > > > [EMAIL PROTECTED]> > > > > > > > > > > > > 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. > > > > > >

