Re: Input validation issue

2009-04-30 Thread Thiago H. de Paula Figueiredo
2009/4/29 Pedro Januário : > Anyone would like to have this improvement? I wouldn't :), but you can create a new binding prefix that pulls the regex from a database. Your template would look like: -- Thiago - To unsubscribe,

Input validation issue

2009-04-29 Thread Pedro Januário
I would like to have this kind of behaviour: public String getFieldRegex() { return "^[a-z]+$"; } or public String getFieldRegex() { return "regexp=^[a-z]+$"; } I know that it's possible to include regular expressions in the message resources, but i would like to have a diferent sourc