....although I still get in dev mode:

Error setting expression 'bean.weight' with value ['gggg', ]

as this comes from the params inteceptor (and I do not want to exclude this
on my cancel), I guess we will have to live with this.

I will log a request and see if I can do a pull request, but I seem to have
lost the link I was using for this and I cannot get egit to be friendly :(

On 3 August 2016 at 09:10, Lukasz Lenart <lukaszlen...@apache.org> wrote:

> +1
>
> 2016-08-03 9:32 GMT+02:00 Greg Huber <gregh3...@gmail.com>:
> > Would it be possible to modify the ConversionErrorInterceptor to extend
> > MethodFilterInterceptor so I can exclude the validation on certain
> methods?
> >
> > ie
> >
> > <interceptor-ref name="conversionError">
> >   <param name="excludeMethods">cancel*</param>
> > </interceptor-ref>
> >
> > It seems always to be called (needs to be like the validator/workflow)
> >
> > I have noticed that if I there is a conversion error on a screen and I
> > return with a redirectAction (and the action has a STORE and the
> > destination action has a RETRIEVE) the conversion error shows on the
> > destination action screen.
> >
> > The changes are to  extend MethodFilterInterceptor and change
> >
> > public String intercept(ActionInvocation invocation) throws Exception {
> >
> > to
> >
> > protected String doIntercept(ActionInvocation invocation) throws
> Exception {
> >
> > Cheers Greg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>

Reply via email to