Uploaded image for project: '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

        Hide
        jkuhnert Jesse Kuhnert added a comment -

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

        Show
        jkuhnert Jesse Kuhnert added a comment - Makes sense to me. Marked the method as deprecated for removal in 4.2.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development