Am 19.01.2010 um 21:30 schrieb Stephan Richter:

> On Tuesday 19 January 2010, Michael Howitz wrote:
>>> My understand of ``getContent`` is to provide a way to give values used 
>>> by the widgets. By default, since the common use case is to edit / 
>>> display values from the context, the implementation return the context.
>> I see it differently. So I'd like to ask what was the original intention of
>> ``getContent``?  Anyone here to answer this question?
> Originally we only supported the context to be modified. We later found this 
> far too limiting as a form should be able to modify any sort of objects 
> within 
> a context or not caring about the context at all.
> "getContent()" can return anything it wants to as long as a data manager can 
> map the fields to it. So I think Laurent is correct.

Okay, then I'll revert my changes and make a new release.

Yours sincerely,
Michael Howitz · · software developer
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development

Zope-Dev maillist  -
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to