o:inputFile required #315

cocorossello opened this Issue Sep 21, 2016 · 3 comments


None yet

2 participants

cocorossello commented Sep 21, 2016 edited

As pointed in http://stackoverflow.com/questions/39617729/oinputfile-optional-and-accept-validation?noredirect=1#comment66544309_39617729 I'm not able to use an inputFile and leave it blank if the accept field is not empty.

It happens in any browser (chrome and edge)

I'm providing a sample project

Myfaces 2.2.10, tomee

BalusC commented Sep 22, 2016

This is caused by MyFaces.

@BalusC BalusC added a commit that closed this issue Sep 22, 2016
@BalusC BalusC Fix #315: implicitly convert empty parts to null
This will align MyFaces behavior with Mojarra
@BalusC BalusC closed this in 92b04e5 Sep 22, 2016
BalusC commented Sep 22, 2016

o:inputFile will now by default always consider empty parts as null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment