Документ взят из кэша поисковой машины. Адрес оригинального документа : http://wiki.cmc.msu.ru/System/ParentList?sortcol=0;table=1;up=1
Дата изменения: Unknown
Дата индексирования: Mon Apr 11 08:17:03 2016
Кодировка: koi8-r
ParentList < System < Foswiki

Parent list

Generated list of (potential) parent topics.

select

To use this list in Foswiki applications, use:
%INCLUDE{
    "%SYSTEMWEB%.ParentList"
    section="select"
}%

Parameters

ParameterSorted descending Effect Default value
web Topics from which web current web
size Size of the select box 10
selected The currently selected topic none

Result

Using default settings

%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"}%
Topic revision: r1 - 25 May 2012, ProjectContributor
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback