Index: openacs-4/packages/acs-templating/resources/lists/select-menu.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/resources/lists/select-menu.adp,v diff -u -r1.1.2.3 -r1.1.2.4 --- openacs-4/packages/acs-templating/resources/lists/select-menu.adp 26 Aug 2005 23:28:58 -0000 1.1.2.3 +++ openacs-4/packages/acs-templating/resources/lists/select-menu.adp 9 Nov 2005 19:36:59 -0000 1.1.2.4 @@ -3,26 +3,119 @@ # @author Viaro Networks www.viaro.net # @creation-date 2005-08-16 # -# Displays all filters as a select box to save space +# Displays all filters as a select box to save space, also +# has a javascript to manage filters that are of type multival +# +# USAGE: +# +# +# +# +# NOTE: to use the multival filter you need to specify it in the +# template::list::create in the filters section like this: +# +# -filters { +# filter_name { +# label "Filter Label" +# type multival +# values { {first_value 1 } {second_value 2} } +# where_clause { filter_where_cluse } +# } +# } +# - The recieving page variable must be of the type :multiple +# since the filter sends the values in the following way: +# filter_name=filter_value&filter_name=filter_value&....&extra_variables=extra_values %> + +
- @filters.filter_label@ + @filters.filter_label@ (clear)
- + + + +