struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: How to i18n post validation error messages?
Date Wed, 13 Apr 2011 13:05:29 GMT
On Wed, Apr 13, 2011 at 9:01 AM, alex zaim <icidrop@yahoo.com> wrote:
>>No. Use existing getText(...) methods.
>
> That will be parsed right before validation. I want to show the fielderror results...
> in another language.

I don't understand what you're saying.

If you're doing validation in validate(). getText(...) is I18Nized.
Whether you do the validation via XML, validate(), or both, the keys
will access your I18N resource files.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message