Well using the Timer you can periodically request the server for the time remaining and update the count down Label. But this will require may be a server call in every min or few seconds. But I think the better approach is to get the remaining time at the first load and using a Timer to deduct a sec each time and update the label with new remaining time.
- Litty On Tue, Feb 17, 2009 at 2:00 PM, alex.d <[email protected]>wrote: > > Timer is just a class that helps you to do smth. periodically(see docs > for an example). You'll have to use it to update some label with your > time value. > > On 17 Feb., 05:23, Vishesh <[email protected]> wrote: > > Thanks for replying. > > But is there a way to show the timer on the rootpanel or other screen? > > If there is I cant seem to find it anywhere. > > > > > > > > On Sun, Feb 15, 2009 at 4:50 PM, jossey <[email protected]> wrote: > > > > > Will the Timer in GWT help? > > > > > On Feb 14, 12:13 pm, Vish <[email protected]> wrote: > > >> Hi All, > > >> I'm trying to show a countdown timer on a form which displays the time > > >> left for a discussion on some topic mentioned on that form. > > >> I'm not able to decide or figure out the best way to do it, also I > > >> couldn't find any earlier post discussing this. > > >> If someone can help me suggesting this it will be really helpful and I > > >> would be very thankful. > > >> Regard > > >> Vish. > > > > -- > > Vishesh Sahu > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
