Login
Logging in...
Remember me
Log in
Forgot password or user name?
Log in with
Search in titles only
Search in Smart GWT Technical Q&A only
Search
Advanced Search
Forums
Home Page
Overview
Products
Services
Solutions
Contact
Company
Reify
Latest Topics
Today's Posts
Member List
Calendar
Forum
Smart GWT Technical Q&A
You need to login (link above) before you can post. If you do not yet have an account, please
register
.
Announcement
Collapse
No announcement yet.
X
Collapse
Posts
Latest Activity
Photos
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Filtered by:
Clear All
new posts
Previous
template
Next
wakalah
Registered Developer
Join Date:
Dec 2009
Posts:
4
#1
How set Max number and Min number in FloatItem
8 Oct 2010, 02:40
Hi,
I have a FloatItem but only allow to enter value from 1 to 99.9.
Can advise me how to validate?
Last edited by
wakalah
;
10 Oct 2010, 19:11
.
wakalah
Registered Developer
Join Date:
Dec 2009
Posts:
4
#2
10 Oct 2010, 19:28
I found this solution.
final FloatRangeValidator floatRangeValidator = new FloatRangeValidator();
floatRangeValidator.setMax(99);
floatRangeValidator.setMin(0);
floatRangeValidator.setErrorMessage("Only allow 0 to 99");
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment