ObjectAdded Event?
Sounds like the whole events, utilties, adapters thing is coming to bite
me... again
I've been moving slowly to the new paradigm, starting with browser views.

Do you have a quick example? It would really help.

On 9/27/07, Raphael Ritz <[EMAIL PROTECTED]> wrote:
>
> David Bain wrote:
>
> [..]
>
> >
> > currently all my types get added to the portal with names like
> > "meeting.2007-09-26.0637536994" I need to get rename after creation back
> :(
> >
>
> Some random remarks from my side:
>
> If you add things from code you should know what you are
> doing and set the id the way you want from the onset.
>
> I would leave 'initializeArchetype' alone. It's too deep
> and early in the process. Use an event handler that you
> subscribe for the ObjectAdded event (in the old days
> you would have used the 'manage_afterAdd' hook).
>
> 'renameAfterCreation' is triggered by processForm
> with gets only invoked if objects are added TTW.
> This is why you have no effect.
>
> HTH
>
>         Raphael
>
>
> _______________________________________________
> 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