json - JsonToTree example from QooXdoo 2.1 demo not working in playground -
i trying jsontotree example working, not work in playground: http://tinyurl.com/b92lkn9
, not work when done locally on system. interestingly, example works fine inside demo browser http://demo.qooxdoo.org/2.1/demobrowser/index.html#data~jsontotree.html
if bring part out of event listener, tree.getroot().setopen(true);
gives me error saying tree.getroot() null.
some other questions regarding have been solved pointing json file did not have root node. using same json given in demo browser example. tree.json looks this: http://demo.qooxdoo.org/2.1/demobrowser/resource/demobrowser/demo/data/tree.json
any pointers issue. stuck here.
thanks in advance. vishal
the sample can not work in playground data json file missing , can not loaded when copying code over. mentioned in comment, if put json file on server, should work , should not have cross origin policy issues anymore.
Comments
Post a Comment