This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

want to show error message when illegal characters are entered in input fields

 
Adi Wanik
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi. i have some input field where i need to enter time in HH:MM format. But when i enter illegal characters it shows error message like : "ENTER VALID TIME". The error message is in i18 properties file. But when i enter illegal characters in more than one field, the same error message is also displayed more than one time (because my code is in <a4j:repeat/> loop, may be :rolleyes. But i want to show this for only one time, no matter how many times user enters illegal char..I used <f:attribute name="replaceMessage" value="#{DIALOG.I18N.BREAKSTART_REQUIRED}"/> in <a4j:repeat/> loop...BREAKSTART_REQUIRED is the name of the field....please help
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check your private messages.
 
Adi Wanik
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amit Ghorpade wrote:Please check your private messages.


i didnt got that amit... which messages?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic