Class ::xowiki::TreeRenderer=yuitree

::xowiki::TreeRenderer=yuitree[i] create ...

Class Relations

  • class: ::xowiki::TreeRenderer[i]
  • superclass: ::xowiki::TreeRenderer=list[i]
::xowiki::TreeRenderer create ::xowiki::TreeRenderer=yuitree \
     -superclass ::xowiki::TreeRenderer=list

Methods (to be applied on the object)

  • include_head_entries (scripted)

    ::xo::Page requireCSS urn:ad:css:yui2:fonts/fonts-min
    ::xo::Page requireCSS urn:ad:css:yui2:treeview/assets/skins/sam/treeview
    if {$style ne ""} {
      # yuitree default css style files are in the assets directory
      if {$style eq "yuitree"} {
        ::xo::Page requireCSS urn:ad:css:yui2:treeview/assets/tree
      } else {
        ::xo::Page requireCSS urn:ad:css:yui2:treeview/assets/$style/tree
      }
    }
    ::xo::Page requireJS urn:ad:js:yui2:yahoo/yahoo-min
    ::xo::Page requireJS urn:ad:js:yui2:yahoo-dom-event/yahoo-dom-event
    
    if {$ajax} {
      ::xo::Page requireJS urn:ad:js:yui2:event/event-min
      ::xo::Page requireJS urn:ad:js:yui2:connection/connection-min
      ::xo::Page requireJS urn:ad:js:yui2:animation/animation-min
    }
    ::xo::Page requireJS urn:ad:js:yui2:treeview/treeview-min
  • render (scripted)

    return "<div id='[$tree id]'><ul>[next]</ul></div>"