<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I think it’s a mix. The code is based on proposition 2 (see&nbsp;<a href="http://beanvalidation" class="">http://beanvalidation</a>.org/proposals/BVAL-214/#proposition-2). But at the end the difference to the API of proposition 1 is quite small. See this Gist for a small refactoring that looks more like the API f proposition 1:&nbsp;<a href="https://gist.github.com/hendrikebbers/3a4fb58c5384638b6b34affe3b6b0228" class="">https://gist.github.com/hendrikebbers/3a4fb58c5384638b6b34affe3b6b0228</a></div><div class="">At the end I think that the name „ValidatedValues“ is wrong if we do it this way since an instance describe values that should be validated in future ;)</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Hendrik</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Am 19.10.2016 um 14:25 schrieb Gunnar Morling &lt;<a href="mailto:gunnar@hibernate.org" class="">gunnar@hibernate.org</a>&gt;:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Hendrik,<div class=""><br class=""></div><div class="">Thanks, having such test bed will be very useful!</div><div class=""><br class=""></div><div class="">Adding some association to the model (a plain reference or a collection annotated with @Valid) would be a great addition so we can use it to explore cascaded validation, too.</div><div class=""><br class=""></div><div class="">One question: this does not address the actual issue of BVAL-214 - which is the validation of class-level constraints in the course of validateValues() - yet, right? I.e. in its current form, this is essentially taking the existing validateValue() and exposes it in a form more easily digestable for the purposes of UI validation, right?</div><div class=""><br class=""></div><div class="">--Gunnar</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2016-10-12 8:45 GMT+02:00 Hendrik Ebbers <span dir="ltr" class="">&lt;<a href="mailto:hendrik.ebbers@me.com" target="_blank" class="">hendrik.ebbers@me.com</a>&gt;</span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class="">Hi all,<br class=""><br class="">I created a small JavaFX as a playground for proposal&nbsp;BVAL-214. I already added a dummy implementation for my idea (see&nbsp;<a href="http://beanvalidation.org/proposals/BVAL-214/#proposition-2" target="_blank" class="">http://beanvalidation.<wbr class="">org/proposals/BVAL-214/#<wbr class="">proposition-2</a>).</div><div class="">You can find the sources here:&nbsp;<a href="https://github.com/guigarage/BeanValidationForUI" target="_blank" class="">https://github.com/<wbr class="">guigarage/BeanValidationForUI</a></div><div class=""><br class=""></div><div class="">I added a dummy implementation for the validation API and the sample can simply be started by the&nbsp;com.guigarage.validation.<wbr class="">Demo class</div><div class="">I will add some doc later to describe my ideas.<br class=""><br class=""></div><div class="">Cheers,<br class=""><br class="">Hendrik<br class=""><br class=""><br class=""></div></div><br class="">______________________________<wbr class="">_________________<br class="">
beanvalidation-dev mailing list<br class="">
<a href="mailto:beanvalidation-dev@lists.jboss.org" class="">beanvalidation-dev@lists.<wbr class="">jboss.org</a><br class="">
<a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" rel="noreferrer" target="_blank" class="">https://lists.jboss.org/<wbr class="">mailman/listinfo/<wbr class="">beanvalidation-dev</a><br class=""></blockquote></div><br class=""></div>
_______________________________________________<br class="">beanvalidation-dev mailing list<br class=""><a href="mailto:beanvalidation-dev@lists.jboss.org" class="">beanvalidation-dev@lists.jboss.org</a><br class="">https://lists.jboss.org/mailman/listinfo/beanvalidation-dev</div></blockquote></div><br class=""></div></body></html>