public String onChange() {
return id() + "AjaxProgress.start()";
}
protected void _checkForCompletion() {
AjaxProgress progress = progress();
if (progress != null) {
if (progress.isDone()) {
if (!progress.completionEventsFired()) {
if (progress.isCanceled()) {
progressCanceled();
}
else if (progress.isFailed()) {
progressFailed();
}
else if (progress.isSucceeded()) {
progressSucceeded();
}
progress.setCompletionEventsFired(true);
_fireFinishedJavascriptEvents = true;
}
}
}
}