%3 ::xo::Table::TABLE::BulkAction ::xo::Table::TABLE::BulkAction render render-data ::xo::Drawable ::xo::Drawable _ render_localizer ::xo::Table::TABLE::BulkAction->::xo::Drawable ::xo::Table::TABLE::Action ::xo::Table::TABLE::Action render ::xo::Table::TABLE::Action->::xo::Drawable ::xo::Table::TABLE::Field ::xo::Table::TABLE::Field get_orderby render render-data renderSortLabels ::xo::Table::TABLE::Field->::xo::Drawable ::xo::Table::Line ::xo::Table::Line attlist ::xo::Table::Line->::xo::Drawable ::xo::Table::TABLE ::xo::Table::TABLE init_renderer render render-actions render-body render-bulkactions ::xo::Table::TABLE->::xo::Drawable ::xo::tdom::AttributeManager ::xo::tdom::AttributeManager ::xo::Drawable->::xo::tdom::AttributeManager ::xo::Table::TABLE2::BulkAction ::xo::Table::TABLE2::BulkAction ::xo::Table::TABLE2::BulkAction->::xo::Table::TABLE::BulkAction ::xo::Table::BootstrapTableRenderer::BulkAction ::xo::Table::BootstrapTableRenderer::BulkAction ::xo::Table::BootstrapTableRenderer::BulkAction->::xo::Table::TABLE::BulkAction ::xo::Table::TABLE3::BulkAction ::xo::Table::TABLE3::BulkAction ::xo::Table::TABLE3::BulkAction->::xo::Table::TABLE::BulkAction ::xo::Table::YUIDataTableRenderer::BulkAction ::xo::Table::YUIDataTableRenderer::BulkAction ::xo::Table::YUIDataTableRenderer::BulkAction->::xo::Table::TABLE::BulkAction

Class ::xo::Table::TABLE::BulkAction

::xo::Table::TABLE::BulkAction[i] create ... \
           [ -CSSclass (default "") ]

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xo::Drawable[i]
  • subclass: ::xo::Table::TABLE2::BulkAction[i], ::xo::Table::BootstrapTableRenderer::BulkAction[i], ::xo::Table::TABLE3::BulkAction[i], ::xo::Table::YUIDataTableRenderer::BulkAction[i]
::xotcl::Class create ::xo::Table::TABLE::BulkAction \
     -superclass ::xo::Drawable

Methods (to be applied on instances)

  • CSSclass (setter)

  • render (scripted)

    #:msg [:serialize]
    html::th -class list {
      html::input -type checkbox -name __bulkaction -id __bulkaction  -title "Mark/Unmark all rows"
      ::html::CSRFToken
    }
    template::add_body_script -script [subst {
      document.getElementById('__bulkaction').addEventListener('click', function (event) {
        acs_ListCheckAll('${:name}', this.checked);
      }, false);
    }]
  • render-data (scripted)

    #:msg [:serialize]
    set name ${:name}
    set value [$line set [:id]]
    
    html::input -type checkbox -name $name -value $value  -id "$name---[string map {/ _} $value]"  -title "Mark/Unmark this row"