-
5 Mar 2011 1:26 PM #11
I inspect them visually and this gives me more info about the widgets. I can quickly understand or learn the application if the IDs are informative and consistent.
I assume tools such Illuminations for Firebug could parse the ID and generate even more useful info.
-
5 Mar 2011 1:28 PM #12Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,617
- Vote Rating
- 435
Easy way to visualize components... if you open firebug (or the like) and mouse over DOM elements, it will highlight it. No change required for that.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
5 Mar 2011 1:34 PM #13
-
5 Mar 2011 1:38 PM #14Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,617
- Vote Rating
- 435
I'm gonna stop posting here... this is a none issue.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
6 Mar 2011 9:31 PM #15
I don't really see this as being much of an issue, though I guess it might be something we could look at eventually.
However I wouldn't say the amount of effort is miniscule, there's many more important things to look at now.Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
7 Mar 2011 4:02 AM #16
[REOPEN] Ext auto-gen ID format
[REOPEN] Ext auto-gen ID format
Ext.Component's getId() changes between releases:
Code:// Rel 3: As you can see the ID is not very informative. // It's just a prefix + sequential number. getId : function(){ return this.id || (this.id = 'ext-comp-' + (++Ext.Component.AUTO_ID)); } // Rel 4: This is better b/c the ID includes the xtype prefix. getId: function() { return this.id || (this.id = (this.getXType() || 'ext-comp') + '-' + this.getAutoId()); } // My suggestion: // Modify this method to have the "ext" or "x" prefix, // so it sorts nicely in the Ext widget registry. // This is a small change that provides further improvement to the ID format. getId: function() { return this.id || (this.id = 'ext-' + (this.getXType() || 'comp') + '-' + this.getAutoId()); }
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[CLOSED] Popup menu doesn't show after flash component closed
By Sesshomurai in forum Ext 3.x: BugsReplies: 3Last Post: 16 Aug 2009, 11:37 AM



Reply With Quote