[Zope-CMF] Re: CMF providing support for add forms?
Tres Seaver
tseaver at palladion.com
Wed May 31 13:59:06 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
yuppie wrote:
> Raphael Ritz wrote:
>
>> Rocky Burt wrote:
>>
>>> I was wondering if CMF does or is planning on implementing support for
>>> add forms for content. If so, would someone mind explaining how it
>>> works? If not, why not? :)
>>
>>
>> not that Yuppie mentioned this explicitly but my feeling is that
>> his recent proposal "using newstyle content factories" on this
>> list is aming at adopting/supporting content generation in the
>> Zope 3 way which would include add forms (among other things). Yuppie?
>
>
> It's aiming in that direction, but it's just one piece of the puzzle.
>
> The next step I have in mind is replacing big parts of the factory code
> by 'added' event handlers. That would make the portal type factory
> itself much simpler and easier to use with add forms.
>
>
> Tres wrote a prototype for a ViewTypeInformation:
> http://www.zope.org/Collectors/CMF/437
> But I don't know how far he got with his experiments.
That prototype works fine for my needs, which are simple: I was looking
for a way to have the 'invokeFactory' bit land on a view, rather than
doing the actual work. The views I am using there are not
schema-generated add forms, but I don't know any reason why such a view
wouldn't work.
My own view classes do have some grotty bits in them which are emulating
the "post-creation" stuff (setting portal_type, notifying workflow and
the catalog, etc.), and hence would get much simpler with the "added"
events stuff you describe.
Tres.
- --
===================================================================
Tres Seaver +1 202-558-7113 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEfdlq+gerLs4ltQ4RAgXcAKCdcNwEUQUWAStJLc0lHZks5fOOIACfRqO+
O8N+03HQJy1HoRXv3CSnRiE=
=dUO6
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list