Heh. You don't want just one character? :)

Eelco


On 3/22/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> did you mean
> ("[a-zA-Z]*") ? notice the star at the end
>
> -Igor
>
>
>
> On 3/22/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
> >
> Yeah, so that would be something like:
>
>  TextField txtusername = new TextField("username");
> txtusername.add(new PatternValidator("[a-zA-Z]"));
>
> Eelco
>
>
> On 3/22/06, JasonB <[EMAIL PROTECTED] > wrote:
> > Johan wrote an answer earlier that you should use a regular expression
> > validator.
> > I believe he was referring to the following class:
> > wicket.markup.html.form.validation.PatternValidator
> >
> > What problems are you having with this class and/or solution?
> >
> >  - Jason B.
> >
> >
> > ketan gote wrote:
> > > hi
> > >
> > > i want to validation of textfield  which will take only  characters in
> it
> > > eg for name there shouls be only character string.
> > > for which i have written
> > > TextField txtusername=new TextField("username",Character.class);
> > > which only check for single alphabets
> > > wating for reply
> > >
> > >
> > > ketan
> > >
> > >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> > that extends applications into web and mobile media. Attend the live
> webcast
> > and join the prime developer group breaking into this new coding
> territory!
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -------------------------------------------------------
>
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
> _______________________________________________
>
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to