Questions tagged [validatelongrange]

3 questions
7
votes
1 answer

Using validator with a variable attribute in ui:repeat

I'm using com.sun.faces version 2.1.18. In my application I have a dynamic list of questions. I use to render each question. Depending on the type of question I render a type of input component and validation. In case of a number range…
Jasper de Vries
  • 19,370
  • 6
  • 64
  • 102
2
votes
2 answers

NumberFormatException while converting Hexadecimal String to Long

I am trying to convert the following Hexadecimal string cc10000000008401 to Long. Java unexpectedly generating NumberFormatException. System.out.println(Long.parseLong("cc10000000008401",16)); I think, It should not generate exception as…
Tarun
  • 3,162
  • 3
  • 29
  • 45
0
votes
2 answers

f:validateLongRange. Validation huge numbers

I am using JSF 2 and primefaces 3.5. I have an inputText which must be a number between Long.MIN_VALUE and Long.MAX_VALUE.
San Kap
  • 11
  • 6