[
https://issues.apache.org/jira/browse/OFBIZ-4483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17287621#comment-17287621 ]
Jacques Le Roux commented on OFBIZ-4483:
----------------------------------------
Hi Nicolas, what is the status here?
> Upload content file with upload form and on-event-update-area element
> ---------------------------------------------------------------------
>
> Key: OFBIZ-4483
> URL:
https://issues.apache.org/jira/browse/OFBIZ-4483> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Trunk
> Reporter: Nicolas Malin
> Assignee: Nicolas Malin
> Priority: Minor
> Attachments: OFBIZ-4483.patch, OFBIZ-4483.patch, OFBIZ-4483.png
>
>
> At this time, if you have :
> {quote}
> <form target="uploadXXXContent" type="upload">
> <field name="uploadedFile"><file/></field>
> <on-event-update-area area-target="XXX" event-type="submit" area-id="XXX"/>
> </form>
> {quote}
> The called service have an empty uploadFile.
> The problem came from ajaxSubmitUpdateAreas that doesn't compliant with "multi-part"
> To solve it, I added a new jquery plugin : JQuery.upload, create a new javascript function ajaxUploadUpdateAreas and synchronize MacroRenderer.
> I also add an exemple on myportal with view profile (see image).
> The upload plugin have a problem with return type : application/x-json, I extend json controller to return a text/html (
http://lagoscript.org/jquery/upload/documentation)
> I analyse sascha jira : OFBIZ-3878. I think it's possible to mixte both issue to have a progressbar when the form is on upload type with js submit, I need more analyse to set good id on js progressbar function.
> Nicolas
--
This message was sent by Atlassian Jira
(v8.3.4#803005)