Su-weet! No rush, I'm dandy 'til wheneves. :-)
I like the approach you took. Seems like a pretty powerful feature, good to know it's available. Trapping the overwriting was a nice touch. Right on man, :Denny -- Every life is a profession of faith, and exercises an inevitable and silent influence. Henri Frederic Amiel On Sat, Oct 11, 2008 at 5:48 PM, Jared Rypka-Hauer wrote: > > 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 --~--~---------~--~----~------------~-------~--~----~ 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 . -~----------~----~----~----~------~----~------~--~---
