2014/1/9 Christoph Nenning <[email protected]>:
>> 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:
protected boolean isAcceptableParameter(String name, Object action) {
ParameterNameAware parameterNameAware = (action instanceof
ParameterNameAware) ? (ParameterNameAware) action : null;
return acceptableName(name) && (parameterNameAware == null ||
parameterNameAware.acceptableParameterName(name));
}
isAccepted() is used inside acceptableName(name)
https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_16/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java
Regards
--
Ćukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]