> On Saturday, Aug 30, 2003, at 18:50 US/Pacific, S. Isaac > Dealey wrote: >> Well afaik cfproperty models (to some extent) the way >> properties are declared in other OO languages like Java >> --
> Nope, not really. Unless you are writing a Web Service and > using > cfproperty for additional validation of returned component > instances, > cfproperty does nothing beyond creating metadata. It has > no relation to > instance data and the default= attribute does not have an > impact > whatsoever on the values of that instance data. > My advice: don't use cfproperty. >> it'd be nice to get the >> expected functionality from the tag > The problem is that your expectations are incorrect. > <cfcomponent> > <cfproperty name="foo" type="numeric"/> > <cfset this.foo = "I am not numeric" /> > </cfcomponent> > That's perfectly valid CFML - by design. Ahh okay... well that changes a lot. :) ... But the case still stands -- the reason for using cfproperty in the first place was largely for documentation -- to have / get the meta data in other wordes... So... I still need it for what I was doing... s. isaac dealey 972-490-6624 team macromedia volunteer http://www.macromedia.com/go/team chief architect, tapestry cms http://products.turnkey.to onTap is open source http://www.turnkey.to/ontap ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com