David D-V Tran wrote:
I see it now... so basically this...<listeners> <listener name="SampleListener" type="listeners.SampleListener"/> </listeners>
Right--that will use the default EventInvoker. But as I said if you were previously using the EventArgs invoker (and I believe you were using the OLD eventargs invoker), your listener methods are probably expecting to receive each event argument individually, so make sure to adjust those as well.
If your listener methods are like this:<cffunction name="myMethod" access="public" output="false" returntype="void">
<cfargument name="arg1" type="string" required="true" /> <cfargument name="arg2" type="string" required="true" /> </cffunction> You'll want to change them to this: <cffunction name="myMethod access="public" output="false" returntype="void"> <cfargument name="event" type="MachII.framework.Event" required="true" /> </cffunction>And then you'll get at arg1 and arg2 inside your listener method by called arguments.event.getArg("arg1"), etc.
-- Matthew Woodward [email protected] http://www.mattwoodward.com/blogPlease do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html
smime.p7s
Description: S/MIME Cryptographic Signature
