In Firefox (but not IE), if the data loaded into the grid all fits on the first page, mousing over the buttons in the paging toolbar results in the following:
Error on line 96 of document http://qamain1/javascript/extjs/ext-all.js: this.getTargetXY is not a function
Also, it appears that the refresh button gets disabled in this case - but shouldn't it always be active?
What's the advantage of custom sub-classes?
I think you can get some answers here: http://blog.extjs.eu/know-how/writing-a-big-application-in-ext/
Looks like the root of the issue is with the tooltips. Could you please comment out the tooltip code to confirm that this is the problem?
aconran - I knew it was the tooltips already....I guess I should have said that
Comment out which code? The QTip init? My code to add tooltips within the grid?
(new thread?) Given that we are refactoring these components into an existing JSP application and want to make this seamless for the developers, doing everything in Ext.onready in the head is problematic. If we run into problems, we may revisit that issue, but it requires a fairly complicated structure (an enclosing tag in the head to write out the OnReady with all ext tags having to register with it and append code to the onready as well as define vars outside it - possible to do, but more involved than we'd like at this point). Do you think this will cause serious issues? JAVASCRIPTS :: Window.opener.opener.closed??:: FireFox Thinks Opener Is Framset Window? IE Toolbar Enable/disable When Using . Is there a way to refresh the opener when a user is paging through the http://www.bigresource.com/JAVASCRIPTS-window-opener-opener-closed--nJqNWL3b.htmlHOME |
What's the advantage of custom sub-classes?
--------
Attaching screenshots, but they may not be of much help...
Turning tooltips on is definitely what causes the problem.
If I comment out all tooltip code (including my custom stuff) - no errors.
If I add back in just the Ext.QuickTips.init(); - errors
If I wrap the init in Ext.OnReady - errors
It's also throwing them in IE7, BTW
Saki - Yes, I see. This is a good approach to building from scratch. I'm not sure this is applicable to what we're trying to do, which is refactor an existing application and esssentially hide the Ext implementation from our developers, making as full reuse of existing java/jsp code as possible. My computer memory is like eating itself! - Sleepywood.net :: 10 posts - Last post: Oct 8, 2008Indexing+Paging at the same time, or using a low-memory computer in .. key. it'll throw a little "are you sure you want to do that? http://www.sleepywood.net/forum/showthread.php?p=8979461HOME | This is getting out of control - 0x000000C5 and freezes, please :: 22 posts - Last post: Jun 2, 2005There are no cases when a page that should never be paged out ends up paged out. . I'm having the same 0x000000C5 error and problem. http://episteme.arstechnica.com/eve/ubb.x/a/tpc/f/99609816/m/891002382731HOME |
Thanks, though - great article
A few notes before we go into debugging the issue.
Your entry point to the application (or main code) should be wrapped in an Ext.onReady and be contained within the head of the HTML document.
Instead of creating functions which return instances of classes like:
_gridtag_makeStore
_gridtag_makeGrid
I would suggest creating custom subclasses of these components.
CmvStore
CmvGrid
You can see examples of how to create these subclasses in examples/grid/binding-with-classes.js.
Can you expand out the stack trace in Firebug when you receive the error and take a screenshot of it along with this expanded in the watch tab?
No response?
Jeff -
Could you post some code to duplicate this issue? Also let us know what version of Ext you are running.
What would help would be a simplified but complete showcase that we can debug locally. It's impossible to guess what could be the root of it from reading the code only.
The containing page looks like this:
Traditional University or MLM University? You Choose
15 Questions to Ask Your Software Vendor
|