Hi Folks,
just slogging my way up the learning curve of XWorks Validation with
that 'here we go again' feeling, and it occurred to me that I might be
able to plug in the old commons-validator more quickly.
XWorks's Struts2 validation framework is probably not that bad and of
course commons-validator had its problems, but I still found it better
than Spring MVC's Valang and I've seen activity on related Jakarta
projects such as commons-beanutils which gives me the idea that there's
a good chance commons-validator may even be improved.
I plugged commons-validator into a previous project last year and found
it a very simple exercise. I don't think it would take much to implement
it through a custom interceptor. Any opinions?
If I'm going to stick with XWorks validation though, there are a couple
of questions:
- is there a way to have all the validation in one config file rather
than having one config file per Action class?
- it can be localised can it? What I've seen so far in the examples is
all just plain English, no l10n keys at all.
regards
Adam
ps Merry Christmas everyone!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]