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