Forums de discussion
<p:dialog n'est pas afficher
amal miftahi, modifié il y a 8 années.
<p:dialog n'est pas afficher
Junior Member Publications: 33 Date d'inscription: 12/05/15 Publications récentes
Bonjour
j'ai un problème au niveau de ce composante <p:dialog :
lors je clik sur la button rien n’affiche et ce qu'il ya un probleme au niveau de l’attribut oncomplete="introViewDialog.show()" ? svp j'ai besoin de votre aide .
et voila la <p:dialog
je travail sur la version Primefaces 5.2 et liferay 6.2 , merci avance .
j'ai un problème au niveau de ce composante <p:dialog :
lors je clik sur la button rien n’affiche et ce qu'il ya un probleme au niveau de l’attribut oncomplete="introViewDialog.show()" ? svp j'ai besoin de votre aide .
<p:commandbutton id="selectButton" icon="ui-icon-search" title="View" oncomplete="introViewDialog.show()" update=":form:displayForm" immediate="true" value="lister">
<f:setpropertyactionlistener target="#{introBean.selectedIntro}" value="#{intro}" />
</p:commandbutton>
et voila la <p:dialog
<h:form id="displayForm">
<p:dialog id="displayDialog" header="Afficher" widgetvar="introViewDialog" resizable="false" showeffect="clip" hideeffect="fold" appendtobody="true">
<h:panelgrid id="display" columns="2" cellpadding="4">
<h:outputtext value=" id :" />
<h:outputtext value="#{introBean.selectedIntro.id}" />
<h:outputtext value="titre :" />.......</h:panelgrid></p:dialog></h:form>
je travail sur la version Primefaces 5.2 et liferay 6.2 , merci avance .
Juan Gonzalez, modifié il y a 8 années.
RE: <p:dialog n'est pas afficher
Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
If you post these issues in Liferay Faces English category probably you could find better support ;)
About your issue, since Primefaces 5 you should invoke your javascript widgetVar using PF('...') javascript method.
More info here: https://issues.liferay.com/browse/FACES-2074
About your issue, since Primefaces 5 you should invoke your javascript widgetVar using PF('...') javascript method.
More info here: https://issues.liferay.com/browse/FACES-2074