Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4756

Use TextProviderFactory instead of TextProvider as bean's dependency

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.10
    • Fix Version/s: 2.5.12
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lukaszlenart Lukasz Lenart
                Reporter:
                lukaszlenart Lukasz Lenart
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: