--- Adam Hardy <[EMAIL PROTECTED]> wrote:
> - is there a way to have all the validation in one config file rather 
> than having one config file per Action class?

AFAICT the validation files are looked up the same way the resource files
are; for example I just added a superclass to one of my actions, renamed the
validation file to that superclass, and it worked.

I think it's a bad idea, though. I suppose if you always had unique field
names on all your forms and they always required the same validation it
wouldn't be too bad. The idea, though, is to keep a short distance between
components and configuration.

> - 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.

Yep; the <message...> element can use the "key" attribute.

d.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to