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#4028335

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028335
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to