Boudewijn van Weert wrote:
> 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..

Not really. I usually return a localization key that points to the full
message, like in

data.setMessage(Constants.DB_SUCCESS);

and display it in the template like

$l10n.get($data.Message)

Bye, Thomas


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

Reply via email to