Hello all ,
We are using primefaces 5.2 with seam 2.3 . When we had used the p:menu in p:datatable it is showing error on browser console "Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience"
<p:column exportable="false" style="width:70px;">
<f:facet name="header">
<h:outputText value="Reports" />
</f:facet>
<p:commandLink styleClass="dropdown-toggle"
actionListener="#{pmlCampaignAction.test(cmUsers)}" id="dynaButton">
<img src="assets-production/camp_img/upload.png"></img>
</p:commandLink>
<p:menu id="reportMenuIdCm"
styleClass="dropdown-menu reports-campaign tasks-bar mt-xs"
overlay="true" trigger="dynaButton" my="center top"
at="center bottom">
<p:menuitem value="Upload"
action="#{pmlCampaignAction.test(cmUsers)}"
onclick="#{rich:component('popup')}.show()" />
<p:menuitem
rendered="#{pmlCampaignAction.showReportsExist(cmUsers).userFormId ne null}"
value="User Form" action="#{pmlCampaignAction.test(cmUsers)}"
onclick="#{rich:component('popupShowForpdfForm')}.show()" />
<p:menuitem
rendered="#{pmlCampaignAction.showReportsExist(cmUsers).bloodSampleId ne null}"
value="Blood Report" action="#{pmlCampaignAction.test(cmUsers)}"
onclick="#{rich:component('popupShowForBloodpdfForm')}.show()" />
</p:menu>
What is the reason for this ? is it because of using richcomponent
Synchronous XMLHttpRequest on the main thread is deprecated
Chrome .. but in other browsers it is not showing up the error and the page will stand still .
-
- Information
-
Who is online
Users browsing this forum: No registered users and 50 guests