jQuery in Action, 3rd edition
The moose likes Portals and Portlets and the fly likes question on portlet maximized Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "question on portlet maximized" Watch "question on portlet maximized" New topic

question on portlet maximized

evelyn ong

Joined: Aug 03, 2010
Posts: 13
when portlet window state is maximized, does it

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?

shivendra tripathi
Ranch Hand

Joined: Aug 26, 2008
Posts: 263
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.

SCJP 1.5(97%) My Blog
I agree. Here's the link: http://aspose.com/file-tools
subject: question on portlet maximized
It's not a secret anymore!