|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
ajax-loader not showing?Hi, In boot I have LiftRules.ajaxStart = Full(() => LiftRules.jsArtifacts.show("ajax-loader").cmd) LiftRules.ajaxEnd = Full(() => LiftRules.jsArtifacts.hide("ajax-loader").cmd) which I would think should show a spinning wheel during ajax requests. But it doesn't seem to work for me. It never shows. I tried to make the requests take longer (4s), but still it doesn't show. Only when I terminate the server and make an ajax request, the wheel shows before the alert dialog saying there was a problem. This indicates that the html to show the image is correct. Any clues? /Jeppe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@... To unsubscribe from this group, send email to liftweb+unsubscribe@... For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ajax-loader not showing?Jeppe, did you get any further with this? Cheers, Tim On Oct 29, 1:21 pm, Jeppe Nejsum Madsen <je...@...> wrote: > Hi, > > In boot I have > > LiftRules.ajaxStart = > Full(() => LiftRules.jsArtifacts.show("ajax-loader").cmd) > > LiftRules.ajaxEnd = > Full(() => LiftRules.jsArtifacts.hide("ajax-loader").cmd) > > which I would think should show a spinning wheel during ajax > requests. > > But it doesn't seem to work for me. It never shows. I tried to make the > requests take longer (4s), but still it doesn't show. Only when I > terminate the server and make an ajax request, the wheel shows before > the alert dialog saying there was a problem. This indicates that the html to > show the image is correct. > > Any clues? > > /Jeppe You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@... To unsubscribe from this group, send email to liftweb+unsubscribe@... For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ajax-loader not showing?Timothy Perrett <timothy@...> writes: > Jeppe, did you get any further with this? Nope. Don't really know how it's supposed to work, so haven't filed a ticket (yet :-) I took a cursory look at the javascript generated by Lift for ajax handling and to me it looks like the functionality to show the image is never invoked in the normal execution flow....but alas, this could be intentional :.) /Jeppe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@... To unsubscribe from this group, send email to liftweb+unsubscribe@... For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ajax-loader not showing?It's a bug. Please file a ticket.
On Sat, Oct 31, 2009 at 1:56 AM, Jeppe Nejsum Madsen <jeppe@...> wrote: Nope. Don't really know how it's supposed to work, so haven't filed a -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@... To unsubscribe from this group, send email to liftweb+unsubscribe@... For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ajax-loader not showing?David Pollak <feeder.of.the.bears@...> writes: > > It's a bug. Please file a ticket. Done. http://github.com/dpp/liftweb/issues/#issue/152 /Jeppe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@... To unsubscribe from this group, send email to liftweb+unsubscribe@... For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ajax-loader not showing?Fixed
On Sat, Oct 31, 2009 at 9:04 AM, Jeppe Nejsum Madsen <jeppe@...> wrote: Done. http://github.com/dpp/liftweb/issues/#issue/152 -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@... To unsubscribe from this group, send email to liftweb+unsubscribe@... For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ajax-loader not showing?Works :-) Thanks. /Jeppe On Tue, Nov 3, 2009 at 12:20 AM, David Pollak <feeder.of.the.bears@...> wrote: > Fixed > > On Sat, Oct 31, 2009 at 9:04 AM, Jeppe Nejsum Madsen <jeppe@...> > wrote: >> >> David Pollak <feeder.of.the.bears@...> writes: >> > >> > It's a bug. Please file a ticket. >> >> Done. http://github.com/dpp/liftweb/issues/#issue/152 >> >> /Jeppe >> >> > > > > -- > Lift, the simply functional web framework http://liftweb.net > Beginning Scala http://www.apress.com/book/view/1430219890 > Follow me: http://twitter.com/dpp > Surf the harmonics > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@... To unsubscribe from this group, send email to liftweb+unsubscribe@... For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ajax-loader not showing?Is this in M7? It wasn't mentioned in the release notes, and I'm not sure I'm seeing it working... Chris On Nov 2, 6:20 pm, David Pollak <feeder.of.the.be...@...> wrote: > Fixed > > On Sat, Oct 31, 2009 at 9:04 AM, Jeppe Nejsum Madsen <je...@...>wrote: > > > > > David Pollak <feeder.of.the.be...@...> writes: > > > > It's a bug. Please file a ticket. > > > Done.http://github.com/dpp/liftweb/issues/#issue/152 > > > /Jeppe > > -- > Lift, the simply functional web frameworkhttp://liftweb.net > Beginning Scalahttp://www.apress.com/book/view/1430219890 > Follow me:http://twitter.com/dpp > Surf the harmonics --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@... To unsubscribe from this group, send email to liftweb+unsubscribe@... For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ajax-loader not showing?It's in M7. If you created your code from an archetype prior to M7, you have to manually put the spinning gif into your /images directory
On Mon, Nov 9, 2009 at 11:57 AM, CodeSlave9000 <ccebelenski@...> wrote:
-- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@... To unsubscribe from this group, send email to liftweb+unsubscribe@... For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |