Tapestry 5
  1. Tapestry 5
  2. TAP5-428

It should be possible to use tapestry-spring in an environment where the Spring ApplicationContext is created externally (as was the case in Tapestry 5.0)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.0
    • Fix Version/s: 5.1.0.0
    • Component/s: tapestry-spring
    • Labels:
      None

      Description

      Howard just added a feature trying to meld SpringContext and TapestryIoC. He thus added the requirement that Tapestry constructs the SpringContext. I want to request that a configuration is added to turn off this requirement, and have Tapestry use a normally constructed SpringContext.

      This will allow tapestry 5.1 to be fully backward compatible, etc etc..

      Some people might have special ways that they construct their SpringContext, and tapestry can't override that..

      Most people will not need to provide TapestryIoC services to spring, so breaking their code is harsh..
      (i would argue to have this feature disabled by default, and have people turn it on only when they understand the pros and cons!)

        Activity

        Fernando Padilla created issue -
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Summary need a way to turn off tapestry constructing its own spring-context It should be possible to use tapestry-spring in an environment where the Spring ApplicationContext is created externally (as was the case in Tapestry 5.0)
        Component/s tapestry-ioc [ 12312469 ]
        Component/s tapestry-spring [ 12312472 ]
        Howard M. Lewis Ship made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.1.0.0 [ 12313428 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development