I trying to get BalusC's JSF 2.3+ example (How can server push asynchronous changes to a HTML page created by JSF?) working using JBoss WildFly 12.0.0.Final
I have added the JBoss JSF JAR:
jboss-jsf-api_2.3_spec-2.3.3.SP1.jar
However when I try and display my XHTML page which has:
<h:form>
<f:websocket channel="push">
<f:ajax event="updateNotifications" render=":panelGridSelect" />
</f:websocket>
</h:form>
I get:
javax.faces.view.facelets.TagException: /enterProduct.xhtml @61,45
Tag Library supports namespace:
http://xmlns.jcp.org/jsf/core, but no tag was defined for name:
websocket
In IntelliJ IDEA the:
f:websocket
is shown in red, as though it can't find it?
Where is the taglib for f:websocket?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…