pass parameters to confirmDialog

UI Components for JSF
Post Reply
cbmyers
Posts: 53
Joined: 20 Oct 2010, 14:56

04 Nov 2010, 15:20

Hi,

i have a dataTable and it has commanLinks for each row to modify or delete the row. For the delete i would like a confirmDialog to ask the user if they are sure. I would like to have one confirmDialog that each row uses.

I would like to pass a name and an id to the confirmDialog so that the name can be used in the message and the id can be used to delete the row.

How would i go about that?

Thanks for your help.
- Chris
PrimeFaces 3.0M1
Eclipse Indigo (with Tomcat 7.0.14)
Java 1.6
JSF 2.0 (Mojarra 2.0.4)
hibernate 3.5.5

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 28 guests