xo::ConnectionContext instproc query_parameter (public)
<instance of xo::ConnectionContext> query_parameter __spec \ [ default ]
Defined in /var/www/openacs.org/packages/xotcl-core/tcl/context-procs.tcl
Get query parameter with default and optional value constraints. In case the value check for the query parameter fails, and no further precautions are performed (::aa_test_noabort is set), the method raises an exception with "ad_return_complaint" and aborts the script.
- Parameters:
- __spec (required)
- has the formname or name:value_constraint
- default (optional)
- default value
- Returns:
- actual value of the query parameter
- Testcases:
- api__context, test_xo_cc, path_resolve