Hi,
Can someone tell me how to change the encoding of a submission in xforms. I've tried encoding="application/xml", encoding=" application/x-www-form-urlencoded"
on the xforms:submission tag, but no joy (I believe the latter is
deprecated but worth a try)
Is this possible and if so what are the correct values? I don't
want to use the standard multipart/post encoding type.
-- Colin Seaman Senior Developer Tradocs Ltd, Tower Point, 44 North Road, Brighton, BN1 1YR email: [hidden email] skype: colin,seaman telephone: 0870-1417031 website: http://www.tradocs.net This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please contact Tradocs. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. This content of this email is without prejudice. -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Colin,
I've got good
new for you on all fronts:
-
application/x-www-form-urlencoded isn't deprecated; it's what you use when you do an HTTP GET.
- In XForms 1.0,
there's not much direct control over the encoding; Orbeon may have some
extensions, and there is more in XForms 1.1. But read
on:
- In XForms 1.0 you
can easily get application/xml, and in fact that is what you should get with the
following submission:
<submission
id="doit" action="/cgi-bin/echo.cgi" method="post" />
You should get the
entire instance sent as Content-type: application/xml by doing
this.
I must
admit I'm new to using Orbeon, and can't vouch for its exact behavior
(yet), but I have the advantage of having written the submission chapter of the
XForms 1.0 recommendation...
Leigh.
From: Colin Seaman [mailto:[hidden email]] Sent: Friday, January 12, 2007 2:17 PM To: [hidden email] Subject: [ops-users] submission encoding Can someone tell me how to change the encoding of a submission in xforms. I've tried encoding="application/xml", encoding=" application/x-www-form-urlencoded" on the xforms:submission tag,
but no joy (I believe the latter is deprecated but worth a
try)
Is this possible and if so what are the
correct values? I don't want to use the standard multipart/post encoding
type.
-- Colin Seaman Senior Developer Tradocs Ltd, Tower Point, 44 North Road, Brighton, BN1 1YR email: [hidden email] skype: colin,seaman telephone: 0870-1417031 website: http://www.tradocs.net This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please contact Tradocs. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. This content of this email is without prejudice. -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |