struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Huber <gregh3...@gmail.com>
Subject Re: [VOTE] Struts 2.5 BETA3
Date Mon, 25 Jan 2016 11:47:40 GMT
OK WW-4596.

I did try to find out where the orig object comes from to create pull
request, but I was unable to fathom it out. Needs better documentation in
the source.  So I guess a finial solution would be better form someone who
understands what is going on.

Cheers Greg.

On 25 January 2016 at 11:04, Lukasz Lenart <lukaszlenart@apache.org> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message