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: