Re: [Xsltforms-support] Detecting successful upload of a binary file...
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2012-06-24 20:51:55
|
Hello Philip, xf:upload is now supported in the trunk build (there is still a problem with IE because the user cannot know whether the upload has been executed correctly, the name of the selected file being not displayed...). Is it possible for you to give it a try? Thank you for your feedbacks! -Alain Le 22/06/2012 17:50, Philip Fennell a écrit : > Hello, > I'm currently using the hybrid XForms/HTML Forms work-around that > allow you to mimic xf:upload with XSLTForms. > In order to prevent the form from being reloaded after a successful > response from the server I'm sending an HTTP 204 (No Content) response > which the browser happily leaves the current page alone. > However, what I'd like to do is have something similar to the > xforms-submit-done event so that I can display a successful response > message. I'm not sure what would be the right approach in this case > because the HTML Form submission, although triggered by XForms, is > then outside the scope of XForms. > Does anyone have any suggestions. > Regards > Philip > Philip Fennell > Consultant > MarkLogic Corporation > Phi...@ma... > Phone: +44 (0) 203 402 3619 > Mobile: +44 (0) 7824 830 866 > _www.marklogic.com_ <http://www.marklogic.com/> > This e-mail and any accompanying attachments are confidential. The > information is intended solely for the use of the individual to whom > it is addressed. Any review, disclosure, copying, distribution, or use > of this e-mail communication by others is strictly prohibited. If you > are not the intended recipient, please notify us immediately by > returning this message to the sender and delete all copies. Thank you > for your cooperation. > |