Tags:
create new tag
, view all tags

Implemented: New multiple=on attribute for URLPARAM

Two new attributes for %URLPARAM{}%:

  • multiple="on"
    • If set, gets all elements of a <select multiple="on">. Possible to specify a format instead of "on", with $item indicating the element, e.g. multiple="Option: $item"
  • separator=", "
    • Set the separator between multiple selections, default is new line. Only relevant if multiple is specified

Test: (Ctrl-select multiple items)

URLPARAM{ "qSel" }

URLPARAM{ "qSel" multiple="on" }

URLPARAM{ "qSel" multiple="on" separator=", " }

URLPARAM{ "qSel" multiple="($item)" separator=", " }

URLPARAM{ "qSel" multiple="Option: " separator="%BR%" }

Contributors:
-- PaulineCheung - 16 Mar 2004
-- PeterThoeny - 16 Mar 2004

Discussions

This is implemented on TWiki.org but is not yet in TWikiAlphaRelease.

-- PeterThoeny - 16 Mar 2004

Topic revision: r2 - 2004-03-16 - 08:04:10 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platform
Ideas, requests, problems regarding TWiki? Send feedback
Copyright © 1999-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.