You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.
When the form initially renders the browser shows the onkeydown attribute. However, after the form is submitted, the onkeydown attribute is no longer shown in the browser.
The submit button is a standard h:commandButton without any ajax and the action returns void.
Note that in addition to the onkeydown attribute, the enctype attribute also disappears. This attribute is not specified in our jsf source code but is visible in the browser as enctype="application/x-www-form-urlencoded" when the form is initially rendered. But after the form is submitted, the browser no longer shows the enctype attribute or the onkeydown attribute.
We are running JSF Mojarra 2.3.5.SP2-redhat-00001 on JBoss EAP 7.2. The problem was not evident on a prior version of Mojarra that we are currently running in production: Mojarra 2.2.10 running on JBoss EAP 6.4.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The form tag is loosing attributes after the form is submitted. In particular we have the following in our jsf source to disable the enter key:
<h:form onkeydown="if (event.keyCode === 13) { return false; }">
When the form initially renders the browser shows the onkeydown attribute. However, after the form is submitted, the onkeydown attribute is no longer shown in the browser.
The submit button is a standard h:commandButton without any ajax and the action returns void.
Note that in addition to the onkeydown attribute, the enctype attribute also disappears. This attribute is not specified in our jsf source code but is visible in the browser as enctype="application/x-www-form-urlencoded" when the form is initially rendered. But after the form is submitted, the browser no longer shows the enctype attribute or the onkeydown attribute.
We are running JSF Mojarra 2.3.5.SP2-redhat-00001 on JBoss EAP 7.2. The problem was not evident on a prior version of Mojarra that we are currently running in production: Mojarra 2.2.10 running on JBoss EAP 6.4.
The text was updated successfully, but these errors were encountered: