Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1350

TapestryFilter should allow sub-classes to specify additional module classes, not just ModuleDefs

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.5
    • Fix Version/s: 5.3
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      Currently, only this method is provided:

      protected ModuleDef[] provideExtraModuleDefs(ServletContext context)

      The problem with this is that the @SubModule annotation is not supported by RegistryBuilder.add(ModuleDef) ... its supported by RegistryBuilder.add(Class...).

      An additional method:

      protected Class provideExtraModuleClasses(ServletContext context);

      would fit the bill.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: