Also after 4 years!!!
Many, many thanks!!!!

Nicola

Il giorno martedì 27 maggio 2014 08:37:46 UTC+2, Mandar Vaze ha scritto:
>
> A Million Thanks for Johann (for asking the question) and Massimo (for 
> providing the answer).
> Following is useful even after more than 3 years !!!
>
> Web2py rocks, and web2py community makes it even better :)
>
> -Mandar
>
> On Friday, October 14, 2011 6:56:07 PM UTC+5:30, Johann Spies wrote:
>>
>>
>>
>> On 14 October 2011 14:49, Massimo Di Pierro <[email protected]> 
>> wrote:
>>
>>> My bad. Try this:
>>>
>>> def render_docs(ids,row):
>>>      span = SPAN()
>>>      for id in ids:
>>>         doc = db.wbdocuments(id)
>>>         if doc:
>>> span.append(A(doc.name,_href=URL('download',args=doc.file)))
>>>      return span
>>>
>>> db.wbmaster.documents.represent = render_docs
>>>
>>> Fantastic.  Thanks 
>>
>> Johann
>>
>> -- 
>> Because experiencing your loyal love is better than life itself, 
>> my lips will praise you.  (Psalm 63:3)
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to