-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
f:ajax silently ignores input fields with html5 input types which are text #2536
Comments
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented In the meantime the issue is here - https://github.com/jboss/mojarra/blob/svn/trunk/jsf-api/src/main/resources/jsf.js#L2381 The jsf.getViewState only adds inputs of certain types text All others are ignored. |
@javaserverfaces Commented 1. The merge from https://svn.java.net/svn/mojarra~svn/branches/SPEC_1111_PROTOTYPE_BRANCH to the trunk, which partially implemented JAVASERVERFACES_SPEC_PUBLIC-1111, is missing the changes to jsf.js. This is handled by issue #2517. 2. Once #2517 is fixed, this issue, #2536, will cover the backporting of that change to the 2.1 code line. |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
|
If using custom components implementing HTML5 input types (number,date,tel,email,etc) using an f:ajax for submit will silent ignore the inputs.
The following input types are submitted as text
date
datetime
datetime-local
email
month
number
range
search
tel
time
url
week
color
http://www.w3schools.com/html/html5_form_input_types.asp
Also see - https://issues.jboss.org/browse/RF-12524
Affected Versions
[2.1.7]
The text was updated successfully, but these errors were encountered: