Regarding ajax submission in ops 3.7 beta1

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Regarding ajax submission in ops 3.7 beta1

Laxmi Narayana-3
Hi All,
 
 We are using AJAX submission in ops3.7 Beta . On submission it is storing data into DB as well as it retrive data from DB.
while sending data from model.xpl to view . It is giving error on console Like this:

11:59:34,811 ERROR XFormsSubmitErrorEvent: XForms - submission - xforms-submit-error throwable: org.orbeon.oxf.xfor
ms.XFormsModelSubmission$XFormsSubmissionException: line 27 of oxf:/config/xforms-widgets.xsl (processing instance
replacement): Body received with non-XML media type for replace="instance": text/html
oxf:/config/xforms-widgets.xsl, line 27, column -1: Body received with non-XML media type for replace="instance": t
ext/html
My mint application attached as zip.
 
Please give me some suggestions on this app.
 

--
Thanks in advance,
Laxmi Narayana.



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

mint.zip (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Regarding ajax submission in ops 3.7 beta1

Ryan Puddephatt-3

Laxmi,

                I assume your using Exist? You’ll need to explicitly set the media type being returned by the query, as Exist assumes the type to be text/html when the output is HTML/XHTML

 

Ryan

 

-----------------------------------------------

Ryan Puddephatt

Connectivity Developer

Fidessa LatentZero

1 Old Jewry

London EC2R 8DN

Office: +44 (0) 20 7105 1000

Direct: +44 (0) 20 7105 1812

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7105 1818

Email: [hidden email]

Web: http://www.latentzero.com

 

From: Laxmi Narayana [mailto:[hidden email]]
Sent: 18 December 2008 12:09
To: [hidden email]
Subject: [ops-users] Regarding ajax submission in ops 3.7 beta1

 

Hi All,

 

 We are using AJAX submission in ops3.7 Beta . On submission it is storing data into DB as well as it retrive data from DB.

while sending data from model.xpl to view . It is giving error on console Like this:


11:59:34,811 ERROR XFormsSubmitErrorEvent: XForms - submission - xforms-submit-error throwable: org.orbeon.oxf.xfor
ms.XFormsModelSubmission$XFormsSubmissionException: line 27 of oxf:/config/xforms-widgets.xsl (processing instance
replacement): Body received with non-XML media type for replace="instance": text/html
oxf:/config/xforms-widgets.xsl, line 27, column -1: Body received with non-XML media type for replace="instance": t
ext/html

My mint application attached as zip.

 

Please give me some suggestions on this app.

 


--
Thanks in advance,
Laxmi Narayana.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com


--
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
Reply | Threaded
Open this post in threaded view
|

Re: RE: Regarding ajax submission in ops 3.7 beta1

Laxmi Narayana-3
Thank Ryan,
 
Could you please check my xpl?
 
Actually this is very new worktype for me, So I don't realize how to set mediatype as text/xml from model.
 
Could you please help me for the same.
 
Thanks Again,
Laxmi.

On Thu, Dec 18, 2008 at 5:55 PM, Ryan Puddephatt <[hidden email]> wrote:

Laxmi,

                I assume your using Exist? You'll need to explicitly set the media type being returned by the query, as Exist assumes the type to be text/html when the output is HTML/XHTML

 

Ryan

 

-----------------------------------------------

Ryan Puddephatt

Connectivity Developer

Fidessa LatentZero

1 Old Jewry

London EC2R 8DN

Office: +44 (0) 20 7105 1000

Direct: +44 (0) 20 7105 1812

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7105 1818

Email: [hidden email]

Web: http://www.latentzero.com

 

From: Laxmi Narayana [mailto:[hidden email]]
Sent: 18 December 2008 12:09
To: [hidden email]
Subject: [ops-users] Regarding ajax submission in ops 3.7 beta1

 

Hi All,

 

 We are using AJAX submission in ops3.7 Beta . On submission it is storing data into DB as well as it retrive data from DB.

while sending data from model.xpl to view . It is giving error on console Like this:


11:59:34,811 ERROR XFormsSubmitErrorEvent: XForms - submission - xforms-submit-error throwable: org.orbeon.oxf.xfor
ms.XFormsModelSubmission$XFormsSubmissionException: line 27 of oxf:/config/xforms-widgets.xsl (processing instance
replacement): Body received with non-XML media type for replace="instance": text/html
oxf:/config/xforms-widgets.xsl, line 27, column -1: Body received with non-XML media type for replace="instance": t
ext/html

My mint application attached as zip.

 

Please give me some suggestions on this app.

 


--
Thanks in advance,
Laxmi Narayana.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com


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




--
Please help me,  I am new in XForms, It is urgent in my project!
Thanks in advance,
Laxmi Narayana.



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