I haven't taken a look, but my guess would be that it doesn't. In order to use getProperty() rather than get("property") (I'm assuming this is generated dynamically), you would have to write the methods to a file and include it in the class, since there is no way to generate methods dynamically in CF. It's not hard to do by any means, but then you'll want to think about "how do I cache it and reuse it until its changed, so I can limit the # of disk accesses?" (assuming that becomes a problem) and such.

I'm still hoping for that functionality /sometime/ =)

Sam




Aaron Roberson wrote, On 5/3/2007 8:03 PM:
Hey guys,

I just read Jeffry Houser's Data Gateway article in CFDJ and went and
downloaded Hal Helm's baseComponent. What I have been looking for is a
way to create a baseObject bean so that I can have generic getters and
setters. The caveat is that I would like to be able to access those
bean properties in my views as getProperty() instead of
get("property"). Does the get and set methods within Hal's
baseComponent.cfc support such am implementation? From a quick look at
the code it appears it does, although it may just be checking for the
existence of a specific accessor or mutator in the child object.

Anyone know for sure? Is my requirement even possible to be met?

Thanks,
Aaron


You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]






You are subscribed to cfcdev. To unsubscribe, please follow the instructions at 
http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]

Reply via email to