---+ %CALC{ $PROPERSPACE( %TOPIC% ) }%

An html selection form, for our TwikiAppExample. So that can be include in any
topic easily.  This perform a search of all resources of a selected country (to
simplify the search, but is also possible, make a better search based on
resource type also, see nested Searchs).  After the horizontal rule start
including

---
%STARTINCLUDE%

<!-- helps search for TWikiAppExample -->
<form  name="resource" action="%SCRIPTURLPATH{view}%/%WEB%/%TOPIC%" method="get">
<select name="q">
   %SEARCH{ "classification.*?value=\"country\"" type="regex" nonoise="on" scope="text" format="<option value=\"$formfield(name)\">$formfield(name)</option>" }%
	</select>
	<input name="submit_button" type="submit" value="ok" />
	</form>
	%STOPINCLUDE%

	Results:
	%SEARCH{"relatedcountry.*?value=\"%URLPARAM{q}%\"" type="regex" scope="text" format="|$topic|$formfield(resource type)|" header="|*Topic*|*Resource*|"}%

%STOPINCLUDE%
---
