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

[jira] [Created] (TOBAGO-1191) "on before submit" funkctions should not cancel the submit, when there is no return value

Udo Schnurpfeil created TOBAGO-1191:
---------------------------------------

             Summary: "on before submit" funkctions should not cancel the submit, when there is no return value
                 Key: TOBAGO-1191
                 URL: https://issues.apache.org/jira/browse/TOBAGO-1191
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Themes
    Affects Versions: 1.5.7, 1.6.0-beta-2, 1.0.39
            Reporter: Udo Schnurpfeil
            Assignee: Udo Schnurpfeil
            Priority: Minor


When using <tc:script onsubmit="foo()"/> and foo() has no return value, the submit should be executed (but it was canceled).

Unchanged:
When the return value is false, the submit will be canceled.
When the return value is true, the submit will 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

        

[jira] [Resolved] (TOBAGO-1191) "on before submit" funkctions should not cancel the submit, when there is no return value

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOBAGO-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Udo Schnurpfeil resolved TOBAGO-1191.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0
                   1.5.8
                   1.6.0-beta-3
    
> "on before submit" funkctions should not cancel the submit, when there is no return value
> -----------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-1191
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1191
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Themes
>    Affects Versions: 1.0.39, 1.6.0-beta-2, 1.5.7
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>            Priority: Minor
>             Fix For: 1.6.0-beta-3, 1.5.8, 1.6.0
>
>
> When using <tc:script onsubmit="foo()"/> and foo() has no return value, the submit should be executed (but it was canceled).
> Unchanged:
> When the return value is false, the submit will be canceled.
> When the return value is true, the submit will 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

        

[jira] [Commented] (TOBAGO-1191) "on before submit" funkctions should not cancel the submit, when there is no return value

Posted by "Hudson (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428022#comment-13428022 ] 

Hudson commented on TOBAGO-1191:
--------------------------------

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

                
> "on before submit" funkctions should not cancel the submit, when there is no return value
> -----------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-1191
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1191
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Themes
>    Affects Versions: 1.0.39, 1.6.0-beta-2, 1.5.7
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>            Priority: Minor
>             Fix For: 1.6.0-beta-3, 1.5.8, 1.6.0
>
>
> When using <tc:script onsubmit="foo()"/> and foo() has no return value, the submit should be executed (but it was canceled).
> Unchanged:
> When the return value is false, the submit will be canceled.
> When the return value is true, the submit will 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