Hi all I'm playing around with event-bean. I have everything working when a use event-bean to populate my bean however I'm now writing the validate () method on my bean which needs to call the Service/Dao/Gateway to check some of my bean data against the DB. The problem is that because the event-bean type="" attribute can only be pointed directly at the CFC then it isn't instantiated by ColdSpring so none of the dependencies (e.g. Service) are initialised. Does anyone have a solution for this? I've had a dig in M2 and can see that it calls the init() method on the bean so do I need to have all my dependency stuff hard coded in here and therefore can't use ColdSpring?
Cheers Matthew -- 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/
