You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Chris Pat <cp...@yahoo.com> on 2007/12/14 14:13:29 UTC
formBean I18N
Hello
Is it possible to have the reset() of a formBean be internationalized? I can do it on the jsp. However how do I refer to the correct language message resource bundle in the formBean itself? tia
Re: formBean I18N
Posted by "Alberto A. Flores" <aa...@gmail.com>.
Take a look at:
http://struts.apache.org/1.x/apidocs/org/apache/struts/validator/Resources.html#getMessage(javax.servlet.http.HttpServletRequest,%20java.lang.String)
Hope this helps... It should be straight forward.
Chris Pat wrote:
> Hi Alberto
> The second. To result with a localized text string for the value of the field when reset() is called.
>
> "Alberto A. Flores" <aa...@gmail.com> wrote: Do you mean changing the name of the method? Or calling the resource
> bundle to generate a string (using the proper locale)?
>
> Chris Pat wrote:
>> Hello
>> Is it possible to have the reset() of a formBean be internationalized? I can do it on the jsp. However how do I refer to the correct language message resource bundle in the formBean itself? tia
>>
>
--
Alberto A. Flores
http://www.linkedin.com/in/aflores
Re: formBean I18N
Posted by Chris Pat <cp...@yahoo.com>.
Hi Alberto
The second. To result with a localized text string for the value of the field when reset() is called.
"Alberto A. Flores" <aa...@gmail.com> wrote: Do you mean changing the name of the method? Or calling the resource
bundle to generate a string (using the proper locale)?
Chris Pat wrote:
> Hello
> Is it possible to have the reset() of a formBean be internationalized? I can do it on the jsp. However how do I refer to the correct language message resource bundle in the formBean itself? tia
>
--
Alberto A. Flores
http://www.linkedin.com/in/aflores
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: formBean I18N
Posted by "Alberto A. Flores" <aa...@gmail.com>.
Do you mean changing the name of the method? Or calling the resource
bundle to generate a string (using the proper locale)?
Chris Pat wrote:
> Hello
> Is it possible to have the reset() of a formBean be internationalized? I can do it on the jsp. However how do I refer to the correct language message resource bundle in the formBean itself? tia
>
--
Alberto A. Flores
http://www.linkedin.com/in/aflores