const mixinafFormBean::Messages
afFormBean::Messages
(Service) - Creates a map of messages by merging together property files. Property files are looked for in the following locations:
FormBean.props
in podafFormBean
FormBean.props
in pod<pod>
<bean>.props
in pod<pod>
Messages override those defined previously.
Note that message maps are cached on the given bean type, so hit of collating .props
files is only taken once per bean type.
Messages
also takes contributions of string Maps:
@Contribute { serviceType=Messages# } Void contributeMessages(Configuration config) { config.add([ "loginDetails.username.label" : "Username:", "loginDetails.password.label" : "Password:" ]) }