3 <title>The source code</title>
\r
4 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
5 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
7 <body onload="prettyPrint();">
\r
8 <pre class="prettyprint lang-js">Ext.onReady(function(){
\r
9 Ext.Direct.addProvider(Ext.app.REMOTING_API);
\r
11 var tree = new Ext.tree.TreePanel({
\r
15 renderTo: document.body,
\r
20 loader: new Ext.tree.TreeLoader({
\r
21 directFn: TestAction.getTree
\r
24 text: 'Reload root',
\r
25 handler: function(){
\r
26 tree.getRootNode().reload();
\r