While researching the impact of upgrading from PF8 to PF12 I ran into the problem that _any_ ajax functionality is broken in my project.
So to research this problem I checked out the latest PF showcase and did some testing.
To replicate the problem I include extentions 12.0.1 as dependancy to the project and then create a test.xhtml containing not much more than this:
Code: Select all
<h:form>
<p:inputMask value="#{basicView.text5}">
<p:ajax listener="#{basicView.handleKeyEvent}" update="@form"/>
</p:inputMask>
</h:form>
Now here's where it gets weird, if I use extentions version 10 instead of 12 (or 11) the onchange _is_ rendered and the test works as it should.
Also, the problem occurs when I deploy the showcase war to a freshly downloaded payara 5 (Payara Server 5.2022.4 #badassfish (build 462)) but not when I run the showcase using jetty (mvn clean jetty:run -Pnon-ee,mojarra-2.3)
There are no error messages in the browser console, nor in de server logs so I am a bit lost where to start.
Thanks,
Robin