Re: Another… What ate my Javascript in my AMD?
Re: Another… What ate my Javascript in my AMD?
- Subject: Re: Another… What ate my Javascript in my AMD?
- From: Pascal Robert <email@hidden>
- Date: Thu, 05 Apr 2012 13:26:02 -0400
I see the JS request in the resource with the WebKit inspector, but after the first refresh (which makes a Ajax request), it's gone.
But I think I'm lost in the whole context. I tried with ERXLongResponse and the dialog still show up even if I called the method to close it before returning the long response page, and the nextPage method for ERXLongResponse is never called even if the job is done.
> Erased or not loaded? Most Ajax components insert a script tag in the head of the page when they first render. But components inside and AMD that is not open when the page first renders do no have a chance to do this. You could manually add what you need on the page. Or use AjaxOnDemand to load it from the AMD when it opens (will reload each time it opens depending on how you do that).
>
> Chuck
>
>
> On 2012-04-05, at 7:30 AM, Pascal Robert wrote:
>
>>
>> Le 2012-04-05 à 10:25, James Cicenia a écrit :
>>
>>> Hello -
>>>
>>> Why is my javascript in my AMD being automagically erased?
>>
>> I'm having the same problem, the peformActionName JavaScript code from CCAjaxLongResponsePage is erased because I'm loading it from a AMD.
>> _______________________________________________
>> 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/gvc/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