public void handleEvent(Event evt)
{
ClientDocument clientDoc = ((ItsNatEvent)evt).getClientDocument();
if (currentTimerHnd != null) currentTimerHnd.cancel();
ItsNatTimer timer = clientDoc.createItsNatTimer();
EventListener timerListener = new EventListener() {
public void handleEvent(Event evt) { } // Nothing to do, this timer just update the client with the current state of progressElem
};
this.currentTimerHnd = timer.schedule(null,timerListener,0,1000);
final ItsNatTimerHandle timerHnd = currentTimerHnd;
if (currentIframeUpload != null) currentIframeUpload.dispose();
this.currentIframeUpload = iframe.getHTMLIFrameFileUpload(clientDoc,input.getHTMLInputElement());