You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Hudson (JIRA)" <de...@myfaces.apache.org> on 2012/08/03 14:17:04 UTC

[jira] [Commented] (TOBAGO-1190) Add JavaScript listener for the BEFORE_SUBMIT phase

    [ https://issues.apache.org/jira/browse/TOBAGO-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428021#comment-13428021 ] 

Hudson commented on TOBAGO-1190:
--------------------------------

Integrated in tobago-1.5.x #83 (See [https://builds.apache.org/job/tobago-1.5.x/83/])
    TOBAGO-1191: "on before submit" funkctions should not cancel the submit, when there is no return value 
TOBAGO-1190: Add JavaScript listener for the BEFORE_SUBMIT phase 

Removing JavaScript from the HTML pages (Revision 1368901)

     Result = SUCCESS
lofwyr : http://svn.apache.org/viewvc/?view=rev&rev=1368901
Files : 
* /myfaces/tobago/branches/tobago-1.5.x
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-addressbook/src/main/webapp
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-addressbook/src/main/webapp/auth/login.js
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-addressbook/src/main/webapp/auth/login.xhtml
* /myfaces/tobago/branches/tobago-1.5.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js

                
> 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