[richfaces-issues] [JBoss JIRA] Resolved: (RF-8345) <a4j:form ../> does not take enctype
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Mon Feb 15 10:14:10 EST 2010
[ https://jira.jboss.org/jira/browse/RF-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Belaevski resolved RF-8345.
--------------------------------
Resolution: Cannot Reproduce Bug
Assignee: Nick Belaevski
> <a4j:form ../> does not take enctype
> ------------------------------------
>
> Key: RF-8345
> URL: https://jira.jboss.org/jira/browse/RF-8345
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 3.3.2.GA
> Environment: OS: Ubuntu Karmic Koala 9.10
> AS: JBoss 4.2.3-GA
> Seam: 2.2.0
> JSF: 1.2
> Browser: Firefox 3.5.7
> Reporter: Jochen H
> Assignee: Nick Belaevski
> Priority: Minor
>
> Imagine you have the following piece of code:
> {code}
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:s="http://jboss.com/products/seam/taglib"
> xmlns:rich="http://richfaces.org/rich"
> xmlns:a4j="http://richfaces.org/a4j"
> xmlns:c="http://java.sun.com/jsp/jstl/core">
> <body>
> <a4j:form enctype="multipart/form-data">
> <rich:fileUpload />
> </a4j:form>
> </body>
> </html>
> {code}
> This will generated the following HTML code:
> {code}
> ...
> <body><form id="j_id2" name="j_id2" method="post" enctype="multipart/form-data" action="/erm/test.seam">
> ....
> </form>
> </body
> {code}
> But when I do an upload, the content type of my HTTP request is looking like this:
> {code}
> Content-Type application/x-www-form-urlencoded; charset=UTF-8
> {code}
> Any idea's why it doesn't take the multipart enctype?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list