Ajax suddenly not working
i got this error in my console.and suddenly the selectOneMenu did not fire any listener when the value changes.im using primefaces-3.0.M2.jar.
Unhandled by MetaTagHandler for type org.primefaces.component.behavior.ajax.AjaxBehavior
and this is my code in .xhtml file
<p:ajax actionListener="#{innovationManager.innovationArea开发者_开发百科Listener}" event="change" update="frmInnovation" />
anyone got any clue about this?
The <p:ajax>
tag does not support the actionListener
attribute. It should have been listener
.
<p:ajax listener="#{innovationManager.innovationAreaListener}" event="change" update="frmInnovation" />
I wonder if you didn't omit some parts of the error message. The hint about the actionListener
attribute should have been included in the exception message.
精彩评论