[Product-Developers] Re: manage_afterPUT for ATFolder
MTakahashi at oid.ucla.edu
Tue Mar 11 22:19:09 UTC 2008
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...
> -----Original Message-----
> From: product-developers-bounces at lists.plone.org [mailto:product-
> developers-bounces at lists.plone.org] On Behalf Of Raphael Ritz
> Sent: Tuesday, March 11, 2008 8:35 AM
> To: product-developers at lists.plone.org
> 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
> I override PUT_factory *and* PUT where the title is
> set in PUT.
> Maybe that helps?
> > Thanks,
> > Mike
> Product-Developers mailing list
> Product-Developers at lists.plone.org
More information about the Product-Developers