Re: Ajax error if refresh page. SOLVED
Re: Ajax error if refresh page. SOLVED
- Subject: Re: Ajax error if refresh page. SOLVED
- From: James Cicenia <email@hidden>
- Date: Thu, 21 Oct 2010 09:48:20 -0500
I had to put my pingUpdates at the end of the rendering in my html.
- j-
On Oct 20, 2010, at 9:01 PM, James Cicenia wrote:
>
> I can reload a page but then it pops dialogs up... seems like things are being loaded before others as the message
> pops up before the page has finished loading... actually three messages as I have three different update containers.
>
> I need a total refresh because the page after about 20mins consumes 99% browser cycles....
> I have three periodic refreshes plus three observe input fields on the page and the javascript is either leaking or such.
>
> So I figure a complete page refresh would clear everything up.
>
> - j-
>
>
> On Oct 20, 2010, at 6:38 PM, Chuck Hill wrote:
>
>> Reloading the page works for me. That refresh is not quite the same, but I don't think it will cause what you are seeing.
>>
>> Does this happen every time or just some times?
>>
>> Where do you see that error?
>>
>> Are you doing anything onLoad?
>>
>>
>> On Oct 20, 2010, at 4:26 PM, James Cicenia wrote:
>>
>>>
>>>
>>> Say reload page... or
>>>
>>> return "<meta http-equiv=\"refresh\" content=\"" + "60" + ";" + context().componentActionURL()+ "\">";
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Oct 20, 2010, at 4:36 PM, Chuck Hill wrote:
>>>
>>>> Well... how are you refreshing?
>>>>
>>>>
>>>> On Oct 20, 2010, at 2:35 PM, James Cicenia wrote:
>>>>
>>>>> How come I get something like this if I refresh a page:
>>>>>
>>>>> There is no element on this page with the id "mainAlertDisplayUpdateContainer".
>>>>>
>>>>> That is my update area and I need to refresh the whole page.
>>>>>
>>>>> Thanks
>>>>> James
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>> --
>>>> Chuck Hill Senior Consultant / VP Development
>>>>
>>>> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
>>>> http://www.global-village.net/products/practical_webobjects
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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
>>
>> --
>> Chuck Hill Senior Consultant / VP Development
>>
>> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
>> http://www.global-village.net/products/practical_webobjects
>>
>>
>>
>>
>>
>>
>>
>
_______________________________________________
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