How do you want to use i18n in your models? On 4/26/07, tibi <[EMAIL PROTECTED]> wrote:
ok it works in actions but how can i use it in my models? should i pass my action into the moddel to use her getText method?tibi tibi wrote: > ahhh it must be the super.getText("") method ;) > > tibi > > tibi wrote: >> hi, >> >> i can't find an example of how to use i18n from within my actions. >> in struts it used to something like this: >> errors.add(ActionErrors.GLOBAL_ERROR, new >> ActionError("key.order.no.item")); >> >> but in struts2 this will not work. >> >> anyone? >> >> thanks >> >> tibi >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
