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

Package Level Properties in Global Results

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 2.5.18
    • Fix Version/s: 2.5.25, 2.6
    • Component/s: None
    • Labels:
      None

      Description

      I'm currently trying to use a global result within an interceptor but have problems accessing package level properties.

      So my structure is:
      struts-test.xml
      -> contains a global-result "test"
      com.example.test
      -> contains package.properties
      com.example.test.interceptor
      -> containts TestInteceptor.java with the result "test"

      The test result is a jsp-File with s:text tags. Sadly the s:text tags are ignoring the package level properties file and are only looking at global properties.

      Missing key [test.xyz] in bundles [[global-messages, org/apache/struts2/struts-messages, com/opensymphony/xwork2/xwork-messages]]!

      Is there anything wrong in my configuration? I checked the docs and didn't find anything related to this problem.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              k918912 k918912
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: