File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes GWT and the fly likes GWT Mark Invalid Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "GWT Mark Invalid" Watch "GWT Mark Invalid" New topic

GWT Mark Invalid

SanjayR Jain
Ranch Hand

Joined: Mar 05, 2009
Posts: 43
I am using gwt-ext 1.7.1.In which I have used TextField.
On the value of textField instance I have done validation.
If it is validation return is false then I marked that textField invalid.Like below:

This made a red circle on the right side of the textField.
ANd when I over the mouse on that red circle It shows invalid message "Invalid Value"

But what I want to show invalid message when validation return false only not when the do mouse over.

Is there any method or simple way to do that?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10825

What is markInvalid()? Is it your custom method?

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
SanjayR Jain
Ranch Hand

Joined: Mar 05, 2009
Posts: 43
markInvalid() in not my method.
It is method provided by the GWT.
I agree. Here's the link:
subject: GWT Mark Invalid
It's not a secret anymore!