Hi Miro,

can't you use a PatternValidator such as:

add(new TextField("textfieldname").add(new PatternValidator("^\\d+$")));

Cheers
Philipp
I s there  any textfield which  takes only numbers, I dont want user to enter
letters only numbers so I want a textfield which  takes only numbers is
there any such textfield ?


--

Averbis GmbH
c/o Klinikum der Albert-Ludwigs-Universität
Stefan-Meier-Strasse 26
D-79104 Freiburg

Fon: +49 (0) 761 - 203 6707
Fax: +49 (0) 761 - 203 6800
E-Mail: dau...@averbis.de

Geschäftsführer: Dr. med. Philipp Daumke, Kornél Markó
Sitz der Gesellschaft: Freiburg i. Br.
AG Freiburg i. Br., HRB 701080


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to