Threaded View
-
12 Jul 2012 12:18 AM #1
ComponentQuery with advanced attribute selector
ComponentQuery with advanced attribute selector
Hi ...
bit more of a RFE instead of a bug ... but what really bugs me, is that I can't query components that have multiple attributes. For example
Now I want to query the imprint container. This one worksCode:{ xtype:'container', cls: 'overlay-footer', items:[ { html: 'Imprint', cls: 'overlay-footer-item overlay-footer-imprint', } ] }
This one doesn'tCode:Ext.ComponentQuery.query('.container[cls="overlay-footer-item overlay-footer-imprint"]')
Ok, makes sense ... according to http://www.w3.org/TR/CSS2/selector.html this would be the way to do itCode:Ext.ComponentQuery.query('.container[cls="overlay-footer-imprint"]')
Am I missing something or is this not supported?Code:Ext.ComponentQuery.query('.container[cls~="overlay-footer-imprint"]')
Bests
wirtsi
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-3115
in
Sprint 23 (2.0.3/2.1.0-b1).


Reply With Quote