[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1360) s:fileupload not working

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Sun Jun 3 19:48:08 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1360?page=all ]

Shane Bryzak closed JBSEAM-1360.
--------------------------------

    Resolution: Rejected

Ok I finally got the example app working after some fiddling around.  The reason why the file upload isn't working is because the encoding type for the form is set to application/x-www-form-urlencoded, not multipart/form-data.  I don't know why it is set to this because from what I can see from your source code, the enctype is set correctly.  Anyway, this is not a problem with the FileUpload control so I'm closing this issue.

> s:fileupload not working
> ------------------------
>
>                 Key: JBSEAM-1360
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1360
>             Project: JBoss Seam
>          Issue Type: Bug
>    Affects Versions: 1.2.1.GA
>         Environment: Windows XP, JBoss-4-0.5.GA
>            Reporter: Feivel Frey
>         Assigned To: Shane Bryzak
>         Attachments: fileupload_exploded.zip, uploadTest_exploded2.zip, uploadTest_exploded3.zip
>
>
> <s:fileUpload id="fileupload" data="#{specialreleaseeditor.file}" accept="*/*" fileName="#{specialreleaseeditor.fileName}" contentType="#{specialreleaseeditor.fileContentType}"/>
> getter and setter for file, filename and fileContentType not called, only I comment s:fileupload.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list