Robert Niederreiter wrote:
Your proposal has some advantages. On the other hand this requires to create CMF specific code and patterns in a place where a more generic solution also works.it does not if you call a formfactory inside the traverser, so it's hoohable for CMF, Plone or whatever even with different formlib implementations. like: formfactory = getAdapter(context, IFormFactory, name='factoryNameFromFti') return factory() which handles all the magic in there. just a thought.
Writing generic code is just the first step. Pushing this down the stack and making it the default pattern for Zope is much harder.
Cheers, Yuppie _______________________________________________ Zope-CMF maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
