Re: Struts 3 and namespaces

2014-12-09 Thread Paul Benedict
Ken, I am in agreement interceptor stacks should be something like templates. I think we need to do something that's a mix of JSF and S1. JSF has a predefined lifecycle and S1 had named commands (its version of interceptors). So if you want to inject something before or after a step in the lifecyc

Re: Struts 3 and namespaces

2014-12-09 Thread Ken McWilliams
Interceptor stacks don't translate well with annotations (the struts2 package-name and action-name are required by the action-mapper to kick off the processing, two keys are a pretty minimal requirement). It only makes sense to use Struts2 package annotations as Java package-level annotations. But

Re: Struts 3 and namespaces

2014-12-09 Thread Paul Benedict
I hear your points. In addition, I noticed that namespaces don't translate well with annotations. It might just be more consistent to configure on a per action basis just by specifying the interceptor stack to use. Also, I find namespaces most frustrating when I rename URLs and have to move aroun

Re: Struts 3 and namespaces

2014-12-09 Thread Dave Newton
I used package-level interceptors from time to time, mostly for really easy auth interceptors applied to chunks of pages. There was some other use-case I had, but I can't recall what it was; it was related to some data transformations. It also provides a mechanism for grouping actions together in

Struts 3 and namespaces

2014-12-09 Thread Paul Benedict
One concept I never really liked in S2 are namespaces. I never found a good reason to logically group actions together with common interceptor setup. Rather I always find myself in the situation where the interceptor stack is globally set and actions have one-off changes. And I also never liked how

[GitHub] struts pull request: WW-4427 - Converters are no longer applied to...

2014-12-09 Thread lukaszlenart
Github user lukaszlenart commented on a diff in the pull request: https://github.com/apache/struts/pull/32#discussion_r21548312 --- Diff: xwork-core/src/main/java/com/opensymphony/xwork2/ognl/OgnlValueStack.java --- @@ -351,6 +351,8 @@ private Object tryFindValue(String expr, Class

Jenkins build is unstable: Struts-JDK7-pull-request #14

2014-12-09 Thread Apache Jenkins Server
See - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org

[GitHub] struts pull request: WW-4427 - Converters are no longer applied to...

2014-12-09 Thread pbruski
GitHub user pbruski opened a pull request: https://github.com/apache/struts/pull/32 WW-4427 - Converters are no longer applied to values coming from the context fix and UT You can merge this pull request into a Git repository by running: $ git pull https://github.com/pbruski/st

Re: [ANN] Apache Struts 2.3.20 GA release available with security fix

2014-12-09 Thread Lukasz Lenart
2014-12-09 14:16 GMT+01:00 Rene Gielen : > Can't believe this is a minor release "Minor" because it contains around 4 other minor releases ;-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-ma

Re: [ANN] Apache Struts 2.3.20 GA release available with security fix

2014-12-09 Thread Rene Gielen
Can't believe this is a minor release Great job, thank Lukasz! - René Am 08.12.14 16:37, schrieb Lukasz Lenart: > The Apache Struts group is pleased to announce that Apache Struts > 2.3.20 is available as a "General Availability" release. The GA > designation is our highest quality grade. > > Ap