Is the following scenario similar to what you're asking... An Address object has a m2o relationship with a State. When you ask for an Address object, you want the State to be populated with a default State? However, when you ask for a State directly, you don't want a default State?
If so, I solved that problem using Brian Kotek's TDOBeanInjectorObserver. Jason Durham On Fri, Jun 24, 2011 at 4:46 PM, Clarkee21 <[email protected]> wrote: > I've been doing a bit more digging around tonight. Specifically looking at > the Event Model > > Namely, the docs - > http://docs.transfer-orm.com/wiki/Using_the_Transfer_Event_Model.cfm > and > Ray's Article - > http://www.coldfusionjedi.com/index.cfm/2008/12/8/Working-with-Transfers-Event-Model > > This is using a select on the database so I'm not sure which to pick but > the closests sounds like actionAfterNewTransferEvent. I'm about to give it > a try. > > What's slightly concerning me is the way I've got to set this up. Really > I'm only needing this for one object and the task is quite specific but > reading the discussion on Ray's blog sounds like every Transfer object is > going to go through this thing. > > Do I need to have every one using it? > > Is there anyway I can declare that event inside the decorator instead and > make it behave in the same way as the configure() ... ( i.e. through > convention ) > > Thanks again, > > James > > -- > Before posting questions to the group please read: > > http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer > > Try out the new Transfer ORM Custom Google Search: > http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8 > > You received this message because you are subscribed to the Google Groups > "transfer-dev" group. > 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/transfer-dev?hl=en > -- Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer Try out the new Transfer ORM Custom Google Search: http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8 You received this message because you are subscribed to the Google Groups "transfer-dev" group. 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/transfer-dev?hl=en
