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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.2.5
    • 5.3
    • tapestry-core
    • 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

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: