Hi there,
I have seen the screencasts about not using Ext.getCmp() and I was thinking how can we avoid using it in our application, we build our windows dinamically via custom
Java tags, so we have our JSPs that might look something like this:
This is just a reduced example of a screen with a tree and a dataview, this generates a JSON Object that is attached when the page is generated and then we create the object by:
Then we have a JS file for handling the actions on this screen and there as you can imagine the main way of getting things is via functions like:
and so on.
We also have our own classes extending the Ext official ones for adding our own functionallity to the elements and so on.
How would you suggest that we can avoid this behavior? (without changing the whole application if possible
)