doc_serve_template

one of the documented procedures in this installation of the ACS
Usage:
doc_serve_template   __template_path
What it does:
Serves the document in the environment using a particular template.
Defined in: /web/philip/packages/acs-core/document-procs.tcl

Source code:


    upvar #0 doc_properties __doc_properties
    foreach __name [array names __doc_properties] {
	set $__name $__doc_properties($__name)
    }

    set adp [ns_adp_parse -file $__template_path]
    set content_type [ns_set iget [ns_conn outputheaders] "content-type"]
    if { [empty_string_p $content_type] } {
	set content_type "text/html"
    }
    ns_return 200 $content_type $adp


philg@mit.edu