I had some problem while deploying to Tomcat/GlassFish, note that
everything works fine with gwt-shell-hosted.
I found out that while building the children tree node
(com.gwtext.client.widgets.tree.TreeNode) with recurrsive method, it
stops when I set the node to disable()
if (theObject.getDeprecated().equals("1")) {
childTreeNode.disable(); <-----------------------
//this will stop the funciton and the tree cannot built.
} else {
childTreeNode.enable();
}
firebug give me this error:
this.getOwnerTree() is undefined
[Break on this error] Ext.tree.TreeNode=function(A){A=A||{};if...
(this.ui.destroy){this.ui.destroy()}}});
and chrome's javascript console output this error
Uncaught TypeError: Cannot call method 'getSelectionModel' of
undefined http://localhost:8084/DMTAdmin/com.....DMTAdmin/js/ext/ext-all.js
(line 102)
How come tomcat cause this error??? Does anyone know??
Thanks again for your help!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---