• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem in displaying appropriate error message

 
Ranch Hand
Posts: 686
Mac
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In one of my hibernate entity following code is there


Now when I try to enter string in the input field on seam form I see following error message:

postad:priceDecorate:price: 'f' must be a signed decimal number consisting of zero or more digits, that may be followed by a decimal point and fraction. Example: 198.23



As you can see instead of Price -appropriate field name, postad:priceDecorate:price: getting displayed.
What I have to do to only display Price instead of postad:priceDecorate:price:
 
Jignesh Patel
Ranch Hand
Posts: 686
Mac
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
any body help me on this?
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This looks more of a Seam question to me rather than Hibernate. I guess the error message is probably configurable in Seam. Have you looked up Seam documentation?
 
Jignesh Patel
Ranch Hand
Posts: 686
Mac
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes error message is configurable in seam. But the question I have asked in hibernate forum because it is hibernate validator who generats message and it doesn't understand what name to display and shows unwanted name. I don't know where to fix so that hibernate validation message will not pickup the name I have mentioned in previous post.
reply
    Bookmark Topic Watch Topic
  • New Topic