Hi,
At this time, uploading file with widget form with type="upload" and the element <on-event-update-area event-type="submit" > doesn't work. The service attachUploadToDataResource failed with an empty file received. I found a solution with jquery.upload (http://lagoscript.org/jquery/upload/) and extend the javascript function ajaxSubmitFormUpdateAreas by a new ajaxUploadFormUpdateAreas for only upload type form. Any body find or look a better solution ? Nicolas -- Nicolas MALIN Consultant Tél : 06.17.66.40.06 Site projet : http://www.neogia.org/ ------- Société LibrenBerry Tél : 02.48.02.56.12 Site : http://www.librenberry.net/ |
Administrator
|
HI Nicolas,
Did you pick this plugin by chance between http://plugins.jquery.com/plugin-tags/upload, or did you test them, or? Jacques From: "Nicolas Malin" <[hidden email]> > Hi, > > At this time, uploading file with widget form with type="upload" and the element <on-event-update-area event-type="submit" > > doesn't work. The service attachUploadToDataResource failed with an empty file received. > > I found a solution with jquery.upload (http://lagoscript.org/jquery/upload/) and extend the javascript function > ajaxSubmitFormUpdateAreas by a new ajaxUploadFormUpdateAreas for only upload type form. > > Any body find or look a better solution ? > > Nicolas > > -- > Nicolas MALIN > Consultant > Tél : 06.17.66.40.06 > Site projet : http://www.neogia.org/ > ------- > Société LibrenBerry > Tél : 02.48.02.56.12 > Site : http://www.librenberry.net/ > |
Administrator
|
In reply to this post by Malin Nicolas
Also slightly related, you might be interested by https://issues.apache.org/jira/browse/OFBIZ-3878 (I mean the progress bar file
upload with jQuery) Jacques Jacques Le Roux wrote: > HI Nicolas, > > Did you pick this plugin by chance between http://plugins.jquery.com/plugin-tags/upload, or did you test them, or? > > Jacques > > From: "Nicolas Malin" <[hidden email]> >> Hi, >> >> At this time, uploading file with widget form with type="upload" and the element <on-event-update-area event-type="submit" > >> doesn't work. The service attachUploadToDataResource failed with an empty file received. >> >> I found a solution with jquery.upload (http://lagoscript.org/jquery/upload/) and extend the javascript function >> ajaxSubmitFormUpdateAreas by a new ajaxUploadFormUpdateAreas for only upload type form. >> >> Any body find or look a better solution ? >> >> Nicolas >> >> -- >> Nicolas MALIN >> Consultant >> Tél : 06.17.66.40.06 >> Site projet : http://www.neogia.org/ >> ------- >> Société LibrenBerry >> Tél : 02.48.02.56.12 >> Site : http://www.librenberry.net/ |
In reply to this post by Jacques Le Roux
Right jacques. I found this plugin on your link and a select the easier
to use. I implement on it on my local workspace, with little change on widget renderer Nicolas Le 13/10/2011 16:54, Jacques Le Roux a écrit : > HI Nicolas, > > Did you pick this plugin by chance between > http://plugins.jquery.com/plugin-tags/upload, or did you test them, or? > > Jacques > > From: "Nicolas Malin" <[hidden email]> >> Hi, >> >> At this time, uploading file with widget form with type="upload" and >> the element <on-event-update-area event-type="submit" > doesn't work. >> The service attachUploadToDataResource failed with an empty file >> received. >> >> I found a solution with jquery.upload >> (http://lagoscript.org/jquery/upload/) and extend the javascript >> function >> ajaxSubmitFormUpdateAreas by a new ajaxUploadFormUpdateAreas for only >> upload type form. >> >> Any body find or look a better solution ? >> >> Nicolas >> >> -- >> Nicolas MALIN >> Consultant >> Tél : 06.17.66.40.06 >> Site projet : http://www.neogia.org/ >> ------- >> Société LibrenBerry >> Tél : 02.48.02.56.12 >> Site : http://www.librenberry.net/ >> -- Nicolas MALIN Consultant Tél : 06.17.66.40.06 Site projet : http://www.neogia.org/ ------- Société LibrenBerry Tél : 02.48.02.56.12 Site : http://www.librenberry.net/ |
Administrator
|
Then I 'd say... go for it ;o)
Jacques Nicolas Malin wrote: > Right jacques. I found this plugin on your link and a select the easier > to use. > I implement on it on my local workspace, with little change on widget > renderer > > Nicolas > > Le 13/10/2011 16:54, Jacques Le Roux a écrit : >> HI Nicolas, >> >> Did you pick this plugin by chance between >> http://plugins.jquery.com/plugin-tags/upload, or did you test them, or? >> >> Jacques >> >> From: "Nicolas Malin" <[hidden email]> >>> Hi, >>> >>> At this time, uploading file with widget form with type="upload" and >>> the element <on-event-update-area event-type="submit" > doesn't work. >>> The service attachUploadToDataResource failed with an empty file >>> received. >>> >>> I found a solution with jquery.upload >>> (http://lagoscript.org/jquery/upload/) and extend the javascript >>> function >>> ajaxSubmitFormUpdateAreas by a new ajaxUploadFormUpdateAreas for only >>> upload type form. >>> >>> Any body find or look a better solution ? >>> >>> Nicolas >>> >>> -- >>> Nicolas MALIN >>> Consultant >>> Tél : 06.17.66.40.06 >>> Site projet : http://www.neogia.org/ >>> ------- >>> Société LibrenBerry >>> Tél : 02.48.02.56.12 >>> Site : http://www.librenberry.net/ |
Free forum by Nabble | Edit this page |