This content has been marked as final.
Show 1 reply
-
1. Re: Change messages (created, updated, deleted)
damianharvey Nov 22, 2007 12:49 PM (in response to jagr)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