Hi Deepthi,
You can disable grouping as follows:
ULCNumberDataType dataType = new ULCNumberDataType();
dataType.setInteger(true);
dataType.setGroupingUsed(false);
textfield.setDataType(dataType);
Please refer to the Javadoc for the ULCNumberDataType class. You will find
the Javadoc in the doc/apidoc directory of your ULC installation.
Thanks and regards,
Janak
-----------------------------------------
Janak Mulani
email: [email protected]
url: http://www.canoo.com <http://www.canoo.com/>
Beyond AJAX - Java Rich Internet Applications
http://www.canoo.com/ulc
-----------------------------------------
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of deepthi
mantripragada
Sent: Tuesday, January 13, 2009 4:41 PM
To: [email protected]
Subject: Re: [ULC-developer] Validation on ULCTextField
Hai Janak,
Thank you for your Help.I am working in Tomax India and having
Permanent ULCLicense.
Now Coming to the question I implemented ULCNumberDataType for the
ULCTextField and solved the existing problem.But now my TextField value is
from Database which is long variable and when trying to set the TextField
with this value it default getting comma.
Example: In DB we have a value of 1456 (declared as Long ).
then after trying to set this ULCTextField with the above value it
stores as
Allocation : 1,456
Can u help me regarding this.
On Tue, Jan 13, 2009 at 1:29 PM, Janak Mulani
<[email protected]> wrote:
Hi Deepthi,
You can set ULCNumberDataType on a ULCTextField.
Please see the Javadoc for the class for examples.
BTW: Which company do you work for and what kind of
license are you using?
Thanks and regards,
Janak
-----------------------------------------
Janak Mulani
email: [email protected]
url: http://www.canoo.com <http://www.canoo.com/>
Beyond AJAX - Java Rich Internet Applications
http://www.canoo.com/ulc
-----------------------------------------
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of
deepthi
mantripragada
Sent: Tuesday, January 13, 2009 12:43 PM
To: [email protected]
Subject: [ULC-developer] Validation on ULCTextField
Hai
I am new to ULC Technology and using ulc-2008. I
need to know how
to perform validation for the ULCTextField which allows
only numbers and
when trying to enter special character it should not
allow.
Please help me,
Thank you,
Deepthi.
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer