jbe/bsw@0: --[[-- jbe/bsw@0: param.exchange( jbe/bsw@0: id, jbe/bsw@0: params jbe/bsw@0: ) jbe/bsw@0: jbe/bsw@0: This function exchanges the id and/or parameters which are returned by param.get_id(...), param.get(...), etc. It should not be called explicitly, but is used implicitly, if you pass an 'id' or 'params' option to execute.view{...} or execute.action{...}. The function param.restore() is used to revert the exchange. jbe/bsw@0: jbe/bsw@0: --]]-- jbe/bsw@0: jbe/bsw@0: function param.exchange(id, params) jbe/bsw@0: table.insert(param._saved, param._exchanged) jbe/bsw@0: param._exchanged = { id = id, params = params } jbe/bsw@0: end