Re: Use Validation Groups with Bean Validation?

2014-07-29 Thread javaworkinggirl
9, javaworkinggirl wrote: > > > Hi. > > > > Is there a way to use validation groups with bean validation (jsr-303) > in > > cxf? > > > > Passing in the group as an parameter to @Valid doesn't work. > > Other suggestions? > > @POS

Re: Use Validation Groups with Bean Validation?

2014-07-29 Thread Sergey Beryozkin
Hi On 28/07/14 20:19, javaworkinggirl wrote: Hi. Is there a way to use validation groups with bean validation (jsr-303) in cxf? Passing in the group as an parameter to @Valid doesn't work. Other suggestions? @POST @Path("/entitlement") @Consumes({MediaType.A

Use Validation Groups with Bean Validation?

2014-07-28 Thread javaworkinggirl
Hi. Is there a way to use validation groups with bean validation (jsr-303) in cxf? Passing in the group as an parameter to @Valid doesn't work. Other suggestions? @POST @Path("/entitlement") @Consumes({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML}) @CsgH