I assume that you're using a class that extends EntityHome. In your 
persist/update/remove methods you can specify the message 
eg:super.setCreatedMessage("hello")
or look at injecting the message bundle and using that:eg
  | @In private Map<String,String> messages;
  | ...
  | @Override
  | public String persist() {
  |    super.setCreatedMessage(messages.get("my.created.key"));
  | ...Cheers,

Damian

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107172#4107172

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

Reply via email to