r2 - 28 Nov 2006 - 19:46:54 - PeterThoenyYou are here: TWiki >  Support Web > HowToShowSearchResultsInSelectList
Tags:
, create new tag

Question

How can I show the search results in the select list. The EditTablePlugin? says that it is possible to include %-vars in select values, by quoting them with <nop>, as in %<nop>X% for %X%. When I try to show the search results in EDITTABLE, the search results are expanded outside the context of EDITTABLE.

Here is my EDITTABLE structure:

%EDITTABLE{ header="on" format="| row, -1 | select, 1,<NOP>%SEARCH{"%META:FORM.*[U]serForm" web="%MAINWEB%" regex="on" casesensitive="on" nosearch="on" format="<option>$topic</option>" sort="topic" excludetopic="Test*, TWiki*"}%|" changerows="on" expandvariables="on"}% 
|*Nr*|*User*|

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Fedora Core 5
Web server: Apache 2x
Perl version: 5.8
Client OS: Windows XP
Web Browser: IE, Firefox
Categories: Forms, Search, Plugins
-- AlokNarula - 28 Nov 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

See answer in HowToStoreSearchResultsInAVariable.

-- PeterThoeny - 28 Nov 2006

 
Change status to:
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo