Hi,
I'm trying to render a template form from within a TCL page (not an ADP page). I really have no other choice, because I need to pass the rendered form as a parameter to a master template (to be embedded in a side-bar).
Checking the code for template_tag formtemplate { chunk params } { ... } doesn't look at all promising.
One solution that works is to create separate form.tcl + form.adp files with the form definition in it and to use ad_parse_template to parse this file. However, this is a) clumsy (code spread around, more code) and b) slow (parsing another file, etc.).
Does somebody have the solution?
Thanks in advance!
Frank
Request notifications