Ok, I understand.

However in your example 1 on the web site of t3, you have this:

{{=TABLE(*[TR(IMG(_width="200px",_src=self.action
("download",image.file))) for image in db().select(db.image.ALL)])}}

My question is this:

Can i use something like that whith self.display()?

Because I want to display multiple table records

Or how can i use for or if with self.display()?

On 5 ene, 13:59, mdipierro <mdipie...@cs.depaul.edu> wrote:
> In T3 you can only do {{something}} or {{=somethingelse}} not
> {{for...:}} not {{if...:}} not {{pass}}. etc. You cannot break an
> expression over multiple {{}}{{}} as you can in the web2py template
> language.
>
> Massimo
>
> On Jan 5, 1:18 pm, drayco <antrod...@gmail.com> wrote:
>
> > Hi, please, can You give any examples?
>
> > On 25 dic 2008, 19:16, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > You cannot.T3does not support web2py templating language.
>
> > > On Dec 25, 6:10 pm, "Tito Garrido" <titogarr...@gmail.com> wrote:
>
> > > > Hi Folks,
>
> > > > Why when I try to use:
> > > > {{ifself.is_admin:}}
> > > > Test
> > > > {{pass}}
>
> > > > in a wiki page it returns:
> > > > Internal Error 
> > > > [open<http://titogarrido.appspot.com/app/default/wiki/main#zoom-0>
> > > > ]
>
> > > >ifself.is_admin:
> > > >                     ^
> > > > SyntaxError: unexpected EOF while parsing
>
> > > > Thanks,
>
> > > > Tito
>
> > > > --
> > > > Linux User #387870
> > > > .........____
> > > > .... _/_õ|__|
> > > > ..º[ .-.___.-._| . . . .
> > > > .__( o)__( o).:_______
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to