method="form-data-post"

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

method="form-data-post"

Dromela
Hi all,

I have a submission with the method="form-data-post", but I have read this message of Erik :

http://www.nabble.com/POST-parameter-name-for-the-XForm-itself-to14441980.html#a14447908

and it´s says that XForms also supports method="form-data-post" but it´s doesn't implement that yet. It´s possible to do something like this :

method="post" serialization="multipart/form-data"

I need this serialization "multipart/form-data" and it´s impossible to implement another one. Any Idea? Thanks !!
Reply | Threaded
Open this post in threaded view
|

Re: method="form-data-post"

Erik Bruchez
Administrator
It's not implemented yet.

In XFormsModelSubmission.java, check the line with:

   "if (requestedSerialization.equals("multipart/related"))"

You will see a big "TODO" there. It's just a matter of filling-in that  
blank ;-)

-Erik

On Jul 29, 2008, at 11:00 AM, Dromela wrote:

>
> Hi all,
>
> I have a submission with the method="form-data-post", but I have  
> read this
> message of Erik :
>
> http://www.nabble.com/POST-parameter-name-for-the-XForm-itself-to14441980.html#a14447908
>
> and it´s says that XForms also supports method="form-data-post" but  
> it´s
> doesn't implement that yet. It´s possible to do something like this :
>
> method="post" serialization="multipart/form-data"
>
> I need this serialization "multipart/form-data" and it´s impossible to
> implement another one. Any Idea? Thanks !!
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.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