[z3-five] can't import an interface into a page template

Lennart Regebro regebro at nuxeo.com
Wed Nov 17 12:05:37 MET 2004


Tim Hicks wrote:
> I wonder if I'm going about this the write way?  Essentially I'm trying to
> get my standard zope2 zpt to behave like a 'view' I think - i.e. calling
> logic code.  This has hack written all over it, but I don't know how else
> to ease interfaces/adapters into an archetypes environment.
> 
> Any pointers much appreciated.

Well, the "right" way to do it is of course to use browser:page 
commands. The problem with that being that then you can't call the 
templates in portal_skins.

I think it could be interesting to maybe have a brainstorming session on 
irc with interested parties to see if we can find any ways of solving 
this major CMF integration hurdle. Any takers?

-- 
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the z3-five mailing list