|
Title: Trying again: json doesn't work Post by: terjeber on March 15, 2013, 01:46:32 AM Trying again, to avoid the "look at the example" answers since "the example" doesn't work.
On my web page I have the following two constructs, a simple script tag to call some backend that returns json Code: <script type="text/javascript" src="../api/getTreeStuff"></script> and and easyui-tree that basically should do the same Code: <ul id="tt2" class="easyui-tree" url="../api/getTreeStuff"></ul> The Javascript line calls my server, no problem. The easyui-tree never calls back to the server. On the same page I have put an inline easyui-tree, and that gets rendered fine, so easyui is installed and working. Well, not actually working, but definitely installed. I have tried every conceivable variation on the url, and I have also used the data-options way of specifying the url, nothing can make the easyui-tree code call into my json server. Any help would be appreciated. Any "see the example" comments is not helpful, since the code is directly from the example, and the code doesn't work. Title: Re: Trying again: json doesn't work Post by: terjeber on March 18, 2013, 04:27:41 AM Oh well, so GWT it is then.
|