On 11/28/05, Kalra, Ashwani <[EMAIL PROTECTED]> wrote:
>
> Yeah, you are  right. But javascript generated by struts validator does
> not support indexed fields. Most of our jsps requires that. Also for
> locale specific validation we have to define separate formset for each
> country. Looks like validation file will become too large and difficult
> to maintain.

In Validator 1.2.0 you may not have to have a separate formset for
each Locale - check out "1.2 Variables in Resource Bundles" here:
http://wiki.apache.org/jakarta-commons/ValidatorVersion120

Unfortunately, this is the one feature of Validator 1.2.0 that needs
Struts 1.3.0

Another thing you might be interested in is the enhancement I did some work on:
http://issues.apache.org/bugzilla/show_bug.cgi?id=32343

It generates better JavaScript validation - including indexed fields.
Unfortunately I haven't got back to working on it, but it is my
intention to at some point.

Niall

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

Reply via email to