• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Customise Validation error messages in Oracle 10g JDeveloper  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have message textbox bounded to a model field. Code given below.
<messageTextInput model="${bindings.Notes}"
columns="85"
maximumLength="2500"
disabled="${uix.data.Child.txtNotesD}"
rows="6" required="yes"
prompt="" id="Notes"/>I don't want the label to be displayed so I have specified the prompt attribute as "". But when no value is given to this field and when we try to submit the form, it shows error message as '"" cannot be null.' I want the error message to be as "Notes cannot be null". If I specify the prompt value as "Notes", I get the expected message. Is there any other way without specifying the prompt value?
 
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Cob is sand, clay and sometimes straw. This tiny ad is made of cob:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!