xowiki::Package instproc get_parameter (public)
<instance of xowiki::Package> get_parameter \ [ -check_query_parameter check_query_parameter ] [ -nocache ] \ [ -type type ] attribute [ default ]
Defined in /var/www/openacs.org/packages/xowiki/tcl/package-procs.tcl
Resolves configurable parameters according to the following precedence: (1) values specifically set per page {{set-parameter ...}} (2) query parameter (3) form fields from the parameter_page FormPage (4) standard OpenACS package parameter The specified attribute can be of the form "name:value_constraint"
- Switches:
- -check_query_parameter (optional, defaults to
"true"
)- -nocache (optional)
- -type (optional)
- Parameters:
- attribute (required)
- default (optional)
- Testcases:
- create_form_with_form_instance