[jboss-user] [JBoss Seam] - Re: Change messages (created, updated, deleted)

damianharvey do-not-reply at jboss.com
Thu Nov 22 12:49:33 EST 2007


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



More information about the jboss-user mailing list