2013/8/1 Paul Benedict <[email protected]>:
> Where in the life cycle does ParameterNameAware get executed? Is it before
> any filter?

That's the whole logic:

    protected boolean isAcceptableParameter(String name, Object action) {
        ParameterNameAware parameterNameAware = (action instanceof
ParameterNameAware) ? (ParameterNameAware) action : null;
        return acceptableName(name) || (parameterNameAware != null &&
parameterNameAware.acceptableParameterName(name));
    }

so first acceptParams and excludeParams are examined and then if param
name isn't accepted ParameterNameAware is called. To change the
behaviour just replace || with && and the ParameterNameAware must at
the same time accept param name.


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to