Re: GenericAjaxLongResponsePage ERXTaskPercentComplete and ERXTaskStatus
Re: GenericAjaxLongResponsePage ERXTaskPercentComplete and ERXTaskStatus
- Subject: Re: GenericAjaxLongResponsePage ERXTaskPercentComplete and ERXTaskStatus
- From: Mike Schrag <email@hidden>
- Date: Fri, 1 Oct 2010 17:35:37 -0400
yeah it doesn't care
ms
On Oct 1, 2010, at 5:33 PM, Kieran Kelleher wrote:
> I can't confirm it since I have never regressed or gone backwards in the progress bar! ..... the progress bar is Wonder's AjaxProgressBar with a subclass of Wonder's AjaxProgress attached to it, so you would need to check the source. Just quickly glancing at the source, I think it might, but no time to write a test case for that right now :-)
>
> Regards, Kieran
>
>
>
> On Oct 1, 2010, at 5:22 PM, Louis Demers wrote:
>
>>> Meanwhile, off the top of my head..........
>>>
>>> 1) In that GenericALR page, there is a conditional future.hasStatus that determines if status is displayed, which in turn calls ERXFutureTask.hasStatus which simply checks lazily if the task implements the interface ERXTaskStatus. That is checked once and cached. So add some logging there or a breakpoint to see what is going on. Also log the status on your task's status() method implementation to see the value and to ensure it is being called.
>>>
>>> 2) Task percent complete is simply a double value returned by your class' percentComplete() method. It is up to you to return the correct value, so log your calculations from your method to understand why you are returning more than 100.0.
>>
>> I'll checked that. But you confirm that if my percentComplete() method returns smaller values, the progress bar will be able to regress 8-) 8-)
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden