[Zope-CMF] CMF Tests: 9 OK
Summary of messages to the cmf-tests list. Period Thu Sep 18 11:00:00 2008 UTC to Fri Sep 19 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: Thu Sep 18 21:26:41 EDT 2008 URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009911.html Subject: OK : CMF-1.6 Zope-2.9 Python-2.4.4 : Linux From: CMF Tests Date: Thu Sep 18 21:28:12 EDT 2008 URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009912.html Subject: OK : CMF-2.0 Zope-2.9 Python-2.4.4 : Linux From: CMF Tests Date: Thu Sep 18 21:29:42 EDT 2008 URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009913.html Subject: OK : CMF-2.0 Zope-2.10 Python-2.4.4 : Linux From: CMF Tests Date: Thu Sep 18 21:31:12 EDT 2008 URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009914.html Subject: OK : CMF-2.1 Zope-2.10 Python-2.4.4 : Linux From: CMF Tests Date: Thu Sep 18 21:32:42 EDT 2008 URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009915.html Subject: OK : CMF-2.1 Zope-2.11 Python-2.4.4 : Linux From: CMF Tests Date: Thu Sep 18 21:34:12 EDT 2008 URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009916.html Subject: OK : CMF-trunk Zope-2.10 Python-2.4.4 : Linux From: CMF Tests Date: Thu Sep 18 21:35:42 EDT 2008 URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009917.html Subject: OK : CMF-trunk Zope-2.11 Python-2.4.4 : Linux From: CMF Tests Date: Thu Sep 18 21:37:12 EDT 2008 URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009918.html Subject: OK : CMF-trunk Zope-trunk Python-2.4.4 : Linux From: CMF Tests Date: Thu Sep 18 21:38:42 EDT 2008 URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009919.html ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests
[Zope-CMF] [dev] 'add' actions and views - a proposal
Hi! Thanks for all the feedback to my previous mails. I hope I now have a good solution. Context --- Portal types are created TTW by configuring the types tool. If portal types are renamed or copied they still use the same content type and content factory. It should be possible to use the same add view as well. This makes CMF add views special: They have to work with different portal types. That means: - If we want simple URLs, we have to store the portal type name inside the add view name. - We need customized traversal to look up the right view for each portal type and to pass the portal type to the view. Proposed CMFDefault changes --- 1.) CMF add views adapt not only container and request, but also the type info object. This way the views can't be accessed directly and have self.fti available. 2.) By convention corresponding add view factories and content factories have the same name. 3.) A traversal hook looks up the type info based on the view name. And then returns the corresponding add form: queryMultiAdapter((container, request, fti), name=fti.factory) 4.) For portal types without corresponding add form a fallback add form is added that just asks for the content ID. 5.) folder_factories becomes deprecated, add actions are shown in the main_template menu. 6.) An IPublishTraverse adapter is used for IFolderish objects. It tries to resolve names starting with '+' and falls back to DefaultPublishTraverse behavior if no add view is found. This way URLs like http://www.example.org/folder/+PortalType are supported. Proposed CMFCore TypesTool changes -- 7.) listActions of the types tool returns add actions for *all* portal types. 8.) If no add view expression is defined in the type info, a default add view URL is returned. If there are no objections, I'll make the proposed changes on the trunk. @ Jens: When exactly do you want to make the beta release? Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests
Re: [Zope-CMF] [dev] 'add' actions and views - a proposal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sep 19, 2008, at 14:12 , yuppie wrote: If there are no objections, I'll make the proposed changes on the trunk. Thanks for taking the time to discuss and think through all of this. @ Jens: When exactly do you want to make the beta release? When you're done? ;-) Remember, I only suggested making the release a few weeks ago because I had some sprint-time I could devote to cleanup and bug squashing as a preparation. No one specifically asked for it (yet). jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkjTq/kACgkQRAx5nvEhZLJO2gCfTZbwuKTQBUAbq1VNIHdsi50J sMMAn0A2FDSN3GN0P/oDRV8xJWxlXljS =06Ys -END PGP SIGNATURE- ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests