[z3-five] Re: Using Zope2 page templates with Five
Lennart Regebro
regebro at nuxeo.com
Tue Jan 25 18:27:19 MET 2005
Philipp von Weitershausen wrote:
> Honestly, I don't see the problem. Especially I don't see why Five/CMF
> products couldn't use schemas and widgets. Widgets don't even have
> anything to do with ZPTs, they simply return a string full of HTML that
> the addform/editform ZPTs embed.
But in using forms and widgets there are a bunch of macros that are used
and need to be called.
> These ZPTs would simply have to be registered as both flavours,
That seems to me to be a more complex way of doing things than having a
configurable system for which flavour to use... I tried it by making
double registrations for each portal_skin and that was only half-way
helpful...
Anyway, if this can be transparently and easily solved, I'm all for it,
but I'm not gonna do it. ;) Not only am I slightly unclear on how your
solution would work, I finally have Five/CMF skin integration working
well, and I simply don't have any more time barking up the wrong tree on
this issue, because I have spent weeks doing that already.
You'll just have to come to the sprint and implement it properly
yourself. ;)
> Well, one wouldn't know off hand what flavour is being used currently.
> You'd have to grep your whole Products folder in order to see which
> flavour is activated...
Well, you mostly don't need to know, and secondly, you do know. If the
products you develop are for use with CMF, you'll gonna have to have the
Zope2 flavour running. If not, then you'll gonna use the Zope3 flavour.
Or?
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
More information about the z3-five
mailing list