java - messages.properties taken from db -
java - messages.properties taken from db -
possible duplicate: design question regarding java ee entity multiple language support
i'm working on i18n of jsf application. need standard jsf messages located in messages.properties taken database. there simple way it?
thanks.
i think found answer:
public class dbmessagesbundle extends resourcebundle { @override protected string handlegetobject(string key){ ... } @override public enumeration<string> getkeys() { ... } } and in facesconfig.xml
<application> ... <message-bundle>mypackage.dbmessagesbundle</message-bundle> </application> thank help.
java spring jsf internationalization
Comments
Post a Comment