Hi,
I use the upload control to upload small xml files (~10KB) but the progress bar doesn't work properly, it's always stuck at about 15% or so. Does anybody have a solution for this? These are the instances: <xforms:instance id="upload"> <content xsi:type="xs:base64Binary" mediatype="" filename="" size=""/> </xforms:instance> <xforms:instance id="uploadXML"> <dummy/> </xforms:instance> and this is the upload control: <xforms:upload ref="instance('upload')"> <xforms:filename ref="@filename"/> <xforms:mediatype ref="@mediatype"/> <xxforms:size ref="@size"/> <xforms:action ev:event="xxforms-upload-done"> <xforms:insert nodeset="instance('uploadXML')" origin="saxon:parse(saxon:base64Binary-to-string(xs:base64Binary(instance('upload')), 'UTF-8'))"/> <xforms:send submission="upload2exist-submission"/> <xforms:send submission="get-patient-list-submission"/> </xforms:action> </xforms:upload> Kind regards, Gerrit -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Gerritt,
Which version of Orbeon Forms? Does the upload complete? Can you send a complete form showing this? -Erik On Fri, Mar 16, 2012 at 3:22 AM, Gerrit Boers <[hidden email]> wrote: > Hi, > > I use the upload control to upload small xml files (~10KB) but the progress > bar doesn't work properly, it's always stuck at about 15% or so. Does > anybody have a solution for this? > > These are the instances: > <xforms:instance id="upload"> > <content xsi:type="xs:base64Binary" mediatype="" filename="" > size=""/> > </xforms:instance> > <xforms:instance id="uploadXML"> > <dummy/> > </xforms:instance> > > and this is the upload control: > <xforms:upload ref="instance('upload')"> > <xforms:filename ref="@filename"/> > <xforms:mediatype ref="@mediatype"/> > <xxforms:size ref="@size"/> > <xforms:action ev:event="xxforms-upload-done"> > <xforms:insert nodeset="instance('uploadXML')" > origin="saxon:parse(saxon:base64Binary-to-string(xs:base64Binary(instance('upload')), > 'UTF-8'))"/> > <xforms:send submission="upload2exist-submission"/> > <xforms:send submission="get-patient-list-submission"/> > </xforms:action> > </xforms:upload> > > Kind regards, > > Gerrit > > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi Erik,
Version 3.9.0 Yes the upload completes just fine. Here's a screenshot of the relevant part of the screen: And the zipped xform: Kind regards, Gerrit On Mar 16, 2012, at 11:48 PM, Erik Bruchez wrote: > Gerritt, > > Which version of Orbeon Forms? > > Does the upload complete? > > Can you send a complete form showing this? > > -Erik > > On Fri, Mar 16, 2012 at 3:22 AM, Gerrit Boers <[hidden email]> wrote: >> Hi, >> >> I use the upload control to upload small xml files (~10KB) but the progress >> bar doesn't work properly, it's always stuck at about 15% or so. Does >> anybody have a solution for this? >> >> These are the instances: >> <xforms:instance id="upload"> >> <content xsi:type="xs:base64Binary" mediatype="" filename="" >> size=""/> >> </xforms:instance> >> <xforms:instance id="uploadXML"> >> <dummy/> >> </xforms:instance> >> >> and this is the upload control: >> <xforms:upload ref="instance('upload')"> >> <xforms:filename ref="@filename"/> >> <xforms:mediatype ref="@mediatype"/> >> <xxforms:size ref="@size"/> >> <xforms:action ev:event="xxforms-upload-done"> >> <xforms:insert nodeset="instance('uploadXML')" >> origin="saxon:parse(saxon:base64Binary-to-string(xs:base64Binary(instance('upload')), >> 'UTF-8'))"/> >> <xforms:send submission="upload2exist-submission"/> >> <xforms:send submission="get-patient-list-submission"/> >> </xforms:action> >> </xforms:upload> >> >> Kind regards, >> >> Gerrit >> >> >> >> -- >> You receive this message as a subscriber of the [hidden email] mailing >> list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws >> > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws Screen shot 2012-03-17 at 12.58.49 PM.png (16K) Download Attachment message-validation.xhtml.zip (4K) Download Attachment |
Free forum by Nabble | Edit this page |