[Dojo-interest] Re: Tree Problem

Rai Singh rgsingh01 at yahoo.com
Wed Jan 31 09:41:10 MST 2007


> Ok, Move Up and Move Down is working on the server , BUT create and remove
aren't working !!
> 
> Safari says: RPC Error: XMLHttpTransport Error: undefined undefined
> 
> Firefox says: DEBUG: [SyntaxError: syntax error, file:
>
http://localhost:8080/download/resources/pluginkey:servletkey/resources/javascripts/dojo.js,
> line: 108] ...
> 
> So i looked at line 108 and debuged it with firebug and it seems that var res
> = controller.createChild(selectedNode, 0, { suggestedTitle: "New node" },
> dojo.lang.hitch(this, restoreIconSrc)); is undefined !!
> 
> So can you please have a look and teel me if i have forgotten to correct a
path to the serverpath or what is wrong ?
> Don't wonder about the cryptic serverpathes ^^
> 


I am experiencing a very similar issue. The difference is that I am rendering
the UI from within a portlet. Please let me know if you have resolved this. The
dojo.lang.hitch(this, restoreIconSrc) call within the createChild and
removeNode methods returns the same value (i.e. "undefined")

Thank you.  Rai




More information about the Dojo-interest mailing list