The attachment component in the builder seem to work if the attachment
is REQUIRED. But if I click the radio button to make the filling of the attachment widget OPTIONAL, it seems to want to encode the file binary directly in XML rather than putting it in persistence and using the URL (as it currently does when the attachment widget is REQUIRED ) In executing a form with an optional attachment widget, I get the following in the orbeon.log file: 2009-07-22 11:37:03,635 INFO ProcessorService - /xforms-server - Received request 2009-07-22 11:37:03,701 ERROR XFormsServer - XForms - submission - xforms-submit-error throwable: org.orbeon.oxf.xforms.XFormsModelSubmission$XFormsSubmissionException: line 24 of oxf:/config/xforms-widgets.xsl (serializing instance): xforms:submission: binary serialization without a type is not yet implemented. oxf:/config/xforms-widgets.xsl, line 24, column -1: xforms:submission: binary serialization without a type is not yet implemented. at org .orbeon .oxf .xforms .XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java: 600) at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java: 897) at org .orbeon .oxf .xforms .XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java: 999) at org .orbeon .oxf .xforms.action.actions.XFormsSendAction.execute(XFormsSendAction.java: 61) at org .orbeon .oxf .xforms .action .XFormsActionInterpreter .runSingleIteration(XFormsActionInterpreter.java:286) at org .orbeon .oxf .xforms .action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java: 246) at org .orbeon .oxf .xforms .action.actions.XFormsActionAction.execute(XFormsActionAction.java:62) at org .orbeon .oxf .xforms .action .XFormsActionInterpreter .runSingleIteration(XFormsActionInterpreter.java:286) at org .orbeon .oxf .xforms .action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java: 246) at org .orbeon .oxf .xforms .action.actions.XFormsActionAction.execute(XFormsActionAction.java:62) at org .orbeon .oxf .xforms .action .XFormsActionInterpreter .runSingleIteration(XFormsActionInterpreter.java:286) at org .orbeon .oxf .xforms .action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java: 231) at org .orbeon .oxf .xforms .action.actions.XFormsActionAction.execute(XFormsActionAction.java:62) at org .orbeon .oxf .xforms .action .XFormsActionInterpreter .runSingleIteration(XFormsActionInterpreter.java:286) at org .orbeon .oxf .xforms .action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java: 246) at org .orbeon .oxf .xforms .action.actions.XFormsActionAction.execute(XFormsActionAction.java:62) at org .orbeon .oxf .xforms .action .XFormsActionInterpreter .runSingleIteration(XFormsActionInterpreter.java:286) at org .orbeon .oxf .xforms .action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java: 231) at org .orbeon .oxf .xforms .action.actions.XFormsActionAction.execute(XFormsActionAction.java:62) at org .orbeon .oxf .xforms .action .XFormsActionInterpreter .runSingleIteration(XFormsActionInterpreter.java:286) at org .orbeon .oxf .xforms .action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java: 246) at org .orbeon .oxf .xforms .action.actions.XFormsActionAction.execute(XFormsActionAction.java:62) at org .orbeon .oxf .xforms .action .XFormsActionInterpreter .runSingleIteration(XFormsActionInterpreter.java:286) at org .orbeon .oxf .xforms .action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java: 246) at org .orbeon .oxf .xforms .action.actions.XFormsActionAction.execute(XFormsActionAction.java:62) at org .orbeon .oxf .xforms .action .XFormsActionInterpreter .runSingleIteration(XFormsActionInterpreter.java:286) at org .orbeon .oxf .xforms .action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java: 246) at org .orbeon .oxf .xforms .event.XFormsEventHandlerImpl.handleEvent(XFormsEventHandlerImpl.java: 153) at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java: 878) at org .orbeon .oxf .xforms .XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java: 999) at org .orbeon .oxf .xforms .action.actions.XFormsDispatchAction.execute(XFormsDispatchAction.java: 102) at org .orbeon .oxf .xforms .action .XFormsActionInterpreter .runSingleIteration(XFormsActionInterpreter.java:286) at org .orbeon .oxf .xforms .action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java: 246) at org .orbeon .oxf .xforms .action.actions.XFormsActionAction.execute(XFormsActionAction.java:62) at org .orbeon .oxf .xforms .action .XFormsActionInterpreter .runSingleIteration(XFormsActionInterpreter.java:286) at org .orbeon .oxf .xforms .action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java: 246) at org .orbeon .oxf .xforms .event.XFormsEventHandlerImpl.handleEvent(XFormsEventHandlerImpl.java: 153) at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java: 878) at org .orbeon .oxf .xforms .XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java: 1001) at org .orbeon .oxf .xforms .XFormsContainingDocument .executeExternalEvent(XFormsContainingDocument.java:983) at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:393) at org.orbeon.oxf.xforms.processor.XFormsServer.access $000(XFormsServer.java:57) at org.orbeon.oxf.xforms.processor.XFormsServer $1.readImpl(XFormsServer.java:83) at org.orbeon.oxf.processor.ProcessorImpl $6.read(ProcessorImpl.java:995) at org.orbeon.oxf.processor.ProcessorImpl $ProcessorOutputImpl.read(ProcessorImpl.java:1178) at org .orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java: 350) at org.orbeon.oxf.processor.pipeline.TeeProcessor.access $000(TeeProcessor.java:36) at org.orbeon.oxf.processor.pipeline.TeeProcessor $1.readImpl(TeeProcessor.java:59) at org.orbeon.oxf.processor.ProcessorImpl $6.read(ProcessorImpl.java:995) at org.orbeon.oxf.processor.ProcessorImpl $ProcessorOutputImpl.read(ProcessorImpl.java:1178) at org .orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java: 350) at org .orbeon .oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:377) at org.orbeon.oxf.processor.ProcessorImpl $4.read(ProcessorImpl.java:410) at org .orbeon .oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java: 453) at org .orbeon .oxf .processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java: 408) at org .orbeon .oxf .processor .pipeline .choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189) at org.orbeon.oxf.processor.pipeline.PipelineProcessor $11.run(PipelineProcessor.java:644) at org .orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java: 519) at org .orbeon .oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java: 641) at org .orbeon .oxf .processor .pipeline .choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:242) at org.orbeon.oxf.processor.pipeline.PipelineProcessor $11.run(PipelineProcessor.java:644) at org .orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java: 519) at org .orbeon .oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java: 641) at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:92) at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96) at org .orbeon .oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java: 138) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) .... -- 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 |
Free forum by Nabble | Edit this page |