I have a folderish ATDocument class create through generic setup, generic setup xml configuration file has the following view variables defined:
<property name="immediate_view">TemplateFileName</property>
<property name="default_view">TemplateFileName_view</property>
<property name="view_methods">
<element value="TemplateFileName_view"/>
</property>
Is it possible to replace that view with a dispatcher, i.e. a BrowserView class that on __call__ would dispatch an actual ViewPagetTemplateFile() instance?
I tried replacing template file name with a method name of that class but that doesn't seem to work. Also I followed inheritance tree of ATDocument though ATCTContent to BaseContent, but I didn't find any definitions of views, so I'm guessing views are processed via one of the inherited mix-ins.