Tapestry 5
  1. Tapestry 5
  2. TAP5-1170

Remove automatic injection of service id into parameters of type String

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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.

        Activity

        Howard M. Lewis Ship created issue -
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Assignee Howard M. Lewis Ship [ hlship ]
        Priority Major [ 3 ] Minor [ 4 ]
        Component/s tapestry-spring [ 12312472 ]
        Component/s tapestry-core [ 12312470 ]
        Howard M. Lewis Ship made changes -
        Summary Remove automatic injection of service id into String Remove automatic injection of service id into parameters of type String
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 5.2.0 [ 12314122 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development