I think a filter is the way to go. If you find otherwise, let us know because we found that using event-bean with record objects wasn't an option.
- Shannon -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Lebon Sent: Monday, April 03, 2006 5:01 AM To: [email protected] Subject: [Reactor For CF] Should I use the event-bean command for Record objects? In MachII I was wondering if it would be advisable to use the <event-bean ../> command to create and populate my Reactor Record objects? I already wrote a filter that did the same thing for Records by creating a new record from the factory and populating it in the same way as machii does with beans, but I started to wonder if that was even necessary since I could maybe use the event-bean command instead. The only issue I see with this is that the record object must exist before I can use it which might cause some issues. On the other hand should I just use simple beans to capture form data and pass to Record objects in my service layer or listeners? Any tips would be great as I'm going around in circles trying to decide the best option. Is there a recommended approach specific to MachII? -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/

