onsuccess « PrimeFaces « JSF Q&A





1. Primefaces onclick and onsuccess differences    stackoverflow.com

I have the following situation: after clicking a button, some business logic is done and after it is done, a new tab with a report should be visible.

<p:commandButton value="this button" update="growlMain"
  ...

2. p:commandLink with onsuccess gives JS error    forum.primefaces.org

...

3. How to use the "onsuccess" method of command ?    forum.primefaces.org

Hi, you can use the 'onsuccess' to trigger anything you want. The value of 'onsuccess' property must be the name of a JavaScript function. For example, suppose that you want to ...