import static com.ibm.xsp.extlib.util.ExtLibUtil.*; public Object getGlobalObject(String obj) throws Exception { return resolveVariable(FacesContext.getCurrentInstance(),obj); } public String getLangString(String bundle,String key) throws Exception { try{ ResourceBundle rb = (ResourceBundle)this.getGlobalObject(bundle); return rb.getString(key); }catch (Exception e) { e.printStackTrace(); return "##NOT FOUND##"; } } You now can use the method to return a value for a given key from a specific resoure bundle getLangString('myButtonLabels','CANCEL');