Re: [Repoze-dev] owrap layout through zcml

2009-09-12 Thread Chris McDonough
So I've been trying to puzzle out some issues, which might or might not be related to this topic. In KARL, we currently write all of our views something in the form of: def myview(context, request): [ do stuff ] api = TemplateAPI(context, request) # a utility class return

Re: [Repoze-dev] owrap layout through zcml

2009-09-12 Thread Tim Hoffman
HI Chris I a way you describing something simliar to what we have in zope2, in that from a tal expression we have access to (via acquisition) all of the portal tools etc... I wonder if a couple of hi level functions could be put into the namespace, (or the view for instance) that allow you to

Re: [Repoze-dev] owrap layout through zcml

2009-09-12 Thread Chris McDonough
Tim Hoffman wrote: HI Chris I a way you describing something simliar to what we have in zope2, in that from a tal expression we have access to (via acquisition) all of the portal tools etc... I wonder if a couple of hi level functions could be put into the namespace, (or the view for