We are developing web application using JSF. We are using rich faces on Jboss server. We have a4j command buttons , command links and a4j js functions to invoke server actions.
We have set limit render to true, render only required components. And I also set execute to “@this” . We are observing a strange behavior , All the actions associated with the form are also executed along with the button clicked, even though we have not specified the execute value to “@this”. This is bringing down the performance drastically.
Is this the way JSF process POST requests or is there something else we are missing?
What you’re currently describing in the question is definitely not the default behaviour of JSF nor RichFaces.
Your concrete problem is caused elsewhere. As per the comments, you seem to have created a
PhaseListenerfor logging purposes which is re-executing the entire view for some reason. You’d need to turn off thisPhaseListeneror to fix its implementation.