-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
wenn i add constraint="No Empty" on for example an Textboxt, an validation error is a tooltip on the browser.
I have a save-Button an react on it on Java-Side. Is there an easy way to put an error on the Text from out of my Java-Code?
Thanks in advice for giving me a suggestion.
Hi,
i'm not sure about your issue, do want fire errormessages from your javacode.
Variant 1:
This could be done with:
throw new WrongValueException(comp, errMessage);
comp = Component i.e. Textbox
errMessage = String with the errormessage
See also
this Thread.
Variant 2:
Is write custom contraints, that can more than no empty. Check this docs.
/Robert
Asked: 2008-08-29 20:55:21 +0800
Seen: 204 times
Last updated: Aug 30 '08