jbe/bsw@0: --[[-- jbe/bsw@0: execute.filtered_view{ jbe/bsw@0: module = module, -- module name of the view to be executed jbe/bsw@0: view = view -- name of the view to be executed jbe/bsw@0: } jbe/bsw@0: jbe/bsw@0: Executes a view with associated filters. jbe/bsw@0: jbe/bsw@0: --]]-- jbe/bsw@0: jbe/bsw@0: function execute.filtered_view(args) jbe/bsw@0: execute.multi_wrapped( jbe@206: execute._create_sorted_execution_list( jbe@206: function(add_by_path) jbe@206: add_by_path("_filter") jbe@206: add_by_path("_filter_view") jbe@206: add_by_path(WEBMCP_APP_NAME, "_filter") jbe@206: add_by_path(WEBMCP_APP_NAME, "_filter_view") jbe@206: add_by_path(WEBMCP_APP_NAME, args.module, "_filter") jbe@206: add_by_path(WEBMCP_APP_NAME, args.module, "_filter_view") jbe@206: end, jbe@206: function(full_path, relative_path) jbe@206: trace.enter_filter{ path = relative_path } jbe@206: execute.file_path{ file_path = full_path } jbe@206: trace.execution_return() jbe@206: end jbe@206: ), jbe/bsw@0: function() jbe/bsw@0: execute.view(args) jbe/bsw@0: end jbe/bsw@0: ) jbe/bsw@0: end