Thanks, dude... :) I actually ended up doing a combined approach where I'm checking for isCustomFunction() inside the <cfelse>, but I changed the cfelse to <cfelseif arguments.createPublicProperties> after adding the boolean createPublicPoperites argument to the methods in EventContext, CollectionBeanPopulator and GenericCollection. It's defaulted to false so it maintains the Unity behavior yet allows folks making use of this feature to use structs and transfer objects as well... though existing application code will have to be tweaked to account for it.
The <cfif isCustomFunction(target[i])> block throws an error if makeEventBean() tries to overwrite a method with a property. I have yet to get time to test it... maybe I can scurry off and do that right now. I'll post again when it hits the repo. Laterz! J On Oct 11, 2008, at 4:27 PM, denstar wrote: > > On Thu, Oct 9, 2008 at 7:49 PM, Jared Rypka-Hauer wrote: >> >> Denny, >> >> I've got a patch for this in the works... it's gone to Dan but it >> broke his test app, so I have to revise it. This should get committed >> in the next day or so. > > Freaking awesome Jared, you da man! > > Which approach did you take? > > -- > Destiny has two ways of crushing us - by refusing our wishes and by > fulfilling them. > Henri Frederic Amiel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "model-glue" 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/model-glue?hl=en For more about Model-Glue, check http://www.model-glue.com . -~----------~----~----~----~------~----~------~--~---
