@InjectResource annotation should be removed, behavior of @Inject on a field 
should be changed to consider resources first
--------------------------------------------------------------------------------------------------------------------------

                 Key: TAP5-1664
                 URL: https://issues.apache.org/jira/browse/TAP5-1664
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-ioc
    Affects Versions: 5.3, 5.2
            Reporter: Howard M. Lewis Ship


The @InjectResource annotation is confusing and, ultimately, unnecessary. For 
the rare case where there's a service of type Messages or such, you can always 
change your constructor to take an ObjectLocator and look up the Messages 
service that way.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to