-->
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.  [ 1 post ] 
Author Message
 Post subject: validation error display problem
PostPosted: Fri Dec 18, 2009 2:15 am 
Newbie

Joined: Sun Dec 13, 2009 4:14 pm
Posts: 10
In one of my hibernate entity following code is there
Code:
   @Column(name = "PRICE", precision = 10)
   public BigDecimal getPrice() {
      return this.price;
   }

   public void setPrice(BigDecimal price) {
      this.price = price;
   }


Now when I try to enter string in the input field on seam form I see following error message:
Quote:
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:


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

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.