BeanValidation-Plugin

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

BeanValidation-Plugin

Hedju Hor
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: BeanValidation-Plugin

Johannes Geppert
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 <[hidden email]>:

> 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: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: BeanValidation-Plugin

Hedju Hor
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 <[hidden email]> 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 <[hidden email]>:
>
> > 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: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>

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