Class ::xowiki::includelet::link-with-local-return-url

::xowiki::includelet::link-with-local-return-url[i] create ... \
           [ -__decoration (default "none") ] \
           [ -parameter_declaration (default " {-text ""} {-url ""} ") ]

Insert a link with extra return URL pointing the current object. This is particularly useful in cases, where a return URL must be created for a page that does not yet exist at time of definition (e.g. for link pointing to concrete workflow instances)
Defined in packages/xowiki/tcl/includelet-procs.tcl

Class Relations

  • class: ::xowiki::IncludeletClass[i]
  • superclass: ::xowiki::Includelet[i]
::xowiki::IncludeletClass create ::xowiki::includelet::link-with-local-return-url \
     -superclass ::xowiki::Includelet

Methods (to be applied on instances)

  • __decoration (setter)

  • parameter_declaration (setter)

  • render (scripted)

    :get_parameters
    #set return_url [ad_return_url]
    set return_url [${:__including_page} pretty_link]
    append url &return_url=$return_url
    return [subst {<a href="[ns_quotehtml $url]">[ns_quotehtml $text]</a>}]