Tapestry
  1. Tapestry
  2. TAPESTRY-1890

Allow Tapestry applications to NOT autoload modules from library

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.6
    • Fix Version/s: 5.0.11
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      Once can see circumstances where autoloading of library modules is not desirable: for instance, to use code from a library without using the services in that module.

      In that case, there should be an option, a web.xml configuration value, to turn off autoloading of modules. The application's module can use explicit @SubModule annotations to bring in exactly what's desired.

        Activity

        Howard M. Lewis Ship created issue -
        Hide
        Paul Cooley added a comment -

        The option for autoloading should also be available outside the web.xml configuration so that this can be done in instances where only the IoC is being used (and not the core).

        Show
        Paul Cooley added a comment - The option for autoloading should also be available outside the web.xml configuration so that this can be done in instances where only the IoC is being used (and not the core).
        Hide
        Massimo Lusetti added a comment -

        Maybe, but if you use it outside you have full control on with modules to pass to the builder...

        Show
        Massimo Lusetti added a comment - Maybe, but if you use it outside you have full control on with modules to pass to the builder...
        Hide
        Davor Hrg added a comment -

        just a reminder,
        if multiple modules specify the same submodule, tapestry will break,
        I haven't checked this with 5.0.6 though

        Show
        Davor Hrg added a comment - just a reminder, if multiple modules specify the same submodule, tapestry will break, I haven't checked this with 5.0.6 though
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Affects Version/s 5.0.6 [ 12312544 ]
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Fix Version/s 5.0.11 [ 12312968 ]
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12416739 ] Default workflow, editable Closed status [ 12568531 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568531 ] jira [ 12591576 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        115d 8h 2m 1 Howard M. Lewis Ship 02/Mar/08 23:53
        In Progress In Progress Closed Closed
        7m 27s 1 Howard M. Lewis Ship 03/Mar/08 00:01

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development