I got this error each time I click on a b:commandButton that contains a iconAwesome
bsf.js.xhtml?ln=bsf:7 Uncaught TypeError: Cannot read property 'id' of nullBsF.ajax.onevent @ bsf.js.xhtml?ln=bsf:7sendEvent @ jsf.js.xhtml?ln=javax.faces:1response @ jsf.js.xhtml?ln=javax.faces:1onComplete @ jsf.js.xhtml?ln=javax.faces:1AjaxEngine.req.xmlReq.onreadystatechange @ jsf.js.xhtml?ln=javax.faces:1
Here the code used on the xhtml that cause such exception, blocking all the other features on the interface.
<b:commandButton look="primary" value="Accept"
iconAwesome="fa-pencil-square-o"
ajax="true"
update="@form"
actionListener="# {navState.popSubContents(1)}"
action="#{courtMan.saveCourtEdit()}" />
Without the iconAwesome it works well.
So how to use iconAwesome on the commandButton ?
Thanks