Trigger Web Flow event with PrimeFaces command button

UI Components for JSF
Post Reply
CannyDuck
Posts: 36
Joined: 27 Apr 2010, 17:26

29 Apr 2010, 21:42

How can a trigger a Web Flow transition event with a PrimeFaces command button?
Is this possible? Otherwise I could not use the command button to replace only a few components on the page.

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

29 Apr 2010, 23:18

Can you post your code?

CannyDuck
Posts: 36
Joined: 27 Apr 2010, 17:26

30 Apr 2010, 07:58

The problem is solved. I simply miss to define the update tag. :-)

This works quite expected. The action is used as Web Flow event.

Code: Select all

<p:commandButton id="create" action="createTransaction" value="Create" update="dataTable"/>
Please remember to fix the Web Flow bug: http://primefaces.prime.com.tr/forum/vi ... f=3&t=2204 :-)

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 70 guests