Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 853BF17740 for ; Wed, 16 Sep 2015 07:36:46 +0000 (UTC) Received: (qmail 9622 invoked by uid 500); 16 Sep 2015 07:36:46 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 9575 invoked by uid 500); 16 Sep 2015 07:36:46 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 9538 invoked by uid 99); 16 Sep 2015 07:36:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2015 07:36:45 +0000 Date: Wed, 16 Sep 2015 07:36:45 +0000 (UTC) From: "Christian Kalkhoff (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (MYFACES-4004) Non-jsf-attribute enctype of passthrough form generates faces message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MYFACES-4004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14747091#comment-14747091 ] Christian Kalkhoff edited comment on MYFACES-4004 at 9/16/15 7:35 AM: ---------------------------------------------------------------------- [~lu4242] I think you misunderstood my report (or i miswrote it). I am refering to the fact, that the attribute "enctype"' value is ignored, so the error is triggered by myfaces when I add a file upload. IMHO the form should get enctype="multipart/form-data" in the output (which happens) and myfaces should also use the value to do validation. I hope that makes things clearer. was (Author: softmetz): [~lu4242] I think you misunderstood my report (or i miswrote it). I am refering to the fact, that the attribute "enctypes" value is ignored, so the error is triggered by myfaces when I add a file upload. IMHO the form should get enctype="multipart/form-data" in the output (which happens) and myfaces should also use the value to do validation. I hope that makes things clearer. > Non-jsf-attribute enctype of passthrough form generates faces message > --------------------------------------------------------------------- > > Key: MYFACES-4004 > URL: https://issues.apache.org/jira/browse/MYFACES-4004 > Project: MyFaces Core > Issue Type: Bug > Affects Versions: 2.2.8 > Environment: TomEE 1.7.1, Linux > Reporter: Christian Kalkhoff > Assignee: Leonardo Uribe > Priority: Minor > > I created a html5 form with jsf:action which makes it a . 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 (v6.3.4#6332)