• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: GenericAjaxLongResponsePage ERXTaskPercentComplete and ERXTaskStatus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >GenericAjaxLongResponsePage ERXTaskPercentComplete and ERXTaskStatus (From: Louis Demers <email@hidden>)
 >Re: GenericAjaxLongResponsePage ERXTaskPercentComplete and ERXTaskStatus (From: Kieran Kelleher <email@hidden>)
 >Re: GenericAjaxLongResponsePage ERXTaskPercentComplete and ERXTaskStatus (From: Louis Demers <email@hidden>)
 >Re: GenericAjaxLongResponsePage ERXTaskPercentComplete and ERXTaskStatus (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: GenericAjaxLongResponsePage ERXTaskPercentComplete and ERXTaskStatus
  • Next by Date: Re: Patched MySQL plugin
  • Previous by thread: Re: GenericAjaxLongResponsePage ERXTaskPercentComplete and ERXTaskStatus
  • Next by thread: Re: BugTracker on Derby
  • Index(es):
    • Date
    • Thread