Hi,
If you use the commons logging port i_log (GPL2) that I wrote, you
can use it in production settings (when gwt is actually running in a
web browser). It sends log messages over rpc, and you can display
them via the Adligo Gwt Log Server (Costs $$), or you can just send
them to your a file via log4j on the server side (Costs Your Time).
http://www.adligo.com/#Products
http://www.adligo.com/#Source
(source and compiled jars)
http://www.adligo.com/dist2/gwt/gwt_main_v3_0/
(last nights build)
Example bootstrap
http://cvs.adligo.org/viewvc/gwt_util_demo/src/org/adligo/gwt/util/demo/client/UtilEntryPoint.java?view=markup
public void onModuleLoad() {
// just info
//String log_config_file = "adligo_log.properties";
try {
GwtPlatform.init();
new GwtLogFactory();
} catch (Exception x) {
x.printStackTrace();
log.error(x.getMessage(), x);
}
You need these jars (i_util, i_log, adi, gwt_util).
adligo_log.properties comes from your public folder (where your
module.html file is).
Cheers,
Scott
On Feb 26, 12:14 pm, joe young <
keven.c...@gmail.com> wrote:
> Hi Allahbaksh, Arthur and mars1412~
>
> Thanks for your suggestions!! FireBug suits me perfectly Thanks
>
> I found out that while building the children node 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
> undefinedhttp://localhost:8084/DMTAdmin/com.....DMTAdmin/js/ext/ext-all.js