留言板

<p:dialog n'est pas afficher

amal miftahi,修改在8 年前。

<p:dialog n'est pas afficher

Junior Member 帖子: 33 加入日期: 15-5-12 最近的帖子
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 .
<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 .
thumbnail
Juan Gonzalez,修改在8 年前。

RE: <p:dialog n'est pas afficher

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
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