ActionListener not working with CommandButton in DataGrid

UI Components for JSF
Post Reply
User avatar
nytal
Posts: 16
Joined: 14 Mar 2011, 10:28

04 May 2011, 16:58

Hi,

we are using 3.0.M1 and experiencing some trouble with p:CommandButtons inside an p:dataGrid. It looks like action and actionListener is never called in the Managed Bean. Even if we change p:commandButton to h:commandButton the actionListener is not triggered. Works fine while not enclosed in dataGrid.

Any ideas?

- Björn
PrimeFaces 3.2 | Mojarra 2.1.7 | Tomcat 7.0.26

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

04 May 2011, 17:08

See user's guide #119.

User avatar
nytal
Posts: 16
Joined: 14 Mar 2011, 10:28

05 May 2011, 10:36

Thanks! Placing the contents in a p:column did help. I totally overlooked that one in the user's guide.

May the Force be with you
Björn
PrimeFaces 3.2 | Mojarra 2.1.7 | Tomcat 7.0.26

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 33 guests