{{theTime}}

Search This Blog

Total Pageviews

How to schedule a work using Timer in GWT -- Auto Refresh functionality

Scheduler can be used for automating the repetitive tasks and for auto refresh. Simple example how to create timer in GWT.

Timer timer = new Timer() {
public void run() {
Window.alert ("Updated score! details..");
}
};

// Execute the timer to expire 5 seconds in the future
timer.schedule(5000);

No comments:

ImportError: cannot import name 'soft_unicode' from 'markupsafe'

Check the markupsafe version.  To fix the problem install 2.0.1 pip install markupsafe==2.0.1