On 10/9/06, Adam M Peacock <[EMAIL PROTECTED]> wrote: > > Is it possible to make Catwalk display a "magic" property? > Example: > Lets say I have a user class. User has a first_name and a last_name > property. I have a method in my user class such as > _get_full_name(self): > return self.first_name + " " + self.last_name > > How can I have Catwalk display full_name, and, more importantly, use > full_name as the display field in a foreign key (Car has a user, when > I'm editing a car I want to see the full name of a user rather than > either the first or the last, since those don't tell me everything I > need to know)? > with the current code it's not possible.
you will need to provide an addon, since Catwalk works based on the Col objects. I don't see it happening without a big refactor of CatWalks > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

