You are here:
Foswiki
>
System Web
>
ParentList
(25 May 2012,
ProjectContributor
)
(raw view)
E
dit
A
ttach
---+!! Parent list Generated list of (potential) parent topics. ---++ select To use this list in Foswiki applications, use: <verbatim> %INCLUDE{ "%SYSTEMWEB%.ParentList" section="select" }% </verbatim> ---+++ Parameters | *Parameter* | *Effect* | *Default value* | | =size= | Size of the select box | 10 | | =web= | Topics from which web | current web | | =selected= | The currently selected topic | none | ---+++ Result Using default settings %INCLUDE{ "%SYSTEMWEB%.ParentList" section="select" }% <verbatim class='foswikiHidden'> %STARTSECTION{"select"}%<select name='topicparent' size='%IF{ "defined size AND $size" then="%URLPARAM{"size" default="%size%"}%" else="10" }%' class='foswikiSelect'> %TOPICLIST{ "<option $marker value='$name'>$name</option>" web="%IF{ "defined web AND $web" then="%URLPARAM{"web" default="%web%"}%" else="%WEB%" }%" marker="selected=\"selected\"" separator="" selection="%IF{ "defined selected AND $selected" then="%URLPARAM{"selected" default="%selected%"}%" else="%MAKETEXT{"(no parent, orphaned topic)" }%" }%" }% <option value="">%MAKETEXT{"(no parent, orphaned topic)"}%</option> </select>%ENDSECTION{"select"}% </verbatim>
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 25 May 2012,
ProjectContributor
System
Log In
or
Register
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
BeginnersStartHere
TextFormattingRules
Macros
FormattedSearch
QuerySearch
DocumentGraphics
SkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
SiteTools
DefaultPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
Cosmo
Main
Sandbox
System
English
Français
Polski
Copyright © CC-BY-SA by the contributing authors. All material on this collaboration platform is copyrighted under CC-BY-SA by the contributing authors unless otherwise noted.
Ideas, requests, problems regarding Foswiki?
Send feedback