myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <>
Subject [jira] [Commented] (MYFACES-4004) Non-jsf-attribute enctype of passthrough form generates faces message
Date Mon, 14 Sep 2015 17:50:46 GMT


Leonardo Uribe commented on MYFACES-4004:

The reason why this happens is the message is added on render response time, so h:messages
could be rendered before the message is added. There is nothing we can do in this case, because
any solution include create a buffer for the response and alter the behavior of h:messages
in a way beyond the descriptions on the spec, so I'll close this one as won't fix.

> Non-jsf-attribute enctype of passthrough form generates faces message
> ---------------------------------------------------------------------
>                 Key: MYFACES-4004
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.2.8
>         Environment: TomEE 1.7.1, Linux
>            Reporter: Christian Kalkhoff
>            Priority: Minor
> I created a html5 form with jsf:action which makes it a <h:form>. I added the attribute
enctype to support file uploads which works fine then. 
> On submitting the form (using AJAX) I get the message:
> {code}
> These unhandled FacesMessages are: 
> - file upload requires a form with enctype equal to multipart/form-data
> {code}
> If i add jsf: to enctype (jsf:enctype) the message disappears.
> The message does not show up in my h:messages lists.

This message was sent by Atlassian JIRA

View raw message