Another spot that needs better integration between the templating system
and ad_page_contract is variable definition (query block of ad_page_contract)
and validation.
I have found it extremely annoying that I can't use ad_page_contract to
receive and validate variables that are passed from either template include
calls or master property calls. In either of these cases I have to do the
validation "old-style," that is:
if {![exists_and_not_null foo]} {
set foo bar
}
Instead of being able to say in the query block of ad_page_contract:
{foo "bar"}
Can we come up with a plan to fix this as well?