You can try the attribute 
placeholder<http://www.w3schools.com/tags/att_input_placeholder.asp>
.
getElement().setPropertyString("placeholder", "default value")

On Thursday, February 7, 2008 9:10:17 AM UTC-5, Brock Parker wrote:
>
> Hello, 
>
> Is there anything built into GWT to display a value in a TextBox if 
> the field is emtpy?  This value would disappear once the user clicked 
> in the field and started typing.  I have seen this functionality on 
> several Google web pages (i.e. the Contacts page in GMail) but I can't 
> find anything in the documentation or samples about it. 
>
> Thanks, 
>
> Brock

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to