[richfaces-issues] [JBoss JIRA] Created: (RF-8387) inputNumberSpinner: autosubmit of a form while pressing the ENTER KEY, validation is discarded and modal panel is closed
Eleonora Petagna (JIRA)
jira-events at lists.jboss.org
Tue Feb 16 11:12:10 EST 2010
inputNumberSpinner: autosubmit of a form while pressing the ENTER KEY, validation is discarded and modal panel is closed
------------------------------------------------------------------------------------------------------------------------
Key: RF-8387
URL: https://jira.jboss.org/jira/browse/RF-8387
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.3.2.GA
Reporter: Eleonora Petagna
When using an inputNumberSpinner inside a modalPanel, within an a4j:form,
pressing the Enter key will automatically submit the form and the modal panel is closed.
The validation is not performed.
I've tried to set oninputkeypress="return event.keyCode!=13" but it doesn't work.
I have also tried to catch the return-key with an additional component such as:
<rich:hotKey key="return"
like discussed in http://ahoehma.wordpress.com/tag/hotkey/ but that did not work either.
Remark:
If I replace <rich:inputNumberSpinner with <rich:inputNumberSlider the functionality is OK (the return key can be intercepted and the form is not submitted).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list