View Full Version : How to get all the FormPanel using clientside JavaScript

Nhm H? Bo
30 Dec 2011, 4:21 AM
Hi guys,
I'm a newbie on ExtJS and really need some help. I'm trying to implement a common method for my website. What it actually does is to search for the whole page, find all the FormPanel elements and if any of them IsDirty, alert user with some meaningful message.
The problem is, because I'm using Ext.NET, I can't find a way to get all the rendered FormPanel in the current page with HTML mark-up only. ( ExtNET takes care of all the initialization, I don't have the access to the controls)
I'm banging my head against the wall for days, I'm frustrated :(

30 Dec 2011, 9:14 AM
Use ComponentQuery:


That should return an array of all components with the xtype 'form' that are created.