If a data object has a "Name" attribute, then the name is displayed in the automatically generated default admin screens when listing data for that object. This is all nice and handy.
I have an object that does not have a Name attribute stored in the database, but instead I would like the name to be derived from other data in that object (e.g. for an address, the name could be the house number, street name and town concatenated). This only needs to be constructed when the object is fetched from the database, but then it needs to look like it originally came from the database so that it gets used in the admin screens.
Thinking as I write this, would the solution be to create my set of fields using the getCMSFields() method, including a mix of real database fields and non-database fields as required?
-- Jason
Edit: No. A 'ReadonlyField' with the name "Name" unfortunately does not appear in the default admin screens for that object.