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.

the form ns_set, in case you're interested. Mostly you will want to discard the result.
Lars Pind <lars@pinds.com>
August 20, 2002
See Also:
  • ns_getform
  • ns_set

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) rp_form_put rp_form_put rp_form_put->ad_log_deprecated

No testcase defined.
[ show source ]
Show another procedure: