directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <seelm...@apache.org>
Subject Re: [Studio] Integer Editor does not accept negative numbers
Date Fri, 16 Oct 2009 07:56:32 GMT
Emmanuel Lecharny wrote:
>> Another issue: the RFC says "unlimited magnitude". However the integer
>> editor only accepts the Java integer range -2^31...2^31-1. To solve that
>> we need to remove the "spinner" widget we use and replace it with an
>> normal text field and check the content using a regular expression.
>>   
> Or use a long. It's unlikely that someone will ever inject some value
> bigger than |2^63| ...

Right. But the problem is that the GUI widget we are using (SWT Spinner)
can only handle integers.

Stefan


Mime
View raw message