A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
To limit no of character (30) in SuggestBox
Joined: May 29, 2008
Jul 11, 2011 09:08:35
I have one SuggestBox populating data from database. also user can manually add text into the same.
I want to restrict no of character in SuggestBox is 30.
I used the method
suggestbox.getTextBox() method but no avaliable method are available like setmaxlength() or like
Any suggestion is highly aapreciated
Joined: Jul 26, 2007
Jul 12, 2011 03:42:50
suggestbox.getTextBox() returns you a TextBoxBase. Maybe you can try casting it to TextBox and then invoking setMaxLength() on it
How to ask questions
Donate a pint, save a life!
Onff-turn it on!
I agree. Here's the link:
subject: To limit no of character (30) in SuggestBox
Text file to string and vice versa
Uploading file in a folder under context root problem
How to get selected item's ID from suggestBox?
(GWT) Forcing SuggestBox to display its values
One last problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014