|
From: Steven D. <ste...@gm...> - 2005-04-09 13:10:10
|
Hi guys,
Do you guys support the notion of validators like XWork validators?
Since WebFlow uses Spring validators could be configured
declaratively. If you're interested I would be happy to create a BNF
file for something like this:
{ firstname : length of form.firstname > 0 : "First name must not be empty" }
{ firstname : length of form.firstname <= 30 : "First name must be no
longer than 30 characters" }
{ age : form.age is number : "[${form.age}] is not a valid number" }
{ age : form.age > 18 : "You must be 18 years or older" }
{ age : form.age <= 110 : "We do not do business with the undead" }
Kind regards
Steven Devijver
--
"If you want to be a different fish, you gotta jump out of the school."
-- Captain Beefheart
|