[z3-five] Re: using Five content in CMF
Lennart Regebro
regebro at gmail.com
Mon May 23 15:39:37 CEST 2005
On 5/23/05, yuppie <y.2005- at wcm-solutions.de> wrote:
> > 1: "Just a small five_template that bridges the slots to those
> > available in the default CMF main_template." :-)
>
> I would not recommend to ship each content type with a five_template.
> But I prefer to reuse the CMF template for Five content.
That's why wee need to have it in CMFonFive.
> >>Portal Type specific settings (including default view, Actions) are not
> >>specified in the ZCML file, they are specified in a CMFSetup XML file.
> >
> > Hmm. I haven't thought about CMFSetup, that might be an alternative to
> > having a new ZCML directive. But in any case, default view and actions
> > already have ZCML-alternatives, (five:defaultView and broswer:menuItem
> > respectively) so those should preferrably be used instead.
>
> Seems we have different approaches here. I tried to keep all the portal
> type related stuff in the CMFSetup profile, you are trying to specify as
> much as possible in the ZCML file.
Well, much of it is already specified there, so it seemed to make
sense not to need to duplicate it.
> >>The default portal_types machinery adds new content and shows the
> >>editform defined in the ZCML file as initial view.
> >
> > Yup.
>
> I didn't have a closer look at your portaltypes_support branch: Does it
> allow to use addforms as well?
Addforms is a part of Five 0.3 and later.
> And did you compare your base class for Five content with mine?
Well, I don't have one. :)
>Maybe we can add a generic base class to CMFonFive or CMF.
If indeed DefaultdublinCore is necessary for CMF and Five objects,
that could be an idea.
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
More information about the z3-five
mailing list