2009/8/6 Yarko Tymciurak <yark...@gmail.com>: > On Thu, Aug 6, 2009 at 9:49 AM, Mladen Milankovic <mml...@gmail.com> wrote: >> {{=IMG(_src=URL(r=request, c='static', f='Tux.jpg'))}} >> >> Everything you want to write out in the view, from python code needs = >> like: {{=variable}} > > Yes ... this will make more sense for example if you want to do more > processing before outputting something, e.g.: > > {{mylogo=IMG(_src=URL(r=request, c='static', f='Tux.jpg'))}} > {{ # more processing.... perhaps with mylogo...}} > {{ =mylogo <br> =title }} > > Think of the empty left-side of the assignment as a "here" assignment (e.g., > output)
Thanks to you two. That helped me a lot. Regards Johann --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---