This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
load only the portlet and maximized it? OR
load all the portlets on the page and then maximized the required portlet?
I hit the problem:
i have 1 page which contain portlet A, B ,C. when i do perform an action, and the action will set the windowState to maximized for portlet B. When it is doing the rendering for the portlet B, it actually loads the data for portlet A and C, then it will load the data for portletB, and then maximized portlet B.
How can i prevent portlet A and C data to be loaded when portlet B is being maximized?
The behaviour is according to jsr-168 spec which says -
If the client request is triggered by an action URL, the portal/portlet-container must first
trigger the action request by invoking the processAction method of the targeted
portlet.ix The portal/portlet-container must wait until the action request finishes. Then, the
portal/portlet-container must trigger the render request by invoking the render method
20 for all the portlets in the portal page with the possible exception of portlets for which
their content is being cached.x The render requests may be executed sequentially or in
parallel without any guaranteed order
Which suggest you can possibly try enable caching for portlet A and C.