Re: URLValidator to auto-append "http://"

2008-07-18 Thread Michael Sparer
try adding it before validation - i copy+paste my code (which works in production) final TextField website = new TextField("profiles.contactProfile.website") { private static final long serialVersionUID = 1L; // add http:// if mis

Re: URLValidator to auto-append "http://"

2008-07-17 Thread Sergey Podatelev
Okay, I'm sorry, that was a bad question. Validators shouldn't do anything but validation anyway. But a way to allow validator to skip protocol-less strings, i.e. "google.com" instead of "http://google.com";? On Thu, Jul 17, 2008 at 11:04 AM, Sergey Podatelev < [EMAIL PROTECTED]> wrote: > Is the

URLValidator to auto-append "http://"

2008-07-17 Thread Sergey Podatelev
Is there a way to configure URLValidator to automatically append the "http://"; string to provided value in case it's otherwise correct, but no protocol notation is present? -- sp