cmf_edit() is a method of the ATEvent class which calls the update() method
of the same class which finally calls ATCTContent.update ()

        self.update(title=title, description=description,
eventType=eventType,
                    location=location, contactName=contact_name,
                    contactEmail=contact_email, contactPhone=contact_phone,
                    eventUrl=event_url)

      ATCTContent.update(self, **info)

I think that old CMF api is not called at all

2009/7/11 Raphael Ritz <[email protected]>

> Françoise Conil wrote:
>
>> Looking at ATContentTypes/content/event.py , cmf_edit method has not
>> modification_date or subject parameter.
>>
>
> But the strange thing here is that cmf_edit get's called at all.
> IIRC that's just for backwards compatibility with the old CMF
> API. Archetypes and ATContentTypes usually use the more generic
> edit/update methods which handle all schema attributes just fine.
>
> Raphael
>
>
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to