[web2py] Re: call response.flash = "smoething" from view

2010-02-06 Thread Russell
Try this if you want to make yourself a loading gif... http://www.ajaxload.info/ On Feb 6, 6:24 pm, Iceberg wrote: > Elegant and universal! Exactly what I am looking for. Thanks! > > On Feb6, 1:35am, sveinh wrote: > > > If I understand you correctly, you want to indicate to the user that > > i

Re: [web2py] Re: call response.flash = "smoething" from view

2010-02-06 Thread Tomas Pelka
mdipierro wrote: > > > Yea this is it :D thank you Massimo. > > On Feb 5, 8:34 am, Tomas Pelka wrote: >> I was thinking about it a lot and I hope that I could use flash right >> from my form, like >> >> >> >> >> >> But I have no idea how to call flash as js. Because it is typical >> js/aj

[web2py] Re: call response.flash = "smoething" from view

2010-02-05 Thread Iceberg
Nice idea, but it doesn't work. The flash does not have enough time to show up and then the whole page is refreshed. On Feb6, 1:47am, mdipierro wrote: > > > > > On Feb 5, 8:34 am, Tomas Pelka wrote: > > > > > I was thinking about it a lot and I hope that I could use flash right > > from my fo

[web2py] Re: call response.flash = "smoething" from view

2010-02-05 Thread Iceberg
Elegant and universal! Exactly what I am looking for. Thanks! On Feb6, 1:35am, sveinh wrote: > If I understand you correctly, you want to indicate to the user that > it may take a while for the request to complete? > > Check out this one:http://www.web2pyslices.com/main/slices/take_slice/38 > > -

[web2py] Re: call response.flash = "smoething" from view

2010-02-05 Thread mdipierro
On Feb 5, 8:34 am, Tomas Pelka wrote: > I was thinking about it a lot and I hope that I could use flash right > from my form, like > > > > > > But I have no idea how to call flash as js. Because it is typical > js/ajax function, right? > > On 02/05/2010 01:31 PM, Iceberg wrote: > > > > > I

[web2py] Re: call response.flash = "smoething" from view

2010-02-05 Thread sveinh
If I understand you correctly, you want to indicate to the user that it may take a while for the request to complete? Check out this one: http://www.web2pyslices.com/main/slices/take_slice/38 -sveinh On Feb 4, 9:56 pm, Tomas Pelka wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi

[web2py] Re: call response.flash = "smoething" from view

2010-02-05 Thread mdipierro
perhaps this help: http://www.robrusher.com/2009/03/31/use-amf-with-javascript-in-adobe-air/ On Feb 5, 8:34 am, Tomas Pelka wrote: > I was thinking about it a lot and I hope that I could use flash right > from my form, like > > > > > > But I have no idea how to call flash as js. Because it is

Re: [web2py] Re: call response.flash = "smoething" from view

2010-02-05 Thread Tomas Pelka
I was thinking about it a lot and I hope that I could use flash right from my form, like But I have no idea how to call flash as js. Because it is typical js/ajax function, right? On 02/05/2010 01:31 PM, Iceberg wrote: I believe you can run response.flash = "smoething" from view, althou

[web2py] Re: call response.flash = "smoething" from view

2010-02-05 Thread Iceberg
I believe you can run response.flash = "smoething" from view, although I never try that. Lucky that all my views are simple enough, all my codes are in controller. The MVC approach. When talking about showing "Analyzing ..." and then "Successful done", I think you need AJAX. But there is no ready