Tapestry
  1. Tapestry
  2. TAPESTRY-1778

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

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major 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.

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568596 ] jira [ 12591633 ]
        Mark Thomas made changes -
        Workflow jira [ 12413654 ] Default workflow, editable Closed status [ 12568596 ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 5.0.11 [ 12312968 ]
        Resolution Fixed [ 1 ]
        Assignee Howard M. Lewis Ship [ hlship ]
        Ivan Dubrov made changes -
        Field Original Value New Value
        Attachment pagetester.patch [ 12366505 ]
        Ivan Dubrov created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development