/webportal/src/main/webapp/WEB-INF/zul/ContextualLayersTree.zul

http://alageospatialportal.googlecode.com/ · Unknown · 72 lines · 69 code · 3 blank · 0 comment · 0 complexity · a138054810b1c07d0071e8e57cded7b5 MD5 · raw file

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <zk xmlns="http://www.zkoss.org/2005/zul">
  3. <vbox id="contextuallayerswindow" style="text-align: left" use="au.org.emii.portal.composer.ContextualLayerListComposer" apply="au.org.emii.portal.composer.ContextualLayerListComposer">
  4. <vbox>
  5. <label value="Browse layers via categories" style="font-weight: bold;" />
  6. </vbox>
  7. <tree id="tree" multiple="false" checkmark="false">
  8. <treecols>
  9. <treecol />
  10. <treecol width="16px" />
  11. <treecol width="16px" />
  12. </treecols>
  13. </tree>
  14. <popup id="pupLayerAction">
  15. <vbox>
  16. <toolbarbutton id="llAdd" label="Add to map"
  17. image="/img/add.png" />
  18. <toolbarbutton id="llInfo" label="Metadata about this layer"
  19. image="/img/information.png" />
  20. <!-- <toolbarbutton id="llClose" label="Cancel" onclick="this.close()"
  21. image="/img/information.png" /> -->
  22. </vbox>
  23. </popup>
  24. <!--
  25. <tree id="tree" width="100%">
  26. <treecols sizable="true">
  27. <treecol label="Name" />
  28. <treecol label="Description" />
  29. </treecols>
  30. <treechildren>
  31. <treeitem>
  32. <treerow>
  33. <treecell>
  34. <image src="/img/folder.gif" />
  35. Item 1
  36. </treecell>
  37. <treecell>
  38. <textbox value="Item 1 description" />
  39. </treecell>
  40. </treerow>
  41. </treeitem>
  42. <treeitem>
  43. <treerow>
  44. <treecell label="Item 2" />
  45. <treecell label="Item 2 description" />
  46. </treerow>
  47. <treechildren>
  48. <treeitem open="false">
  49. <treerow>
  50. <treecell label="Item 2.1">
  51. <image src="/img/folder.gif" />
  52. </treecell>
  53. </treerow>
  54. <treechildren>
  55. <treeitem>
  56. <treerow>
  57. <treecell label="Item 2.1.1" />
  58. </treerow>
  59. </treeitem>
  60. </treechildren>
  61. </treeitem>
  62. </treechildren>
  63. </treeitem>
  64. <treeitem label="Item 3" />
  65. </treechildren>
  66. </tree>
  67. -->
  68. </vbox>
  69. </zk>