0

constraint error box in java

asked 2017-06-20 10:25:39 +0800

ofaruk gravatar image ofaruk
5 1

updated 2017-06-20 10:26:28 +0800

i.stack.imgur.com/YG4Jc.png

How can I generate constraint error box in java shown in the link.

The no empty constraint throwns onChanging event, I want throwns in button onClick.

When the save button is clicked if tele is empty the error box shows.

Thank you.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-11-08 16:30:27 +0800

cor3000 gravatar image cor3000
6280 2 7

you can call textbox.setErrorMessage() as in the example below

http://zkfiddle.org/sample/2218lj7/1-error-message-from-java

this works with any InputElement

Robert

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2017-06-20 10:25:39 +0800

Seen: 21 times

Last updated: Nov 08 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More