runEvent()

Hi folks,

When using runEvent() does this execute the entire request stack from top to bottom?

If so, is there a way that I can just call the method in another handler without going through then entire request structure from the top?

Thanks.

Nolan

Yes, runEvent starts the event lifecycle (not the whole request lifecycle though I don't believe), however, you can use the prepostExempt flag to skip the interception points.

runEvent(event='some.event', prepostExempt=true);

http://coldbox.org/documents/api/ColdBoxDocs-3.1.0//coldbox/system/FrameworkSupertype.html#runEvent()

Hope that helps,
Curt

Thanks Curt!

That did the trick :slight_smile:

Cheers,

Nolan