[jira] [Updated] (WW-5002) Package Level Properties in Global Results
[ https://issues.apache.org/jira/browse/WW-5002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-5002: -- Fix Version/s: 2.6 > Package Level Properties in Global Results > -- > > Key: WW-5002 > URL: https://issues.apache.org/jira/browse/WW-5002 > Project: Struts 2 > Issue Type: Bug >Affects Versions: 2.5.18 >Reporter: k918912 >Priority: Major > Fix For: 2.6 > > > 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. > {quote}Missing key [test.xyz] in bundles [[global-messages, > org/apache/struts2/struts-messages, > com/opensymphony/xwork2/xwork-messages]]!{quote} > 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 (v7.6.3#76005)
[jira] [Updated] (WW-5003) Use StrutsException instead of XWorkException
[ https://issues.apache.org/jira/browse/WW-5003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-5003: -- Fix Version/s: 2.6 > Use StrutsException instead of XWorkException > - > > Key: WW-5003 > URL: https://issues.apache.org/jira/browse/WW-5003 > Project: Struts 2 > Issue Type: Improvement >Reporter: Lukasz Lenart >Priority: Major > Fix For: 2.6 > > > We should replace {{XWorkException}} with {{StrutsException}} and drop > {{XWorkException}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (WW-5003) Use StrutsException instead of XWorkException
Lukasz Lenart created WW-5003: - Summary: Use StrutsException instead of XWorkException Key: WW-5003 URL: https://issues.apache.org/jira/browse/WW-5003 Project: Struts 2 Issue Type: Improvement Reporter: Lukasz Lenart We should replace {{XWorkException}} with {{StrutsException}} and drop {{XWorkException}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (WW-5002) Package Level Properties in Global Results
[ https://issues.apache.org/jira/browse/WW-5002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16742820#comment-16742820 ] 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 https://struts.apache.org/core-developers/action-configuration.html#actionsupport-default > Package Level Properties in Global Results > -- > > Key: WW-5002 > URL: https://issues.apache.org/jira/browse/WW-5002 > 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 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. > {quote}Missing key [test.xyz] in bundles [[global-messages, > org/apache/struts2/struts-messages, > com/opensymphony/xwork2/xwork-messages]]!{quote} > 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 (v7.6.3#76005)
[jira] [Commented] (WW-5001) Allow to define converters in "struts-conversion.properties" file
[ https://issues.apache.org/jira/browse/WW-5001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16742822#comment-16742822 ] ASF GitHub Bot commented on WW-5001: lukaszlenart commented on pull request #313: [WW-5001] Adds support for struts-conversion.properties files URL: https://github.com/apache/struts/pull/313 Implements [WW-5001](https://issues.apache.org/jira/browse/WW-5001) This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Allow to define converters in "struts-conversion.properties" file > - > > Key: WW-5001 > URL: https://issues.apache.org/jira/browse/WW-5001 > Project: Struts 2 > Issue Type: Improvement > Components: Core >Reporter: Lukasz Lenart >Priority: Minor > Fix For: 2.6 > > > Now you must register a new converters in {{xwork-conversion.properties}} > which is an inherited from XWork days. As we move away from XWork it would be > good to use {{struts-conversion.properties}} instead. > This is small change in code with a warning about using > {{xwork-conversion.properties}} and docs must be updated as well. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (WW-5002) Package Level Properties in Global Results
k918912 created WW-5002: --- Summary: Package Level Properties in Global Results Key: WW-5002 URL: https://issues.apache.org/jira/browse/WW-5002 Project: Struts 2 Issue Type: Bug Affects Versions: 2.5.18 Reporter: k918912 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. {quote}Missing key [test.xyz] in bundles [[global-messages, org/apache/struts2/struts-messages, com/opensymphony/xwork2/xwork-messages]]!{quote} 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 (v7.6.3#76005)