| java.lang.Object uk.org.ponder.messageutil.MessageLocator uk.org.ponder.springutil.SpringMessageLocator
SpringMessageLocator | public class SpringMessageLocator extends MessageLocator (Code) | | An adaptation of the Spring "MessageSource" to the RSF/PUC "MessageLocator"
interface. MessageLocator, as well as supplying a greater variety of
"utility" methods, guarantees to always to resolve to at least some form of
default message rather than propagating exceptions.
author: Antranig Basman (antranig@caret.cam.ac.uk) |
setDefaultMessage | public void setDefaultMessage(String defaultmessage)(Code) | | The ultimate fallback message to be rendered in the case of complete
failure to resolve for a message.
|
setDefaultMessageKey | public void setDefaultMessageKey(String defaultmessagekey)(Code) | | A message key for a default message, to be tried in the underlying
MessageSource *before* finally falling
back to defaultMessage.
|
setMessageSource | public void setMessageSource(MessageSource messagesource)(Code) | | |
|
|