Utility wrapper around resource bundles that provides locale-specific message string lookups, as well as parameter replacement services.
If desired, this class can be used to define a managed bean wrapping a specified resource bundle, with a declaration like this in a faces-config.xml
configuration file:
<managed-bean> <managed-bean-name>messages</managed-bean-name> <managed-bean-class> org.apache.shale.util.Messages </managed-bean-class> <managed-bean-scope>application</managed-bean-scope> <managed-property> <property-name>name</property-name> <value>com.mycompany.mypackage.Bundle</value> </managed-property> </managed-bean>$Id: Messages.java 481403 2006-12-01 21:27:54Z rahul $
|
|
|
|