[Zope-CMF] FactoryTypeInformation

Ignacio Valdes ivaldes@hal-pc.org
Tue, 01 May 2001 22:00:12 -0500


marc lindahl wrote:

> Is it just me, or will FactoryTypeInformation only work with products
that
> require only an ID to be Added?
>
> e.g. wrapping the normal File product, which needs at least a
filename, it
> has it's own form, but the CMF 'New...' form is just radio buttons and
an ID
> field, so you get an 'expected 3 got 2' error, and so on...
>
> Perhaps that form needs to be replaced with one with no ID box, that
goes to
> a second form, which would be either the default (just asking for an
ID or
> perhaps an option to auto-generate), or one specified when building an
FTI
> type.....?  Would it then follow to have the 'Factory Method in
Product' be
> instead the Form?

Yep, that was just discussed here.  Follow this thread for some simple
solutions:
http://lists.zope.org/pipermail/zope-cmf/2001-April/006380.html

-- IV