This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "question on portlet maximized" Watch "question on portlet maximized" New topic
Author

question on portlet maximized

evelyn ong
Greenhorn

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
 
Similar Threads
Keep the maximized/minimized state of portlet
WebSphere Portal 348 - prime questions/answers
Portlet form data persistence
Set the window state to maximed by default
Jahia - Multiple portlets on a single page - MESS