What I've written will display the name of an assay if criteria are met-
using a list.
Rather, I'd like to display a link to a URL, not just the name of the assay.
what I have:
def assay_display(row):
assay_list = list()
if db(row.MML.lot == db.amino_acid.lot).select():
assay_list.append('Amino Acid')
what I want (psuedo code)
def assay_display(row):
assay_list = list()
if db(row.MML.lot == db.amino_acid.lot).select():
assay_list.append.URL('www.blah.blah/default/amino_acid)
Apologies for my lack of syntax knowledge. I sense I need something with
request. ?
Thank you in advance
Neub
--
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.