[Zope-CMF] [dev] more add menu changes

2008-08-07 Thread yuppie
Hi! We now have to support two ways to add content: 1.) oldstyle (no add view specified) The addable types are listed in folder_factories. After specifying type and ID the object is added. constructContent redirects to the immediate view. 2.) newstyle

[Zope-CMF] CMF Tests: 9 OK

2008-08-07 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list. Period Wed Aug 6 11:00:00 2008 UTC to Thu Aug 7 11:00:00 2008 UTC. There were 9 messages: 9 from CMF Tests. Tests passed OK --- Subject: OK : CMF-1.6 Zope-2.8 Python-2.3.6 : Linux From: CMF Tests Date: Wed Aug 6 21:26:14 EDT 2008 URL: htt

Re: [Zope-CMF] [dev] more add menu changes

2008-08-07 Thread Jens Vagelpohl
On Aug 7, 2008, at 12:26 , yuppie wrote: Proposal 1: allowedContentTypes --- This PortalFolder method is used by folder_factories and by folder_contents to decide if the 'New...' button is added. I propose to add a new skip_add_views argument to allowedContentTyp

Re: [Zope-CMF] [dev] more add menu changes

2008-08-07 Thread Martin Aspeli
Hi Yuppie, yuppie-4 wrote: > > Hi! > > > We now have to support two ways to add content: > > > 1.) oldstyle (no add view specified) > > > The addable types are listed in folder_factories. After specifying type > and ID the object is added. constructCo

[Zope-CMF] Re: [dev] more add menu changes

2008-08-07 Thread yuppie
Hi Martin! Martin Aspeli wrote: yuppie-4 wrote: Some parts are still missing: - add a traverser that allows to use pretty URLs and better portal type handling for add views (not part of this proposal) - don't show newstyle types in folder_factories - show add actions in the CMFDefault sk

Re: [Zope-CMF] [dev] more add menu changes

2008-08-07 Thread Martin Aspeli
Hi Yuppie, yuppie-4 wrote: > >> I don't suppose there's a way to make all FTI's expose actions, and just >> construct an appropriate fallback URL (e.g. createObject or whatever) if >> no >> add view has been specified? That'd mean folder_factories could just loop >> through the actions. > > No

[Zope-CMF]

2008-08-07 Thread Rob Miller
hi all, i've got a GenericSetup branch called 'ra-depends-tag' with a working implementation of a ZCML tag. this tag can be used anywhere that you could use a tag (i.e. either standalone, or nested within a ). in fact, upgradeDepends is simply a special case of upgradeStep that allows you

Re: [Zope-CMF] [dev] more add menu changes

2008-08-07 Thread Charlie Clark
Am 07.08.2008 um 19:21 schrieb Martin Aspeli: Ah In Plone, folder_factories is a list of addable types. You click "Add" next to each one and it's created with a temporary ID. Then you save it, and it's renamed to a better ID, usually. Add forms are much nicer than that. Objects are o

[Zope-CMF] Re: [dev] more add menu changes

2008-08-07 Thread Martin Aspeli
Charlie Clark wrote: Am 07.08.2008 um 19:21 schrieb Martin Aspeli: Ah In Plone, folder_factories is a list of addable types. You click "Add" next to each one and it's created with a temporary ID. Then you save it, and it's renamed to a better ID, usually. Add forms are much nicer tha