| You know, it seems that this could be as simple as adding: <defaultRecordGetter name="Record" /> to the XML... then in the ObjectFactory, as simple as: <cfif len(variables.config.getDefaultGetter())> <cfloop collection="#GeneratedObject#" item="m"> <cfif right(m,len(variables.config.getDefaultGetter()) is "Record"> <cfset GeneratedObject[left(m,len(m)-len(variables.config.getDefaultGetter())] = GeneratedObject[m]> </cfif> </cfloop> </cfif> ...just before the cfreturn GeneratedObject. You'd also have to add a handler to config.Config to handle the extra property (which I haven't given the best name here... I hate naming XML tags! It's hard to find the right semantic for some things.) And really, that would be the only place the code for the framework has to change. I don't see this as being a huge issue for the framework, and at the same time it's such a trivial change that adding it and maintaining it shouldn't be difficult if you really thought it would be that useful... might I suggest adding it, testing it, and then coming back in 3 weeks and saying "well, we did that one tweak and wow, it sure did work good!" or "it sucked and we hate it" but... put it into production and see what happens. Just a few more ramblings. :) Laterz, J ------------------------------------------------ Jared C. Rypka-Hauer Continuum Media Group LLC Member, Team Macromedia - ColdFusion "That which does not kill me makes me stranger." - Yonah Schmeidler On Mar 24, 2006, at 10:17 AM, Shannon Jackson wrote:
|
- Re: [Reactor For CF] Reactor R&D Sean Corfield
- RE: [Reactor For CF] Reactor R&D Shannon Jackson
- Re: [Reactor For CF] Reactor R&D Sean Corfield
- RE: [Reactor For CF] Reactor R&D Shannon Jackson
- RE: [Reactor For CF] Reactor R&D Shannon Jackson
- Re: [Reactor For CF] Reactor R&D Sean Corfield
- RE: [Reactor For CF] Reactor R&D Peter Bell
- RE: [Reactor For CF] Reactor R&D Shannon Jackson
- Re: [Reactor For CF] Reactor R&D Jared Rypka-Hauer
- RE: [Reactor For CF] Reactor R&D Shannon Jackson
- Re: [Reactor For CF] Reactor R&D Jared Rypka-Hauer
- RE: [Reactor For CF] Reactor R&D Doug Hughes
- RE: [Reactor For CF] Reactor R&D Doug Hughes
- Re: [Reactor For CF] Reactor R&D Jared Rypka-Hauer
- RE: [Reactor For CF] Reactor R&D Doug Hughes
- Re: [Reactor For CF] Reactor R&D Peter J. Farrell
- Re: [Reactor For CF] Reactor R&D Sean Corfield
- Re: [Reactor For CF] Reactor R&D Kurt Wiersma
- Re: [Reactor For CF] Reactor R&D Kurt Wiersma
- RE: [Reactor For CF] Reactor R&D João Fernandes
- RE: [Reactor For CF] Reactor R&D Chris Blackwell

