Re: 2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Roger Varley
No - that marks it for auto-scanning. In the meantime I've gone back to 2.3.16.1 and everything is working again :( Regards On 16 December 2014 at 18:00, Lukasz Lenart wrote: > > 2014-12-16 15:23 GMT+01:00 Roger Varley : > > import org.springframework.stereotype.Service; > > > > @Service > > Doe

Re: Struts 2 'redirectAction' changes protocol from HTTPS to HTTP

2014-12-16 Thread Sreekanth S. Nair
As far as i know it wont be struts2 problem probably you have to look into your security config, how you are handling http https route ? i can tell you, we were using strust2 2.3.15.1 distribution with lots of redirectResult without any trouble (we have the similar login https others http route).

Re: 2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Lukasz Lenart
2014-12-16 15:23 GMT+01:00 Roger Varley : > import org.springframework.stereotype.Service; > > @Service Doesn't this annotation define Singleton? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e

Re: 2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Lukasz Lenart
2014-12-16 16:37 GMT+01:00 Sreekanth S. Nair : > Hi Lukasz, > Could it be the same problem what i was facing about rest > plugin ? Nope, your problem was missing configuration for coexisting normal web app with rest endpoints Regards -- Łukasz + 48 606 323 122 http://www.lenart

Struts 2 'redirectAction' changes protocol from HTTPS to HTTP

2014-12-16 Thread der3
Hello all struts2 users I have a JEE web application running in HTTP mode all the time except for authentication where we are in HTTPS. We now need to have HTTPS all the time. While testing, we saw a problem with Struts 2 : "redirectAction" (which generates 302 status return code on the client

Re: 2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Sreekanth S. Nair
Hi Lukasz, Could it be the same problem what i was facing about rest plugin ? Hi Roger, Don't know if you are using rest plugin, if so can remove that plugin and try again ? -- Thanks & Regards Sreekanth S Nair Java Developer --

Re: Alternatives To Accessing Static Methods

2014-12-16 Thread Christoph Nenning
> > I was wanting to get some feedback on how to best move away from the > static method calls in OGNL. We have used them quite a bit, > specifically to populate Map of options for the select tag. There > are multiple pages that the select is used on so I don't want to > hard code the options

Alternatives To Accessing Static Methods

2014-12-16 Thread pzepernick
I was wanting to get some feedback on how to best move away from the static method calls in OGNL. We have used them quite a bit, specifically to populate Map of options for the select tag. There are multiple pages that the select is used on so I don't want to hard code the options in each sele

Re: 2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Roger Varley
Oh bugger :( I've got actions failing all over the place - but strangely, not all of them. The config-browser plugin see's my configured namespaces, but lists no actions in any of them. Regards On 16 December 2014 at 16:23, Roger Varley wrote: > > Yes, I do. I've checked - and calling the action

Re: 2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Roger Varley
Yes, I do. I've checked - and calling the action directly from the browser gives the same response. The action code is below. Regards package com.blackbox.x.actions.admin; import java.util.List; import org.springframework.stereotype.Service; import com.blackbox.entities.db.Platform; import com

Re: Struts 2.3.20 Bug?

2014-12-16 Thread Roger Varley
I couldn't seem to be able to re-open WW-3493 so a new one WW-4434 has been created Regards On 16 December 2014 at 15:44, Lukasz Lenart wrote: > > You are right! I have once again reviewed > https://issues.apache.org/jira/browse/WW-3493 and the template is > missing :( Overlooked that :( > Feel

Re: 2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Lukasz Lenart
2014-12-16 15:03 GMT+01:00 Roger Varley : > Referring to the log file, the dump was preceded by the following few lines; > > 16 Dec 2014 15:44:09 ERROR ActionComponent,"http-bio-8080"-exec-5:42 - > Could not execute action: /admin/list-platforms > There is no Action mapped for namespace [/admin

Re: 2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Roger Varley
Referring to the log file, the dump was preceded by the following few lines; 16 Dec 2014 15:44:09 ERROR ActionComponent,"http-bio-8080"-exec-5:42 - Could not execute action: /admin/list-platforms There is no Action mapped for namespace [/admin] and action name [list-platforms] associated with

Re: OGNL is used to call action's methods

2014-12-16 Thread Lukasz Lenart
2014-12-16 14:54 GMT+01:00 Alireza Fattahi : > Yes I am using the convention plugin !!Well, will this be fixed, or we should > try the suggested workaround ?! ~Regards, > ~~Alireza Fattahi It's going to be fixed but please check the workaround to confirm. Regards -- Łukasz + 48 606 323 122 htt

Re: OGNL is used to call action's methods

2014-12-16 Thread Alireza Fattahi
Yes I am using the convention plugin !!Well, will this be fixed, or we should try the suggested workaround ?! ~Regards, ~~Alireza Fattahi From: Lukasz Lenart To: Struts Users Mailing List Sent: Tuesday, 16 December 2014, 11:02 Subject: Re: OGNL is used to call action's methods I th

Re: 2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Lukasz Lenart
Can you post the whole log? Maybe there are some warnings 2014-12-16 14:48 GMT+01:00 Roger Varley : > Hi > > After upgrading to 2.3.20 from 2.3.16.1 the following .jsp snippet fails to > compile. Reverting back to 2.3.16.1 and it starts to work again. > > > listValue=

2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Roger Varley
Hi After upgrading to 2.3.20 from 2.3.16.1 the following .jsp snippet fails to compile. Reverting back to 2.3.16.1 and it starts to work again. org.apache.jasper.JasperException: tag 'select', field 'list', name 'platformId': The requested list key '#list.platforms' could not be re

Re: Struts 2.3.20 Bug?

2014-12-16 Thread Lukasz Lenart
You are right! I have once again reviewed https://issues.apache.org/jira/browse/WW-3493 and the template is missing :( Overlooked that :( Feel free to re-open the issue or create a new one. 2014-12-16 14:35 GMT+01:00 Roger Varley : > Hi > > I have upgraded to Struts 2.3.20 and I'm trying to use th

Struts 2.3.20 Bug?

2014-12-16 Thread Roger Varley
Hi I have upgraded to Struts 2.3.20 and I'm trying to use the new s:datetextfield tag. The creation of the jsp fails with the error listed below. I've checked and the datetextfield.ftl is not in any of the template directories in struts2-core-2.3.20.jar org.apache.jasper.JasperException: Template