<div><div>hi gunnar,</div><div><br></div><div>since it isn&#39;t a complicated topic, we can write a proposal as soon as we have a basic agreement about the approach.</div><div><br></div><div>imo it&#39;s pretty easy - it&#39;s just about:</div>

<div><br></div><div>�- an interface which directly allows simple but still flexible custom implementations�of (custom) message-sources�(including a simple delegation to a�ResourceBundle).</div><div>vs.</div><div>�- an interface which is restricted to ResourceBundle. -&gt; if it isn&#39;t possible to use ListResourceBundle or PropertyResourceBundle, users have to implement #getKeys which might not be possible (/ that easy) for some advanced use-cases.</div>

<div><br></div><div>the rest is more or less the same - if the MessageInterpolator receives a key, it uses the new interface for the lookup (if there is no custom implementation of the new interface or no result for the given key, the existing default bundle (ValidationMessages) is used as a fallback).</div>

<div><br></div><div>regards,</div><div>gerhard</div></div><div><br></div><div><br></div><div><br><div class="gmail_quote">2012/6/26 Gunnar Morling <span dir="ltr">&lt;<a href="mailto:gunnar@hibernate.org" target="_blank">gunnar@hibernate.org</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Hi Gerhard,</p>
<p>I thin I&#39;ve not yet totally understood what you have in mind.<br>
Maybe you could create a proposal for BVAL-217 describing things more in detail (interaction between resolver and interpolator, integration with BV 1.0 interpolators etc.)?<br>
I also think using resource bundles is not totally optional as there is the ValidationMessages bundle.</p>
<p>--Gunnar</p>
<div class="gmail_quote">Am <a href="tel:25.06.2012%2018" value="+12506201218" target="_blank">25.06.2012 18</a>:49 schrieb &quot;Gerhard Petracek&quot; &lt;<a href="mailto:gerhard.petracek@gmail.com" target="_blank">gerhard.petracek@gmail.com</a>&gt;:<br type="attribution">

</div>
<br>_______________________________________________<br>
beanvalidation-dev mailing list<br>
<a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/beanvalidation-dev</a><br>
<br></blockquote></div><br></div>