%doc> autohandler - allows dynamic layout handlers %doc> <%flags> # specify that we are the base inheriting page inherit= None %flags> <%python scope="request"> # each execution gets a context dictionary where # we store stuff context = {} %python> <%method section> <%doc> a method that will be called by the subclass, and will grab content for the specified area %doc> <%args> # name of the section to store name %args> <%init> context[name] = m.content() %init> %method> <%python> comp = m.fetch_next() subcomp = m.fetch_next() main = m.scomp(subcomp, **m.get_request_args()) m.comp(comp, **context) %python>