OH yeah i forgot about that. This was from some older code that I had. So if I did <notify listener="ecommerceProduct" method="Create" resultarg="productID"/> and then <notify listener="ecommerceProduct" method="Read" resultarg="request.product"/> right after it...
would the READ function acknowledge the productID that is output from the create function, and output the details for the newly created product info? On Fri, Aug 21, 2009 at 2:03 PM, Peter J. Farrell<[email protected]> wrote: > Use resultArg instead on resultKey which is deprecated as noted in the XML > config file reference page which is always the most up to date doc on the > wiki. ResultArg puts the result in the Event under the arg name you supply. > > .Peter > -----Original Message----- > From: dave <[email protected]> > > Date: Fri, 21 Aug 2009 09:35:09 > To: Mach-II for CFML<[email protected]> > Subject: [Mach-II] grabbing a value from a component from the handler > > > > <notify listener="ecommerceProduct" method="Create" > resultKey="productID"/> > > Is it possible to grab the resultkey into another listener immediately > following this one, in the same event? > thank you! > Dave > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/ Wiki / Documentation / Tickets: http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/ -~----------~----~----~----~------~----~------~--~---
