Rudolf is right. In your page presenter constructor you should write
something like this:
Timer t = new Timer() {
public void run() {
eventBus.fireEvent(new LoadDataEvent());
}
};
// Schedule the timer to run once in 5 seconds.
t.scheduleRepeating(5000);
On 7 abr, 07:46, Durgesh Kumar Mishra <[email protected]> wrote:
> Hi
> I am trying to refresh a gwt page in every 5 secs where data is keep on
> changing ...so i have to show updated data in every 5 secs. Can anybody tell
> me the solution how do i implement it?
>
> I am using simple gwt1.5 and for baceknd part hibernate for retrieving data
> from the database.
> Calling a service i usually populate the form.
>
> If anybody knows the solution Please reply asap. It is urgent requirement.
>
> Thanks
> Durgesh
--
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.