Wednesday, October 28, 2009

Read Resource Bundle From Backingbean

ResourceBundle rb = ResourceBundle.getBundle("ResourceBundleFileName",FacesContext.getCurrentInstance().getViewRoot().getLocale());
rb.getString("key");

No comments:

Post a Comment