]
Nick Belaevski updated RF-4454:
-------------------------------
Fix Version/s: (was: Wishes)
onsubmit support for panelMenuItem
----------------------------------
Key: RF-4454
URL:
https://jira.jboss.org/jira/browse/RF-4454
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Benoit Pflieger
Priority: Minor
It would be useful to provide support for onsubmit on a panelMenuItem in order to break
the submission of the form by returning false thanks to a javascript confirm dialog.
Here is the expected behavior but with a uggly gui experience:
<rich:panelMenuItem mode="none">
<h:commandButton value="#{data.text}" action="#{data.action}"
onclick="if(#{stateBean.dirty}){return confirm('Continue?'))}"/>
</rich:panelMenuItem>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: