-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: substituting the error message at run time
PostPosted: Wed Dec 23, 2009 7:38 am 
Newbie

Joined: Tue Dec 22, 2009 6:29 am
Posts: 5
Hi All,

Can you please advice me, how can substitute the error message with runtime values?

@NotNull(message="Name should not {somekey} be empty")
private String name;

At runtime,i will have some value for "somekey". When this is violated, i would like to get a error message substituted with this key.

Please advice.

Regards,
Prashant


Top
 Profile  
 
 Post subject: Re: substituting the error message at run time
PostPosted: Tue Feb 16, 2010 7:01 am 
Newbie

Joined: Fri Jan 29, 2010 7:32 am
Posts: 2
Hi,
I am facing the same issue. Did you have any suggestion?
Thanks.
Emiliano


Top
 Profile  
 
 Post subject: Re: substituting the error message at run time
PostPosted: Tue Aug 03, 2010 8:34 am 
Newbie

Joined: Tue Aug 03, 2010 8:31 am
Posts: 1
Hi,

I am facing the same issue. Did you have any suggestion? Thanks.

Tarot


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.