Re:Problem facing with replace='instance" in orbeon

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re:Problem facing with replace='instance" in orbeon

Reddy, Gopikrishna

Hi ,

Can u please help me out this as iam im trying this from long time iam getting the following error mentioned below

 

Iam getting the following error

 

05:23:18,293 ERROR XFormsSubmitErrorEvent: XForms - submission - xforms-submit-error throwable: org.
orbeon.oxf.common.OXFException: Body received with non-XML media type for replace="instance": text/h
tml
        at org.orbeon.oxf.xforms.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.ja
va:758)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.jav
a:920)
        at org.orbeon.oxf.xforms.action.actions.XFormsSendAction.execute(XFormsSendAction.java:45)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.ja
va:116)
        at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:3
2)

 

 

Here is my code

 <xforms:submission id="onchange-submission" method="post" action="/usertasklist/edit" replace="instance" xxforms:instance="instance('edit-request-instance')" />

 

As u said in previous mail to do this

Hi,

                What are you expecting the response data to be? The error is telling you it is not valid XML, its text/html (which doesn’t need to be well-formed) try returning text/xhtml or text/xml

 

Ryan

Can u please tell me how can I do this

Iam sending as attachment my xhtml also please suggest.

 

 

 

 

 

 

 

Thanks and Regards,

K Gopikrishna Reddy

This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its 
contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately 
by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.



--
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

Example.ZIP (3K) Download Attachment