[
https://issues.apache.org/jira/browse/TRINIDAD-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729242#action_12729242
]
Matthias Weßendorf commented on TRINIDAD-1530:
----------------------------------------------
sounds right. The value of the "doSubmit" is already false at the point where
we check for the custom onsubmit handler;
Calling the handler regardless sounds like a bug to me.
Oh, can you replace the outdated (void 0) with null ?
(in case you are willing to provide a patch)
> The onsubmit function of tr:form is called after a client side validation
> error occurs and the form is not submitted.
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: TRINIDAD-1530
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1530
> Project: MyFaces Trinidad
> Issue Type: Bug
> Affects Versions: 1.2.11-core
> Reporter: Bernd Bohmann
>
> Documentation of the onsubmit attribute of tr:form:
> Javascript code to be called when the form is submitted.
> I don't expect that this code is called if a client side validation error
> occurs and the form is not submitted.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.