myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Kieselhorst <m...@dekies.de>
Subject Disable JSR-303 bean validation with f:validateBean disabled
Date Fri, 26 Sep 2014 14:43:28 GMT
Hi,

I'd like to disable the JSR-303 bean validation for some fields (not
globally), e.g.:

<tx:in ...>
  <f:validateBean disabled="true"/>
</tx:in>

However the bean validation is still executed. I browsed through the
myfaces code and found out that
javax.faces.validator.BeanValidator.isDisabled is unused. Can you please
give me a hint how to skip it? I'm using MyFaces 2.2.5.

Cheers
Dennis



Mime
View raw message