2014/1/6 Otto Behrens <[email protected]> > This brings back a question regarding displayString, or something > similar. It seems as if many people need something like this. > > I need for example a string representation of objects generally to > display in anchors in our seaside application. We have a class > DomainObject from which most of our classes inherit, so this is > probably the place to add a 'displayString' for something like this.
Not necessarily domain objects only. Some core objects (Blocks, CompiledMethods, etc.) could benefit from having a developer string representation (#printString) and a UI string representation (#displayString). Regards, Esteban A. Maringolo
