I am using ext-js version 3.4 with GateIn 3.6 (jboss as 7). On GateIn some ext components are not working fine (especially tree) when GateIn as in production mode. I think this issue is due to javascript compression mechanism. I got the same issue in GateIn 3.2 then after i find that in GateIn 3.6 they changed the java compression machanism (in this GateIn they are using closure compiler) but still have the same issue.
Here follows my problem with example
I created two examples which contains same code of tree loading
Example 1 :- Here the ext js related files are not compressed
Example 2 :- Here the ext js files are compressed using closure compiler
(You can run the above two example by deploying it into a server like wamp, xamp, jboss... etc)
On Example 1 it is possible to expand the tree. But on the second case (Example 2) the tree expanded only first level. Is there is any idea to resolve this issue.
I cant directly specify the ext js libraries without compression in production mode. Because in GateIn java scripts are specified inside in gatein-resources.xml file. In production mode i think by default GateIn compresses the files in gatein-resources.xml using closure compiler.