I'm afraid I can offer nothing more. Glad we ruled out the one issue. 

I'll say (just personal opinion, no offense intended) that that seems a
fairly esoteric combination things you're trying, so I won't be surprised if
few can help. 

If you don't get an answer here, I'd recommend the CF forums at Adobe
(http://forums.adobe.com/community/coldfusion). There's none on Ajax, per
se, but there is one on "rich forms" that has had Ajax discussions:
http://forums.adobe.com/community/coldfusion/coldfusion_forms, or even this
one on "flash integrations":
http://forums.adobe.com/community/coldfusion/coldfusion_flash_integration.

Hope that's helpful.

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Steve Onnis
Sent: Thursday, February 03, 2011 6:23 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] CFFILEUPLOAD in an Ajax call

 

Ok

 

I am calling a page via ajax and injecting the returned HTML into a div.

 

The request response contains all of the required scripts and there is a div
there which looks like <div id="cf_fileUpload12345678"></div> but there is
nothing inside it

 

If i call the page on its own the fileupload component displays fine. It is
only when it is called via ajax that it does not load, so the issue is not
with the script paths or whatever.

 

There is some javascript that has  a function in it to create the upload
component and embed it into the page and there is another function that
looks like ColdFusion.Event.registerOnLoad(_cf_fileupload12345687) that i am
guessing registers the function that is used to embed the flash to run when
the page has loaded....but when using ajax there is no "onLoad" method for
the window so it never gets run.  This is where the issue lies.

 

I need a way to fire the onload event but i don't want to do it for the
window event because i have other things running there that i don't want to
run again so i just need to be able to run the ColdFusion.Event ones.

 

I am right here?

 

Steve

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to