p:confirmDialog for p:commandLink not working inside p:table

UI Components for JSF
Post Reply
mulderbaba
Posts: 10
Joined: 24 Nov 2009, 23:05

11 Dec 2009, 16:52

it's not firing any js errors...
this is not working for confirmDialogs

Code: Select all

<p:dataTable  var="..." widgetVar="..." value="...."  rows="10">
	<p:column>
		<f:facet name="header">
		</f:facet>
		<p:commandLink action="...."
			update="...">
			<p:confirmDialog yesLabel="Destroy" noLabel="Not yet"   
				 message="Are you sure about destroying the world?"   
				 header="Initiating destroy process" severity="warn" />							
			<p:graphicImage value="..."  />
		</p:commandLink>
	</p:column>

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

11 Dec 2009, 18:51

Weird, still I will not suggest using confirmdialog inside a datatable since it will render a dialog for each row, it could be a performance hit also. Maybe be the return confirm is the way to go here.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 64 guests