ws_roxieconfig_center.js 1.4 KB

123456789101112131415161718192021222324252627282930
  1. /*##############################################################################
  2. # Copyright (C) 2011 HPCC Systems.
  3. #
  4. # All rights reserved. This program is free software: you can redistribute it and/or modify
  5. # it under the terms of the GNU Affero General Public License as
  6. # published by the Free Software Foundation, either version 3 of the
  7. # License, or (at your option) any later version.
  8. #
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. # GNU Affero General Public License for more details.
  13. #
  14. # You should have received a copy of the GNU Affero General Public License
  15. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. ############################################################################## */
  17. //Here's the code that will set up our TabView instance. We'll
  18. //write this function and then tell Loader to fire it once it's done
  19. //loading TabView into the page.
  20. (function(){
  21. var tree = new YAHOO.widget.TreeView("espNavTree");
  22. var root = tree.getRoot();
  23. var tmpNode = new YAHOO.widget.TextNode({label: "mylabel1", expanded: false}, root);
  24. var tmpNode2 = new YAHOO.widget.TextNode({label: "mylabel1-1", expanded: false}, tmpNode);
  25. tree.render();
  26. })();