def imagepicker(text): if text = "xxxx": return IMG(xxxx) elif text = "yyyy": return IMG(yyyy) ...
db.table.field.represent = lambda text: imagepicker(text) table = SQLTABLE(.....) Another possibility is using Virtual Fields or manipulating the object with server side DOM parsing. http://zerp.ly/rochacbruno Em 18/08/2011 03:42, "Valter Foresto" <valter.fore...@gmail.com> escreveu: > To further explain my requirements and request for suggestions: > *How can I exchange few different text values with few different small > images in a SQLTABLE() object before send it to the view. * > > Thank you for your help. > Valter >