[
https://issues.apache.org/jira/browse/WW-4756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart resolved WW-4756.
-------------------------------
Resolution: Fixed
PR got merged, also added an example app
https://github.com/apache/struts-examples/tree/master/text-provider
> Use TextProviderFactory instead of TextProvider as bean's dependency
> --------------------------------------------------------------------
>
> Key: WW-4756
> URL: https://issues.apache.org/jira/browse/WW-4756
> Project: Struts 2
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.5.10
> Reporter: Lukasz Lenart
> Assignee: Lukasz Lenart
> Fix For: 2.5.next
>
>
> Right now a TextProvider interface is implemented by the ActionSupport class
> which can be misleading and hard to distinguish as bean when it comes to
> injecting a proper implementation (e.g. using Spring).
> Separating the TextProvider interface from how it is built should solve the
> problem.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)