Tapestry
  1. Tapestry
  2. TAPESTRY-1106

FormComponentContributorContext.addSubmitHandler() should be deprecated

    Details

      Description

      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.

        Activity

        Greg Woolsey created issue -
        Jesse Kuhnert made changes -
        Field Original Value New Value
        Assignee Jesse Kuhnert [ jkuhnert ]
        Jesse Kuhnert made changes -
        Fix Version/s 4.1.1 [ 12312021 ]
        Hide
        Jesse Kuhnert added a comment -

        Makes sense to me. Marked the method as deprecated for removal in 4.2.

        Show
        Jesse Kuhnert added a comment - Makes sense to me. Marked the method as deprecated for removal in 4.2.
        Jesse Kuhnert made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Mark Thomas made changes -
        Workflow jira [ 12386010 ] Default workflow, editable Closed status [ 12567900 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12567900 ] jira [ 12591027 ]

          People

          • Assignee:
            Jesse Kuhnert
            Reporter:
            Greg Woolsey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development