--
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcr...@googlegroups.com
To unsubscribe, email: farcry-dev+...@googlegroups.com
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
label is a property that belongs to the types abstract class. Its basic purpose is a human readable name for an object instance, as opposed to just having an objectid (UUID)
It's purely coincidental that dmnavigation, dmhtml, dmnews, etc have a "title" which is essentially the same. As far as the framework is concerned it needs something it can guarantee is always there for any object type -- hence label in types. The CMS content types could have used label instead of having their own property of "title". However, we generally try and leave label for administrative purposes only, as its not uncommon for the internal human readable label of an instance to differ considerably from the way it might be presented on the website.
So for an "out of the box" vanilla FarCry CMS based site there's little difference but in many custom apps the distinction is entirely appropriate.
-- geoff
http://www.daemon.com.au/
skype. gb.daemon
I'd add that you can also change the behaviour of the label creation by using the blabel="true" attribute within any CFPROPERTY tag to have the value concatenated into the label.
From memory, the framework looks for blabel, and failing that concatenates property names containing the keywords title and name. In the absence of any title/name properties you get the objectid or (incomplete).
For complete control you can always modify the before/afterSave functions.