I'm working in a jsf project using primefaces and we decided to integrate it with Bootsfaces due to their beautiful components, but when we try to type in a something like 'José', it will look correct initially, but after sending it to the database to be saved, it will save it as 'José'
All this special characters worked fine in primefaces components. Am i missing something in my configuration files? or is it a Bootsfaces issue.
<b:inputText label="Name" span="4" value="#{testBean.name}"/>
Try using action instead of action listener. And also are you not using ajax? here is an example xhtml:
<h:form>
<b:inputText value="#{testBean.name}"/>
<b:commandButton action="#{testBean.save}" value="Save">
<f:ajax execute="@form" render="@form"/>
</b:commandButton>
</h:form>
here is an example backing bean
@Named
@ViewScoped
public class TestBean {
private String name;
@PostConstruct
public void onload() {
name="José";
}
public String save() {
System.out.println(name);
return null;
}
//getters
//setters
}