Please sign in to comment.
Fixed: Send upload form with even-update-area doesn't work
(OFBIZ-11207) When you create a xml form with upload as type, you can't use on-event-update-area element to submit it by ajax. Otherwise, OFBiz return an error message on 'uploadFile is empty. To solve it, we analyze the enctype's form before submit it to move on FormData instead a direct serialize  example form where the problem has been present **** <form name='AddNicelyFile' type='upload' target='CreateNicelyFile'> <field name='uploadedFile' title='File'><file/></field> <field name='addButton'><submit/></field> <on-event-update-area event-type='submit' area-id='window' area-target='FileDisplaying'/> </form> **** Thanks to Samuel Tregouet for this fix  https://developer.mozilla.org/en-US/docs/Web/API/FormData/Using_FormData_Objects git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867435 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information
Showing with 18 additions and 2 deletions.