Hi,
create managed bean with public method getPlaceOfBirth() and change your label to
label="#{yourBundleBeen.placeOfBirth}"
The method retrieves message from resource bundle.
For java class resource bundle the method can look like:
public String getPlaceOfBirth() {
return getMsg("PlaceOfBirth");
}
private String getMsg(String key) {
UIResources bundle = new UIResources();
FacesContext ctx = FacesContext.getCurrentInstance();
Locale locale = ctx.getViewRoot().getLocale();
ResourceBundle rbundle =
bundle.getBundle("com.xxx.view.resources.UIResources", locale);
return rbundle.getObject(key).toString();
}
(UIResources - resource bundle class)
I hope similar technique can be used for resource property files.
Rado