>
> Forse meglio vedere
>
> http://plone.org/documentation/tutorial/borg/sending-and-handling-events/view?searchterm=at_post_create_script
>

Si, il link giusto e' questo:
questo
""
Anyhow, IObjectModifiedEvent is a Zope event and Archetypes makes several
modifications throughout the initial creation of an AT object, which is why
it's called multiple times
""
e questo e' il punto chiave.
Ora con
    <subscriber
        for="..interfaces.ICatalogInstance
             Products.Archetypes.interfaces.IObjectInitializedEvent"
        handler=".cataloginstance.eventCatalogInstanceInserted"
      />

l'handler viene chiamato una sola volta.
Ora vedo se leggo il file.


-- 
luigi
_______________________________________________
Plone-IT mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html

Rispondere a