I seem to be having some trouble getting the ProgressBar to refresh
itself or call progressFinished(elementId) on my onCompleteObject.
Otherwise it works just fine. I can manually force it to refresh with
this:
function refreshProgress()
{
setTimeout("refreshProgress()", 3000);
<span jwcid="@tacos:Refresh"
updateComponents="ognl:{'progressArea'}"/>
}
setTimeout("refreshProgress()", 3000);
But this isn't ideal since it keeps refreshing even after the progress
is complete, plus I still have the problem with the onCompleteObject.
djConfig is set and dojo.js is included. I can see that tacos.js,
prototype.js, etc. are included in the rendered html. There is no stack
trace or any javascript errors. Template looks like this:
<div jwcid="[EMAIL PROTECTED]" id="progressArea">
<span jwcid="[EMAIL PROTECTED]:ProgressBar" truncateLength="50"
worker="ognl:orderStatusThread"/>
</div>
Any help would be much appreciated!
Ben