struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <>
Subject [jira] [Commented] (WW-5002) Package Level Properties in Global Results
Date Tue, 15 Jan 2019 07:13:00 GMT


Lukasz Lenart commented on WW-5002:

What action do you use which is connected with the result? If none, Struts will use {{ActionSupport}}
as a default action and based on it will calculate package name.

You can define your own default action class

> Package Level Properties in Global Results
> ------------------------------------------
>                 Key: WW-5002
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.5.18
>            Reporter: k918912
>            Priority: Major
> 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
> com.example.test.interceptor
> -> containts 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.
> {quote}Missing key [] in bundles [[global-messages, org/apache/struts2/struts-messages,
> Is there anything wrong in my configuration? I checked the docs and didn't find anything
related to this problem.

This message was sent by Atlassian JIRA

View raw message