The direct replacement for the void operator is "undefined". Does he
really want undefined or does he want null.
-- Blake
Matthias Weßendorf (JIRA) said the following On 7/9/2009 5:59 AM PT:
[ 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.