Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1106

FormComponentContributorContext.addSubmitHandler() should be deprecated

    XMLWordPrintableJSON

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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: