webmcp

view framework/env/execute/view.lua @ 226:17baf126ea88

Fixed typo in execute._create_sorted_execution_list(...)
author jbe
date Fri Feb 27 22:31:07 2015 +0100 (2015-02-27)
parents 2cb27106aa73
children 2b5bdf9028fb
line source
1 --[[--
2 execute.view{
3 module = module, -- module name of the view to be executed
4 view = view, -- name of the view to be executed
5 id = id, -- id to be returned by param.get_id(...) during execution
6 params = params -- parameters to be returned by param.get(...) during execution
7 }
9 Executes a view directly (without associated filters).
11 --]]--
13 function execute.view(args)
14 local module = args.module
15 local view = args.view
16 trace.enter_view{ module = module, view = view }
17 execute.file_path{
18 file_path = encode.file_path(
19 WEBMCP_BASE_PATH, 'app', WEBMCP_APP_NAME, module, view .. '.lua'
20 ),
21 id = args.id,
22 params = args.params
23 }
24 trace.execution_return()
25 end

Impressum / About Us