Greg's Blog

helping me remember what I figure out

Announcing Events

| Comments

There are two ways that you can announce events in the Mach-ii framework. The first way is inside a CFC (typically I believe a Listener) and that is by calling the announceEvent() method and passing in the event name and any arguments that you wish to pass along as well. For example: [code][/code] The other way is in the mach-ii.xml config file. Here you can make use of the following syntax to announce a new event [code][/code] Just make sure you have an event-handler set for “someEvent”. And also do note that announcing events is not like re-directing to that event. This adds the event to the event queue.