let's try again:

{{= TABLE(*[TR(TD(A(r.user,_href=URL(args=(r.name,r.value))))) for r in 
testdb]) }}

I am not sure what this style is called.

On Sunday, 2 February 2014 09:15:19 UTC-6, Multiplery wrote:
>
> I'm sorry, but it creates an error 'invalid syntax'
>
> Am Sonntag, 2. Februar 2014 14:51:33 UTC+1 schrieb Multiplery:
>>
>> Hey guys,
>> I have a problem with the for in usage.
>>
>> I want an function which creates, depending on a db, URLs. 
>> So in the db is a table with the fields 'name', 'user' 'value'.
>> testdb = dba(dba.test.user== user).select(dba.test.ALL)
>> now, in the view i want those URLS:
>> A(user,_href=URL(Name + '/' + str(value)))
>> for every data which match the requiremtents. 
>> Can someone help me? i doesn't get it done.
>>
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to