Nevermind, represent did the trick:
db.things.category.represent = lambda id: SPAN(db.categories[id].name)

On Jun 21, 10:33 am, "mr.freeze" <[email protected]> wrote:
> When I change my SQLFORM for a table record to readonly, all of the
> IS_IN_DB relationships go back to their foreign keys instead of the
> values defined by the validator (for example: IS_IN_DB
> (db,'categories.id','%(name)s')).  What am I missing?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to