I think you want <ul>{{for obra in obras:}} {{=LI(A(obra.numero, _href=URL(r=request, f='mostrar', args = [obra.id])),' ',obra.nome)}} # 2 lines {{pass}} </ul>
On Aug 13, 8:05 am, Carlos Aboim <abo...@gmail.com> wrote: > Yeah you're wright! > I express my self in a wrong way > > In fact both are two fields - obra.numero and obra.nome > > I just can't separete them in the same line > > Thanks > Carlos Aboim > > 2009/8/13 Sebastian E. Ovide <sebastianov...@gmail.com> > > > did you try this ? > > > {{=LI(A(123,_href="someurl"),"some text")}} > > > On Thu, Aug 13, 2009 at 12:43 PM, Carlos Aboim <abo...@gmail.com> wrote: > > >> 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 > > > -- > > > Sebastian E. Ovide > > > skype: seezov > > > +353 87 6340149 > > > Sent from Dublin, Ireland --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---