Antwort: Re: Re: question about ParameterNameAware

2014-01-09 Thread Christoph Nenning
> > There is && and () as well. > > > > In my case the results would look like this: > > > > false && (false || true) > > Ah... sorry :( That was in old version (prior to 2.3.16) > I guess it is quite confusing to have several versions to deal with :) > So set 'acceptParams' with patterns that

Re: Re: question about ParameterNameAware

2014-01-09 Thread Lukasz Lenart
2014/1/9 Christoph Nenning : > There is && and () as well. > > In my case the results would look like this: > > false && (false || true) Ah... sorry :( That was in old version (prior to 2.3.16) So set 'acceptParams' with patterns that will accept params in your case Regards -- Ɓukasz + 48 606

Re: Re: question about ParameterNameAware

2014-01-09 Thread Christoph Nenning
> > The problem is this line: > > > >> return acceptableName(name) && (parameterNameAware == null || > >> parameterNameAware.acceptableParameterName(name)); > > > > when acceptableName(name) returns false, > > parameterNameAware.acceptableParameterName(name) is not called. > > > > Or do get thi

Re: Re: question about ParameterNameAware

2014-01-09 Thread Lukasz Lenart
2014/1/9 Christoph Nenning : > The problem is this line: > >> return acceptableName(name) && (parameterNameAware == null || >> parameterNameAware.acceptableParameterName(name)); > > when acceptableName(name) returns false, > parameterNameAware.acceptableParameterName(name) is not called. > > Or

Re: Re: question about ParameterNameAware

2014-01-09 Thread Christoph Nenning
> 2014/1/9 Christoph Nenning : > >> Struts version? Because in 2.3.16 behaviour of that has changed. > >> > > > > It is 2.3.16. > > So that means javadoc is outdated? > > Nope > > > What options do I have? > > Override ParametersInterceptor? > > Nope, just implement ParameterNameAware in your ac

Re: Re: question about ParameterNameAware

2014-01-09 Thread Lukasz Lenart
2014/1/9 Christoph Nenning : >> Struts version? Because in 2.3.16 behaviour of that has changed. >> > > It is 2.3.16. > So that means javadoc is outdated? Nope > What options do I have? > Override ParametersInterceptor? Nope, just implement ParameterNameAware in your action and accept param name

Antwort: Re: question about ParameterNameAware

2014-01-09 Thread Christoph Nenning
> Struts version? Because in 2.3.16 behaviour of that has changed. > It is 2.3.16. So that means javadoc is outdated? What options do I have? Override ParametersInterceptor? regards, Christoph This Email was scanned by Sophos Anti Virus

Re: question about ParameterNameAware

2014-01-09 Thread Lukasz Lenart
Struts version? Because in 2.3.16 behaviour of that has changed. 2014/1/9 Christoph Nenning : > Dear List, > > > a few month ago I asked a question how to deal with HTTP parameter names > like this: > > map['key with spaces'] > > Back then I was told I could use ParameterNameAware. > > Now I had s