[ 
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: Future


> 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
>             Fix For: Future
>
>
> 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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to