struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: [VOTE] Struts 2.5 BETA3
Date Mon, 25 Jan 2016 11:04:12 GMT
2016-01-22 18:26 GMT+01:00 Greg Huber <gregh3269@gmail.com>:
> Best I can come up with is
> com.opensymphony.xwork2.config.implActionConfigMatcher creates a new
> ActionConfig but then only uses the default allowed names:
>
> return new ActionConfig.Builder(pkgName, orig.getName(), className)
>                 .methodName(methodName)
>                 .addParams(params)
>                 .addResultConfigs(results)
>                 .addInterceptors(orig.getInterceptors())
>                 .addExceptionMappings(exs)
>                 .location(orig.getLocation())
>                 .build();
>
> Could use the original by appending
> .addAllowedMethod(orig.getAllowedMethods()), but I guess it should come
> from the ActionConfig stored in the packageContext or where the orig gets
> its allowedMethods from.

Great! Thanks for locating this, could you register a ticket in JIRA?


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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message