[ http://issues.apache.org/jira/browse/TAPESTRY-1106?page=all ]
Jesse Kuhnert resolved TAPESTRY-1106. ------------------------------------- Resolution: Fixed Makes sense to me. Marked the method as deprecated for removal in 4.2. > FormComponentContributorContext.addSubmitHandler() should be deprecated > ----------------------------------------------------------------------- > > Key: TAPESTRY-1106 > URL: http://issues.apache.org/jira/browse/TAPESTRY-1106 > Project: Tapestry > Issue Type: Bug > Components: Framework, JavaScript, Core > Affects Versions: 4.1.1 > Reporter: Greg Woolsey > Assigned To: Jesse Kuhnert > Fix For: 4.1.1 > > > I have a custom Validator for dates (probably won't need it with Dojo > validation, but it showed up this error). It calls: > FormComponentContributorContext.addSubmitHandler() with a function call. > This method in the Impl class adds a page initialization script that calls: > Tapestry.onsubmit(...) > which is deprecated. Either the method should be updated to use old > validation code with the new framework or mark the method as deprecated and > indicate that developers should rewrite their code, following the examples in > the org.apache.tapestry.form.validator package. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]