I'm trying to create a loading slider much like the one from gmail (when loading an account) So i made a simple gadget with a horizontal panel that has a gray background let's say, and when the application passes through a checkpoint, it updates the slider Ex the slider has a max width of 300 px, and can be updated at a certain percent: updateSlider(30) etc.. witch does this: hpSlider.setWidth(newWidth). (i have tested it with a timer and it works)
When i sign in, the application (client) makes a series of requests in a certain order (ex: first requests some info, then language, then checks session, etc) at each request, the slider is updated (the updateSlider(#) method is called) and it is also visually updated (so far so good) Problem: when i load the rest of the javascript (ex: 4 big gadgets that require about 500 ms each, one of the about 1 sec) i also call updateSlider() after each of then loads, but it does not update the slider visully Does the browser or GWT knows that the elements are constructed one after another and it waits until all of them are loaded and than updates the UI? Or is there another pb? Can i use another widget? or does GWT has a similar widget ? Thx --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
