This content has been marked as final.
Show 2 replies
-
1. Re: How can I change default messages (Home objects)?
baz Mar 15, 2007 7:05 AM (in response to jquery)Read chapter 10.2 of the documentation(Seam1.2.0.Patch1)
Near the end of this chapter -
2. Re: How can I change default messages (Home objects)?
jquery Mar 15, 2007 8:11 AM (in response to jquery)Right I've missed this fragment. Thanks.
Actually visibility of String getCreatedMessage() method should be set to public and not to protected (as in doc). And then the only need is to return proper key from ResourceBundle regarding type of person to be saved i.e. student, teacher.return ResourceBundle.instance().getString("specialist_created");
Locale is determined automagically :)