Re: Skip evaluation of ${...} and %{...} in TextParseUtil

2013-10-27 Thread Chris Pratt
Have you tried escaping the string? You might try \${min} or possibly \\\${min} (since the Properties object may unescape once). (*Chris*) On Sun, Oct 27, 2013 at 9:55 AM, Umesh Awasthi wrote: > Oh, that was my typo and yes message indeed contain $. > Issue here is how bean Validation is work

Re: Skip evaluation of ${...} and %{...} in TextParseUtil

2013-10-27 Thread Umesh Awasthi
Oh, that was my typo and yes message indeed contain $. Issue here is how bean Validation is working. My problem is, when TextParseUtil is on to action, i do not have values for ${min} and ${max}, so i can not pass these values as parameter to TextParseUtil. And when message being passed back to p

Re: Skip evaluation of ${...} and %{...} in TextParseUtil

2013-10-27 Thread Lukasz Lenart
2013/10/27 Umesh Awasthi : >> Are you sure? There is no opening chars (either $ or %)... >> > Not sure what does this mean? it supposed to be like this: Please provide a valid mobile number between ${min} and ${max} And then TextParseUtil will parse the placeholders. >> You can implement you

Re: Skip evaluation of ${...} and %{...} in TextParseUtil

2013-10-27 Thread Umesh Awasthi
Hi Lukasz, On Sun, Oct 27, 2013 at 9:42 PM, Lukasz Lenart wrote: > 2013/10/27 Umesh Awasthi : > > Hi All, > > > > Is there a way to skip evaluation of ${} and %{} in TextParseUtil. > > Here is the reason i need this > > > > I need to display validation errors and need to pass parameters to > mes

Re: Skip evaluation of ${...} and %{...} in TextParseUtil

2013-10-27 Thread Lukasz Lenart
2013/10/27 Umesh Awasthi : > Hi All, > > Is there a way to skip evaluation of ${} and %{} in TextParseUtil. > Here is the reason i need this > > I need to display validation errors and need to pass parameters to messages > defined in resource bundles. > > this is how i have defined message in prope

Skip evaluation of ${...} and %{...} in TextParseUtil

2013-10-27 Thread Umesh Awasthi
Hi All, Is there a way to skip evaluation of ${} and %{} in TextParseUtil. Here is the reason i need this I need to display validation errors and need to pass parameters to messages defined in resource bundles. this is how i have defined message in property file mobile.number=Please provide a v