Disable the listener, and code a new one subclassing the original and
adding your logic.

Florent

On Fri, Sep 11, 2009 at 1:49 PM, Bruce Grant <[email protected]> wrote:
> Hello,
>
> Is there a simple (dynamic) way to prevent the DocumentCreated event from
> firing when saving a new document? Or is there some other mechanism to have
> a listener not respond to the DocumentCreated event in certain
> circumstances.
>
> Thanks, Bruce.
> _______________________________________________
> ECM mailing list
> [email protected]
> http://lists.nuxeo.com/mailman/listinfo/ecm
> To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
>
>



-- 
Florent Guillaume, Head of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to