xo::Context instproc get_parameters (public)
<instance of xo::Context> get_parameters
Defined in /var/www/openacs.org/packages/xotcl-core/tcl/context-procs.tcl
Convenience routine for includelets. It combines the actual parameters from the call in the page (highest priority) with the values from the url (second priority) and the default values from the signature.
- Testcases:
- xowiki_test_cases
Source code: set source [expr {[info exists :__caller_parameters] ? [self] : [:info parent]}] $source instvar __caller_parameters #set n [expr {[info exists :name] ? ${:name} : "NONE"}] #ns_log notice "$n: GET PARAMETERS source <$source> have [info exists __caller_parameters]" if {![info exists :__including_page]} { # # An includelet is called from the top-level. The actual_query # might be cached, so we reset it here. # set :actual_query [::xo::cc actual_query] } if {[info exists __caller_parameters]} { :process_query_parameter -all_from_query false -caller_parameters $__caller_parameters } else { :process_query_parameter -all_from_query false } :export_vars -level 2XQL Not present: Generic, PostgreSQL, Oracle