We can use ad_page_contract for includes. Just do not specify the query section.
I haven't tested if you can do this:
ad_page_contract {
doc
} -properties {
properties
}
If not, I will fix it :)
Also I want another switch for ad_page_contract to specify default values for parameters.
So either this can be part of ad_page_contract, or a seperate proc. Any ideas?