This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am having problems when I make multiple PPR requests through AJAX at the time of onload of a page. This is what I am doing.
I have two panel boxes which have partial triggers from two different command links. So Panel box 1 has a partial trigger to command link L1 and Panel Box 2 has a partial trigger to command link L2. On onload of the page body I click on command link L1 and L2 which internally calls two methods on a backing bean.
The problem I am facing is, when the backing method completes executing, it updates/refreshes only one panel. And this behaviour is very inconsistent. Sometimes panel box 1 gets updated/refreshed while sometimes panel box2 gets updated/refreshed. But never does both the panel boxes get updated/refreshed. I dont know if it is a bug in JSF or Browser . Can any one help me and tell what I am doing wrong here. I am giving my JSF code for reference below: