Thank you for all the help Raphael.

For some reason, after adding both PUT_factory and PUT as you have
implemented, the title is still not set...


Mike



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:product-
> [EMAIL PROTECTED] On Behalf Of Raphael Ritz
> Sent: Tuesday, March 11, 2008 8:35 AM
> To: [email protected]
> Subject: [Product-Developers] Re: manage_afterPUT for ATFolder
> 
> 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/Pro
du
> cts/CMFBibliographyAT/content/folder.py
> I override PUT_factory *and* PUT where the title is
> set in PUT.
> 
> Maybe that helps?
> 
> Raphael
> 
> 
> 
> > Thanks,
> >
> >
> > Mike
> 
> 
> _______________________________________________
> Product-Developers mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/product-developers

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to