[richfaces-issues] [JBoss JIRA] Updated: (RF-4454) onsubmit support for panelMenuItem
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Wed Jan 21 17:51:05 EST 2009
[ https://jira.jboss.org/jira/browse/RF-4454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: 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