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 :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028335#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...