How Do I: Enable the forkPreRender Attribute

With SP5 you now have the ability to thread the “preRender” lifecycle as well as or instead of the “render” lifecycle. If your portlets communicate with external systems during this lifecycle you might want to implement pre-render forking. Note that if you are using page flows, the initial begin actions and refresh actions run during the preRender phase.

The attribute forkPreRender enables forking (that is, multithreading) in the preRender lifecycle phase. Setting forkPreRender to true indicates that the portlet’s preRender phase should be forked. As with render phase forking, preRender phase forking is only possible if the portlet’s forkable attribute is set to true.

preRender forking is supported by these portlet types: