You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Hedju Hor <he...@gmail.com> on 2018/01/08 20:11:49 UTC

BeanValidation-Plugin

Hi, i'm using a action with ModelDriven and multiple action methods.

For Validation the Model i'm using the 'Bean Validation Plugin' but the current Version does not support 'Grouping Constraints' described in https://docs.jboss.org/hibernate/validator/5.1/reference/en-US/html/chapter-groups.html

Is there already a Solution for that or i have to write my own BeanValidationInterceptor? 
(btw already done ist)


Regards

Hedju Hor



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


Re: BeanValidation-Plugin

Posted by Hedju Hor <he...@gmail.com>.
Hi,

sry got some Problem to create a issue, think u see it. sry (my first time).

Pull Request created.

Regards 

Hedju Hor


On 2018-01-08 22:22, Johannes Geppert <jo...@apache.org> wrote: 
> Hi,
> 
> If you already found a solution for this issue it would be create if you
> maybe can create a Issue and a PR so we can integrate it in the Struts code
> base.
> http://struts.apache.org/submitting-patches.html
> 
> Best Regards
> 
> Johannes
> 
> #################################################
> web: http://www.jgeppert.com
> twitter: http://twitter.com/jogep
> 
> 
> 2018-01-08 21:11 GMT+01:00 Hedju Hor <he...@gmail.com>:
> 
> > Hi, i'm using a action with ModelDriven and multiple action methods.
> >
> > For Validation the Model i'm using the 'Bean Validation Plugin' but the
> > current Version does not support 'Grouping Constraints' described in
> > https://docs.jboss.org/hibernate/validator/5.1/
> > reference/en-US/html/chapter-groups.html
> >
> > Is there already a Solution for that or i have to write my own
> > BeanValidationInterceptor?
> > (btw already done ist)
> >
> >
> > Regards
> >
> > Hedju Hor
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> 

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


Re: BeanValidation-Plugin

Posted by Johannes Geppert <jo...@apache.org>.
Hi,

If you already found a solution for this issue it would be create if you
maybe can create a Issue and a PR so we can integrate it in the Struts code
base.
http://struts.apache.org/submitting-patches.html

Best Regards

Johannes

#################################################
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep


2018-01-08 21:11 GMT+01:00 Hedju Hor <he...@gmail.com>:

> Hi, i'm using a action with ModelDriven and multiple action methods.
>
> For Validation the Model i'm using the 'Bean Validation Plugin' but the
> current Version does not support 'Grouping Constraints' described in
> https://docs.jboss.org/hibernate/validator/5.1/
> reference/en-US/html/chapter-groups.html
>
> Is there already a Solution for that or i have to write my own
> BeanValidationInterceptor?
> (btw already done ist)
>
>
> Regards
>
> Hedju Hor
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>