[bv-dev] Validation.properties ResourceBundle and modularity

Emmanuel Bernard emmanuel at hibernate.org
Tue Sep 27 11:26:49 EDT 2011


We can treat that as part of BVAL-233, I've added a comment which in essence is what Hardy said.

https://hibernate.onjira.com/browse/BVAL-233?focusedCommentId=43732#comment-43732

On 20 sept. 2011, at 17:02, Ed Burns wrote:

> Hello Experts,
> 
> I understand this may be off topic, but I am not sure how to best bring
> this to your attention, so please excuse this email.
> 
> GlassFish uses JSR-303 for ensuring that its configuration information
> is valid.  In the course of this usage, we ran into an apparent
> shortcoming in the JSR-303 spec regarding ClassLoaders and the
> Validation.properties ResourceBundle.  A succint writeup of the problem
> is at [1] but in 140 characters or less, the problem is:
> 
>  In a MessageInterpolatorImpl, I need a reference to the .class to
>  which the constraint is applied, *without using payload*.
> 
> In other words, can we make the default value of the payload attribute
> be the .class to which the constraint is applied?
> 
> Thank you,
> 
> Ed
> 
> [1] http://wikis.sun.com/display/GlassFish/GlassFish+Bean+Validation+Error+Message+Internationalization
> 
> -- 
> | edward.burns at oracle.com | office: +1 407 458 0017
> | homepage:               | http://ridingthecrest.com/
> |  4 business days until JSF 2.2 Early Draft Review
> |  8 business days until JavaOne 2011
> _______________________________________________
> beanvalidation-dev mailing list
> beanvalidation-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/beanvalidation-dev




More information about the beanvalidation-dev mailing list