Hi,

I want to use this method when I have to generate special messages after a
certain operation, like f.e. that a database operation was successful. This
has to be done in the controller..

Cheers, Bo

2008/10/5 Thomas Vandahl <[EMAIL PROTECTED]>

> [EMAIL PROTECTED] wrote:
> > If I wanted to call the localizationTool from within my code to get a
> > localized string, what would then be the best method? Construct it by
> hand,
> > or does Turbine provide some feature for this?
>
> There is the static accessor Localization.getString(String, Locale),
> however if you believe this is necessary, I suggest you should think
> again. Localization should be done in the view layer, not in the
> controller.
>
> That said, you may well be right to attempt what you want. That's what
> the above-mentioned accessor is for.
>
> Bye, Thomas.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to