[jboss-user] [JBoss Seam] - Re: How can I change default messages (Home objects)?

jquery@interia.pl do-not-reply at jboss.com
Thu Mar 15 08:11:35 EDT 2007


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



More information about the jboss-user mailing list