[ 
https://issues.apache.org/jira/browse/SLING-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lars Trieloff updated SLING-478:
--------------------------------

    Attachment: formdata.tar.bz2

The attached file contains a Servlet Filter-based implementation of the XML 
Submission. It uses commons-fileupload for temporary storage of uploaded files, 
commons-codec for base64 decoding of attachments and saves the attachment map 
in a request attribute called "webforms2.0uploads".

The example.txt comes right from the specification and can be tested using the 
command

curl --header Content-Type:application/x-www-form+xml --data-binary 
@example.txt http://localhost:8080/formdata/


> Support Web Forms 2.0 application/x-www-form+xml XML Submission
> ---------------------------------------------------------------
>
>                 Key: SLING-478
>                 URL: https://issues.apache.org/jira/browse/SLING-478
>             Project: Sling
>          Issue Type: Improvement
>          Components: General
>            Reporter: Lars Trieloff
>         Attachments: formdata.tar.bz2
>
>
> Web Forms 2.0 is a proposed extension of the HTML Forms module and includes 
> an XML-based form data submission variant that allows for indexed fields and 
> attachments. It would be helpful to see this supported in Sling.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to