[Zope-CMF] behavior of CookedBody

marc lindahl marc@bowery.com
Mon, 04 Jun 2001 12:59:51 -0400


> From: Tres Seaver <tseaver@palladion.com>
> 
> I will probably be adding a more "generic" method than CookedBody (e.g., it
> will work for Images and Links, as well) to the 'Contentish' interface very
> soon (after 1.1final).  This method will return the "guts" of an object,
> suitable
> for injecting into another page (your table cell, or a div, for instance).
> We need such a common method in order to make "composites" possible.


Makes total sense... already it's a little silly to have to check a Document
to decide whether to use EditableBody or CookedBody -- the user should be
shielded from such minutae, and just get the properly presented 'stuff'
(Body()?)