2009/8/6 Yarko Tymciurak <[email protected]>:
> On Thu, Aug 6, 2009 at 9:49 AM, Mladen Milankovic <[email protected]> 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to