[
https://issues.jboss.org/browse/RF-11971?page=com.atlassian.jira.plugin.s...
]
Jan Papousek updated RF-11971:
------------------------------
Steps to Reproduce:
# deploy Metamer
#
http://localhost:8080/metamer/faces/components/richMenuItem/RF-11971.xhtml
# click on the "Click on Me (onclick returns false without confirmation)"
# click on the "Cancel" button -> counter value is incremented (action is
performed)
rich:menuItem onclick return value ignored
------------------------------------------
Key: RF-11971
URL:
https://issues.jboss.org/browse/RF-11971
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.2.0.Final
Environment: Chrome / glassfish 3.1.1 / mojarra 2.1.6
Reporter: Brendan Healey
Assignee: Jan Papousek
My expectation was that using rich:menuItem
onclick="if(!confirm('#{msgs.playerConfirmDelete}')) return false;"
(and selecting cancel) would prevent any action routines being called, as is common
with components such as h:commandButton. As it stands the return value is ignored and
processing continues with return true or return false.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira