template::dat_page_filter (private)
template::dat_page_filter why
Defined in packages/acs-templating/tcl/filter-procs.tcl
Show the comments for the template (for designer)
- Parameters:
- why (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ad_try { set url [ns_conn url] regsub {.dat} $url {} url_stub regexp {^/([^/]*)(.*)} $url_stub all package_key rest set code_stub "$::acs::rootdir/packages/$package_key/www$rest" set beginTime [clock clicks -milliseconds] set file_stub [template::resource_path -type messages -style $datasources] set output [template::adp_parse $file_stub [list code_stub $code_stub]] set timeElapsed [expr {[clock clicks -milliseconds] - $beginTime}] ns_log debug " dat_page_filter: Time elapsed: $timeElapsed" } on error {errorMsg} { set output <html><body><pre>[ns_quotehtml $::errorInfo]</pre></body></html> } ns_return 200 text/html $output return filter_returnXQL Not present: Generic, PostgreSQL, Oracle