[web2py] Re: Trouble with lazy virtual fields

2011-03-16 Thread pbreit
OK, thanks. Can you comment on the performance of virtual fields in general?

[web2py] Re: Trouble with lazy virtual fields

2011-03-16 Thread Massimo Di Pierro
{{=item.currency_symbol()}} I have serious doubt there is any speed up in making this virtual field lazy. I think it will be slower. On Mar 16, 6:47 pm, pbreit wrote: > I am trying to use lazy virtual fields and cannot seem to get it to work. > The non-lazy virtual fields work OK. > > Also, can

[web2py] Re: Trouble with lazy virtual fields

2010-07-26 Thread szimszon
I'll if I found time for that :-) On júl. 26, 12:14, mdipierro wrote: > I completely missed this thread. I think this is fixed now. Can > somebody try it? > > On Jun 29, 1:25 am, szimszon wrote: > > > > > > > > > Can I help or do something to track it down? > > > On jún. 28, 20:52, szimszon wro

[web2py] Re: Trouble with lazy virtual fields

2010-07-26 Thread mdipierro
I completely missed this thread. I think this is fixed now. Can somebody try it? On Jun 29, 1:25 am, szimszon wrote: > Can I help or do something to track it down? > > On jún. 28, 20:52, szimszon wrote: > > > The virtualfields class is not a common python class? > > > On jún. 28, 09:35, szimszon

[web2py] Re: Trouble with lazy virtual fields

2010-06-28 Thread szimszon
Can I help or do something to track it down? On jún. 28, 20:52, szimszon wrote: > The virtualfields class is not a common python class? > > On jún. 28, 09:35, szimszon wrote: > > > That's weired why is this working: > > > class web_sites_extra(): > >   def servername( self ): > >     return self

[web2py] Re: Trouble with lazy virtual fields

2010-06-28 Thread szimszon
The virtualfields class is not a common python class? On jún. 28, 09:35, szimszon wrote: > That's weired why is this working: > > class web_sites_extra(): >   def servername( self ): >     return self.web_sites.txt.split() > > and this not: > > class web_sites_extra(): >   def servername( self ):

[web2py] Re: Trouble with lazy virtual fields

2010-06-28 Thread szimszon
That's weired why is this working: class web_sites_extra(): def servername( self ): return self.web_sites.txt.split() and this not: class web_sites_extra(): def servername( self ): r=self.web_sites.txt.split() return self.web_sites.txt.split() or this: class web_sites_extra():