%3 ::xo::Table::TABLE2 ::xo::Table::TABLE2 render render-actions ::xo::Table::TABLE ::xo::Table::TABLE init_renderer render render-actions render-body render-bulkactions ::xo::Table::TABLE2->::xo::Table::TABLE ::xo::Drawable ::xo::Drawable ::xo::Table::TABLE->::xo::Drawable ::xo::Table::TABLE3 ::xo::Table::TABLE3 init_renderer ::xo::Table::TABLE3->::xo::Table::TABLE2 ::xo::Table::YUIDataTableRenderer ::xo::Table::YUIDataTableRenderer init_renderer render render-body render_yui_js ::xo::Table::YUIDataTableRenderer->::xo::Table::TABLE3 ::xo::Table::BootstrapTableRenderer ::xo::Table::BootstrapTableRenderer init_renderer render render-body render-bulkactions ::xo::Table::BootstrapTableRenderer->::xo::Table::TABLE3

Class ::xo::Table::TABLE2

::xo::Table::TABLE2[i] create ...

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xo::Table::TABLE[i]
  • subclass: ::xo::Table::TABLE3[i]
::xotcl::Class create ::xo::Table::TABLE2 \
     -superclass ::xo::Table::TABLE

Methods (to be applied on instances)

  • render (scripted)

    if {![nsf::is object [self]::__actions]} {:actions {}}
    if {![nsf::is object [self]::__bulkactions]} {:__bulkactions {}}
    set bulkactions [[self]::__bulkactions children]
    html::div  {
      :render-actions
    
      if {![[self]::__bulkactions exists __identifier]} {
        html::div -class table {
          html::table -class ${:css.table-class} {:render-body}
        }
      } else {
        set name [[self]::__bulkactions set __identifier]
        html::form -name $name -action "" {
          html::div -class table {
            html::table -class ${:css.table-class} {:render-body}
            :render-bulkactions
          }
        }
      }
    }
  • render-actions (scripted)

    set actions [[self]::__actions children]
    if {[llength $actions] > 0} {
      html::div -class "actions" -style "float: left;" {
        html::ul -style "list-style:none; padding: 10px;" {
          foreach o $actions { html::li -class "button" {$o render} }
        }
      }
    }