ad_return_complaint
one of
the defined (but not documented) Tcl procedures in this
installation of the ACS
Usage:
ad_return_complaint exception_count exception_text
Source code:
if { $exception_count == 1 } {
set problem_string "a problem"
set please_correct "it"
} else {
set problem_string "some problems"
set please_correct "them"
}
ns_return 200 text/html "[ad_header_with_extra_stuff "Problem with Your Input" "" ""]
<h2>Problem with Your Input</h2>
We had $problem_string processing your entry:
<ul>
$exception_text
</ul>
Please back up using your browser, correct $please_correct, and resubmit your entry.
[ad_footer]"