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

Remove automatic injection of service id into parameters of type String

    Details

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

      Description

      As discussed on the mailing list, automatically recognizing injectable parameters of type String and plugging in the service id seemed like a good idea at the time, but it most cases, requires a search of the documentation, and the addition of @Inject to inject anything (a @Value or @Symbol) that is NOT the service id.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: