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

Unable to Use My Custom TextProvider from Action getText() methos

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.3.1.2
    • 2.3.3
    • Core Actions
    • None
    • Important

    Description

      I build my own Text Provider with

      public class MyTextProvider extends TextProviderSupport ...

      and configure in struts.xml

      <bean class="lt.web.core.MyTextProvider" name="myTextProvider" type="com.opensymphony.xwork2.TextProvider" />
      <constant name="struts.xworkTextProvider" value="myTextProvider" />
      <constant name="system" value="myTextProvider" />

      But when i make inside and action.. this.getText("whatever"); in does not run my custom provider..

      Attachments

        Activity

          People

            Unassigned Unassigned
            joaquindiez Joaquin Diez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: