[ https://issues.apache.org/jira/browse/TOBAGO-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Udo Schnurpfeil resolved TOBAGO-1190. ------------------------------------- Resolution: Fixed Fix Version/s: 1.6.0 1.5.8 1.6.0-beta-3 > Add JavaScript listener for the BEFORE_SUBMIT phase > --------------------------------------------------- > > Key: TOBAGO-1190 > URL: https://issues.apache.org/jira/browse/TOBAGO-1190 > Project: MyFaces Tobago > Issue Type: New Feature > Components: Themes > Reporter: Udo Schnurpfeil > Assignee: Udo Schnurpfeil > Fix For: 1.6.0-beta-3, 1.5.8, 1.6.0 > > > Possibility to register an listener which is executed before the submit. > This is useful to add the code in a declarative way. > You need it as an replacement for the <tc:script onsubmit=""/> attribute, > which will be deprecated to enable CSP (see TOBAGO-1171). > If the function returns false, the submit will not be executed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira