Andy,

Yes, I am having the exact same problem. When a form is in a Ajax UI element 
(like cflayout and cfdiv) it is submitted asynchronous. The encoding type is 
set to application/x-www-form-urlencoded and it needs to be 
multipart/form-data. According to Ray Camden there is no way around this and it 
is not possible to use cffile to upload a file asynchronous.

I have had some suggestions to use a JavaScript or a flash based upload but I 
have not had a chance to try anything.

I think that if you try to use <cfwindow> you will have the same problem 
because it is still part of the page and will submit asynchronous.

I think it is kind of crazy to think that with CF8 we have these new tags to 
help with UI development (like cflayout and cfdiv) but you cannot upload a file 
when using them. I understand that it is because it is asynchronous, but I 
think there should be some way to do it.

Who knows.

-Steve


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287475
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to