You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thofrey edited this page Jul 23, 2013
·
2 revisions
The event queue has not started to process in the preProcess() plugin point, however the event is already in the event queue. The following code will get the first event object for you to use in your preProcess() plugin point:
Example Code:
<cffunctionname="preProcess"access="public"returntype="void"output="false">
<cfargumentname="eventContext"type="MachII.framework.EventContext"required="true"/>
<!--- Peek at the first event in the event queue --->
<cfsetvarevent=arguments.eventContext.getNextEvent() />
<!--- Continue with processing... --->
</cffunction>