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

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

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.5
    • Fix Version/s: 5.0.11
    • Labels:
      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

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              wfrag Ivan Dubrov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: