Are you using acf9 orm? Mach-II won't return args from the event object unless they exist so I don't think the framework has anything to do with the picture. How are you getting the "envelope" arg into the event object? On Jul 7, 2011 2:35 PM, "Guillermo" <gcruz1...@gmail.com> wrote: > So I have a call like this > > event.getArg('envelope').getPayment() > > If I do an IsObject on it it return back true. > > If I dump it I just get a ACP box that says undefined. > > So it seems like MachII is returning back an undefined object. I try > to do a getMetaData on it but it states that it must be initialized > first. Same thing when I try to output > event.getArg'(envelope').getPayment().getAccountHolder() > > I know the Envelope obejct does not have the getPayment object because > I did not put it into the Envelope object. But I need to test if it is > there and process when it is. In this case using isObject is failing > because it is an object but it is undefined. > > Any help would be appreciated. > > -- > To post to this group, send email to mach-ii-for-coldfusion@googlegroups.com > For more options and to unsubscribe, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en > > SVN: http://svn.mach-ii.com/machii/ > Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
-- To post to this group, send email to mach-ii-for-coldfusion@googlegroups.com For more options and to unsubscribe, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/