Hi everyone once again :-)
I am having a problem with a visualization of a HTML list from a view
So:
I got :<ul>{{for obra in obras:}}
{{=LI(A(obra.numero, obra.nome), _href=URL(r=request,
f='mostrar', args = [obra.id]))}}
{{pass}}
</ul>
I want it to be like this: obra.numero (should be link), obra.nome
(plain html text)
for obra in obras
<obra.numero> <obra.nome>
<obra.numero1> <obra.nome1>
<obra.numero2> <obra.nome2>
<obra.numero3> <obra.nome3>
I tried several exemples but no sucess! as:
<ul>{{for obra in obras:}}
{{=LI(A(obra.numero), (obra.nome), _href=URL(r=request,
f='mostrar', args = [obra.id]))}} # no space btw
{{pass}}
</ul>
<ul>{{for obra in obras:}}
{{=LI(A(obra.numero, _href=URL(r=request, f='mostrar', args =
[obra.id]))}}{{=LI(obra.nome)}} # 2 lines
{{pass}}
</ul>
I need your help
Thank you
Carlos Aboim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---