Thanks Nial and others. Yes, that's it, exactly. Unfortunately I have to duplicate my
group for each language but I think copy/paste will help. BTW, I'll look at
nightly build of Validator and its inheritance feature to see how could I exploit this
new functionality.
Stjepan Brbot
"Niall Pemb
asier. In fact, it makes it easier to think of
your struts app in terms of the business objects, which is what the goal
should be.
-Joe
> -Original Message-
> From: Takhar, Sandeep [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 14, 2004 1:41 PM
> To: Struts Users Mailin
April 14, 2004 1:14 PM
To: 'Struts Users Mailing List'
Subject: RE: Date validator and I18N
Sandeep,
That's more or less what I found as well. I gave up eons before you did
though. Glad it wasn't just me.
My "previous solution" was an utter kludge to BeanUtils
om: Takhar, Sandeep [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 14, 2004 7:39 AM
> To: Struts Users Mailing List
> Subject: RE: Date validator and I18N
>
>
> I have coded LocaleBeanUtils, but had to subclass the whole
> thing since it seems like it is a version behi
PROTECTED]
Sent: Tuesday, April 13, 2004 10:51 PM
To: 'Struts Users Mailing List'
Subject: RE: Date validator and I18N
Yes, you can get the dates validated this way, but isn't actually the
tough hurdle.
You've got Date objects being stored some place.
You'll need them
sday, April 13, 2004 7:04 PM
To: Struts Users Mailing List
Subject: RE: Date validator and I18N
I haven't personally tried doing this, but according to the
doc you can specify language/country/variant on the formset
when defining your validation so that the validator will
choose the be
o:[EMAIL PROTECTED]
> Sent: Tuesday, April 13, 2004 7:04 PM
> To: Struts Users Mailing List
> Subject: RE: Date validator and I18N
>
>
> I haven't personally tried doing this, but according to the
> doc you can specify language/country/variant on the formset
> when
In your validation.xml you can define different formsets for different
localle by specifiying language/country/variant attributes
Means you have to duplicate your validation rules for each language in
Struts 1.1 - however the latest nightly build of validator includes an
"inheritance" featur
I haven't personally tried doing this, but according to the doc you can
specify language/country/variant on the formset when defining your
validation so that the validator will choose the best one available for
the given user's locale.
>From the validator DTD:
So you would want to create fou
9 matches
Mail list logo