I'm using NetBeans to develope my GWT applicaiotn.

Everything works fine when i deploy to gwt-shell-hosted.  However when
I deploy to tomcat 6 with netbeans,  many little problems occur. Such
as.

I have a TreePanel that display all the regions. When the TreePanel
first create, it will call RPC to retreive data
service.getGeoRootNode(new AsyncCallback() {
            public void onSuccess(Object result) {

                GeoNode rootNode = (GeoNode) result;

                rootTreeNode.setText(rootNode.getNodeDesc());

                rootTreeNode.setIconCls(rootNode.getNodeName() + "-
icon");

                buildChildTreeNode(rootNode, rootTreeNode);  // build
the children nodes

                setRootNode(rootTreeNode);
            }
});
However the tree building stop right after the rootNode is created.  I
cannot trace the code because GWT.log() cannot print to tomcat logging
(I'm using log4J for server side logging) thus I don't know what
happen....

Question1: How can we trace the client side code? Is it possible that
ask GWT.log dump to log4J?

Question 2: Is it because  buildChildTreeNode(rootNode, rootTreeNode)
is outside of onSuccess() so it cannot be run??


Thanks for your help in advance!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to