Class ::xowiki::includelet::set-parameter

::xowiki::includelet::set-parameter[i] create ... \
           [ -__decoration (default "none") ]

Set a parameter accessible to the current page (for certain tailorings), accessible in the page via e.g. the query parameter interface.
Defined in /var/www/openacs.org/packages/xowiki/tcl/includelet-procs.tcl

Class Relations

  • class: ::xowiki::IncludeletClass[i]
  • superclass: ::xowiki::Includelet[i]
::xowiki::IncludeletClass create ::xowiki::includelet::set-parameter \
     -superclass ::xowiki::Includelet

Methods (to be applied on instances)

  • __decoration (setter)

  • render (scripted)

    :get_parameters
    set pl ${:__caller_parameters}
    if {[llength $pl] % 2 == 1} {
      error "no even number of parameters '$pl'"
    }
    foreach {att value} $pl {
      ::xo::cc set_parameter $att $value
    }
    return ""