rp_form_put (public, deprecated)
rp_form_put name value
Defined in packages/acs-tcl/tcl/request-processor-procs.tcl
Deprecated. Invoking this procedure generates a warning.
This proc adds a query variable to AOLserver's internal ns_getform form, so that it'll be picked up by ad_page_contract and other procs that look at the query variables or form supplied. This is useful when you do an rp_internal_redirect to a new page, and you want to feed that page with certain query variables. Note that the variable will just be appended to the form ns_set which may not be what you want, if it exists already you will now have two entries in the ns_set which may cause ad_page_contract to break. Also, only simple variables may be added, not arrays. DEPRECATED: this proc is a trivial wrapper over NaviServer functionalities. One should use the native api directly.
- Parameters:
- name
value
- Returns:
- the form ns_set, in case you're interested. Mostly you will want to discard the result.
- Author:
- Lars Pind <lars@pinds.com>
- Created:
- August 20, 2002
- See Also:
- ns_getform
- ns_set
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.