[Product-Developers] Re: manage_afterPUT for ATFolder

Raphael Ritz r.ritz at biologie.hu-berlin.de
Tue Mar 11 15:35:19 UTC 2008


Takahashi, Mike wrote:

[..]

> I've also tried that as well with no luck:
> 
> def PUT_factory( self, name, typ, body ):
> 	id = self.getId()
>     	self.setTitle(id)
> 
> 
> For some reason, the setTitle() function does not work on ATFolders.
> 

  :-(

Seems to work for me though but I noticed now that in
http://svn.plone.org/svn/collective/Products.CMFBibliographyAT/trunk/Products/CMFBibliographyAT/content/folder.py
I override PUT_factory *and* PUT where the title is
set in PUT.

Maybe that helps?

Raphael



> Thanks,
> 
> 
> Mike





More information about the Product-Developers mailing list