Forum OpenACS Development: Re: Templating on the fly?

Collapse
7: Re: Templating on the fly? (response to 1)
Posted by Jun Yamog on
Hi Nima,

Its possible to create data_getter.tcl that gets the value on the db.  And ad_return_template to displayer_1.adp or maybe you want to add logic to use displayer_2.adp.

By not putting ad_return_template foo, it will implicitly  return the current adp pair for you tcl.  You can override this by using ad_return_template.