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 protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>> 
>> This email sent to [email protected]
> 
> -- 
> 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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to