The seconde choice seems to be what I was search for... I was know about
.render(), but as you explain it is for rows only and don't apply when I
use this short cut : db.table(id_of_record).field
Thanks a lot.
Richard
On Fri, Nov 8, 2013 at 4:59 PM, Anthony abasta...@gmail.com wrote:
Are you
Hello,
How can I do this :
db.table(id).field.represent
Could a short cut be created to handle this use case?
{{=form.custom.begin}}
table class=table table-condensed table-hover
theadtrth{{=T('Field label')}}/th/tr/thead
tbody
{{for r in rows:}}
tr
Are you saying you want the represent function applied specifically to a
reference field?
Note, a Row object does not know with what DAL table it is associated, so
it can't automatically apply the represent attributes of its fields.
However, the Rows object has a new .render() method for this
3 matches
Mail list logo