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

Allow extending the PageTester with extra modules for better integration with tapestry-spring

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.5
    • 5.0.11
    • None

    Description

      The problem is that when PageTester creates the registry it does not adds SpringModuleDef to the list of modules and all Spring services are unavailable because of this. Extending the PageTester is not possible as well, so you cannot extend it and provide additional module (like the TapestrySpringFilter does), so you have to copy-paste the complete PageTester and add a single line to include SpringModuleDef module to the list.

      I suggest adding the method similar to the TapestryFilter#provideExtraModuleDefs() to the PageTester.

      Attachments

        1. pagetester.patch
          1 kB
          Ivan Dubrov

        Activity

          People

            hlship Howard Lewis Ship
            wfrag Ivan Dubrov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: