Test /
InputForSelectingPage
The code below is an attempt at creating a selector that first lists all the groups,
and then lists all pages in the current group.
-> [@
[[#selectlistgroups]]
(:if ! equal {<$Group} {=$Group}:)
(:input select name="n" value="{=$Group}/":)
(:ifend:)
[[#selectlistgroupsend]]
[[#selectlistpages]]
(:input select name="n" value="{=$FullName}" label="{=$Name}":)
[[#selectlistpagesend]]
@]
(:input form:)
(:pagelist group=Test,PmWiki,Cookbook fmt=#selectlistgroups:)
(:pagelist group={$Group} fmt=#selectlistpages:)
(:input submit :)
(:input end:)
|
[[#selectlistgroups]]
(:if ! equal {<$Group} {=$Group}:)
(:input select name="n" value="{=$Group}/":)
(:ifend:)
[[#selectlistgroupsend]]
[[#selectlistpages]]
(:input select name="n" value="{=$FullName}" label="{=$Name}":)
[[#selectlistpagesend]]
|